Hi,
Im using the DIV element to create a scrollable region in my site, I have specified a fixed width of 430px, this eppears ok IE, however in Mozilla Firefox it appears to take more physical width, which is interfering with the reso of the site design.
I was wondering if there was any way to unify the width or spacing between the two browsers?
Many thanks
Musaffar
DIV width differences in different browsers
Moderator: General Moderators
The following url best illustrates the problem, when viewed in the two differerent browsers the layer width has large difference in width :
http://www.lensbase.com/search.php?xSea ... mit=Search
http://www.lensbase.com/search.php?xSea ... mit=Search
- andre_c
- Forum Contributor
- Posts: 412
- Joined: Sun Feb 29, 2004 6:49 pm
- Location: Salt Lake City, Utah
i would recommend adding a doctype declaration, which will make ie and gecko browsers behave more alike.
i know ie and gecko browser display widths (because of padding) differently.
You might try setting padding to 0px and adding some margin and wrapping it on another div to avoid the padding problem
i know ie and gecko browser display widths (because of padding) differently.
You might try setting padding to 0px and adding some margin and wrapping it on another div to avoid the padding problem