[thelist] Netscape 4.x

Kevin W null at tsn.cc
Sun Dec 15 23:13:01 CST 2002


On Monday, Sam Carter wrote:
> Is there a trick for NS 4.X to enable CSS to position DIVs right up
> against each other?

You could try:
div {
	margin-top: 0;
/*/*/
	margin-top: -1em;
/* */
}


I used the Ciao hack [1] to hide the second rule from NN4, but you can also
use the @import hack [2] or any other NN4 hack to do the same thing.

[1] http://and.doxdesk.com/personal/posts/css/20020424-bmh.html (seems to
be down)
[2] http://css-discuss.incutio.com/?page=ImportHack

--
Kevin W :-)



More information about the thelist mailing list