WP makes table cellspacing by default, how can this be disabled?
-
WP makes table cellspacing by default, how can this be disabled?
I think that this is some kind of auto formating done by WP I have tried disabeling wpauto but that doesen’t seem to solve the problem.
Even if I set the table width to smaller than the image it still keeps space around it.
(I am not an expert at scripting)
Code:
<table style="width: 100px; height: 100px;" border="0" cellspacing="0" cellpadding="0" align="center"> <tbody> <tr> <td><img class="alignleft size-medium wp-image-694" title="image" src="image1-300x238.jpg" alt="" width="300" height="238" /></a></td> </tr> </tbody> </table>
It’s the same when I paste an equally sized image+table from an external editor (MS Expression)
WP creates space around the content within the table cell. Draging the table cell doesen’t work either.
Editor: Tinymce Ultimate, also tried mce Advance and the standard wp editor.
WordPress 3.4.2
I hope you can help me thanks in advance,
VMP
- The topic ‘WP makes table cellspacing by default, how can this be disabled?’ is closed to new replies.