[thelist] <tip> No margins in Netscape

Daniel Fascia danfascia at totalise.co.uk
Sat Mar 30 07:27:00 CST 2002


<tip>

In Netscape and Opera, a 10px space on the far right is reserved for the scrollbar even when it is not required. This is not removed by CSS.

To remove it, create a tiling full height background image that repeats on the x-axis across the screen. It will fill right across, even the space where the scrollbar
normally goes and your nice neat layouts work properly...

Example CSS Code:

	BODY { background: url('back.gif'); background-repeat: x-repeat; }

Too see this in action try http://www.tiffany.com and use HTML version.

</tip>





More information about the thelist mailing list