Forum Moderators: open

Message Too Old, No Replies

Mixing percentage and pixel widths

         

Tonearm

1:18 am on Apr 18, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



On a 3-column table, I'm using a percentage width on the 1st td, a pixel width on the 2nd td, and no width declaration on the 3rd td. Does anyone know if this will cause a problem in any browsers? It looks good in FF3.

tedster

5:59 pm on Apr 18, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's certainly valid - are you seeing a problem? Browsers get a lot of latitude in the W3C spec as to how they layout tables. That's necessaary or else web authors could tie them into impossible situations with combinations of valid rules and content that needs to be included within the table cells.

But if you test on different browsers (FF and IE might be enough) and see no problem - then no worries.

Tonearm

3:32 pm on Apr 19, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sounds good, I see no problems. Thanks tedster.