[Theme: picolight] Strange problem with HTML tables when added to page in Picolight
I’m adding a new page to my Picolight-themed blog. It’s a simple page containing one table that’s supposed to cover 100% of the available area in the column. The problem is that the table is only using about 50% of the area, even though I declare it otherwise in the HTML. If I start off the page with some dummy text that takes more than a single line everything works correctly and the table is fine. If I remove that text then the table shrinks back to 50%, which is the minimum space required to display the text in the TD fields.
The code looks like this :
<table border="0" cellspacing="4" cellpadding="4" width="100%"> <tr> <td> <b>Just Some Text</b> </td> <td> <b>Some More Text</b> </td> </tr> </table>
If you add “BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah” at the top of the WYSIWYG area the table displays correctly but if you delete that text the table contracts despite the “width=”100%” declaration.
Am I missing something?
Please advise / thanks!
- The topic ‘[Theme: picolight] Strange problem with HTML tables when added to page in Picolight’ is closed to new replies.