View Full Version : Minor table issue NS to IE
ghornet
05-18-2003, 04:24 AM
My issue is when creating a table is that when using IE I need to create a table that is 5px wide to fit just right, but in NS the table needs to be 7px to look right. What is the easiest way to do this, I can sniff for the browser to determine which one it is, but it is the easiest way to switch how many pixels wide the table is with a document.write? Or is there another way. Basically what is the easiest way to fix minor table differences between the two browsers.
www.fogletwd.com/Shannon/Contact.htm
if you want to see the minor differences
Thanks
Damian
zoobie
05-18-2003, 05:29 PM
There's not much to go on here...but have you considered a transparent image to help with display layout?
You might try adding this to the style:
table{table-layout:fixed}
I think this makes IE put the border on the inside of the box...
realisis
05-22-2003, 02:10 PM
if you're not concerned with it validating, you can use the SPACER tag - NS will implement it, IE will ignore:
<spacer type=block width=7>
fyi, you can also specify the height of the spacer as well, though this does not seem relevant to your example.
ronaldb66
05-22-2003, 02:23 PM
Have you considered not using tables for layout? :D *polishes his CSS crusader battle axe*
MotherNatrsSon
05-22-2003, 02:26 PM
Here is what it looks like in IE 5.1.6 on a MAC.....for MAC OS 8.6 to 9x......
edit
The rest of it gets rendered at the bottom of the page where you can't see it at all until you scroll down. I can give you screen shots of Mozilla, NS 7, and NS4x for MAC if you want.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.