2
Some frameworks, as the case of Bootstrap make use of CSS-based statements to standardize overall behavior in certain elements.
In this case, the padding
:
td, th {
padding: 0;
}
The problem is that when generating content from an editor WYSIWYG, some definitions are conflicting with the framework where this content will be inserted:
<table border="1" align="left" cellspacing="0" cellpadding="6" style="width:100%">
<!-- ... -->
</table>
Essentially, the attribute of cellpadding
will not produce the desired effect since the framework will sign the same with the statement above.
Question
How to do reset to the declaration of padding
so that in a specific location the attribute cellpadding
can be used by the browser ?
td, th {
padding: auto; /* incorreto pois não existe, mas reflete o que se pretende */
}
Hello Zuul’s, in my opinion the best editors are the ones who use iframe, precisely to avoid this type of conflict
– Guilherme Nascimento