web hosting and development forums
Web Design and Development Forums Archive


Index - HTML forum

table percentage firefox vs IE


Post reply

Anyone know why firefox would want to base a tbl percentage from the div it is in and IE would want to base it on the whole page
Kopilman: it is because IE doesn't render it correctly, if you are using a percentage for a block level item like a table, it should follow the size of the container it is stored in
The container size it relative
If you want to use css to create the layout, there are a couple workarounds to make it work in both firefox and ie
I've used css to layout the site Just need to format some stuff in a table
So you're saying the div width is relative?
Yes It looks fine in IE It looks squished in FF But when i expand the %...it looks too big in IE...and fine in FF
I see, do you have anything in the table already? try putting in some  's in the table cells
Yeah The table is full of stuff Thats why it doesn't look right
Try putting a margin on the table using css for margin: 0 auto; Kopilman: did that work for you?
No




Dubai Forum | Paris Forum | Webmaster Forum | Vegan Forum | Brisbane Forum | 3D Forum | Jobs in Dubai | Jobs in London | London UK Classifieds
Archive script by RedHo.com