[thelist] DIV positioning with CSS and NS4 bug

Jonas Bohlin jonas at halogen.com
Thu Feb 21 04:01:00 CST 2002


"- try to avoid using inline styles with NN4, keep them all in the head
or in a separate file"

Actually, Inline styles work fine until you nest layers! then you need to
assign stuff like this:

.fooStyle { position: absolute; ... }
.barStyle { position: absolute; ... }

<DIV ID="foo" CLASS="fooStyle">
	<DIV ID="bar" CLASS="barStyle"></DIV>
</DIV>


-----Original Message-----
From: Craig Saila [mailto:crsaila at yahoo.ca]
Sent: Wednesday, February 20, 2002 5:59 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] DIV positioning with CSS and NS4 bug


Mark Howells wrote:
>>Anyone know offhand if NS4.x is a lost cause with DIV/CSS
[...]
> Absolutely not. I wrote about this subject on this list last week and
> subsequently transferred the article into my own site at
> <http://www.mark.ac/web/cssnn4.php>. The following example sites have been

Mark beat me to the punch because I was looking for that article's link
(and Mozilla crashed). A couple addition's to Mark's article would be:
  - try to avoid using inline styles with NN4, keep them all in the head
or in a separate file
  - you may find appyling "border: none" to layers that aren't behaving
properly will help

Another Mark (Newhouse) has a NN4-friendly template that includes a
footer (also from the CSS Discuss List):
<http://homepage.mac.com/iblog/nn4_3col_header.html>

--
Cheers,

Craig Saila
------------------------------------------
craig at saila.com  :  http://www.saila.com/
------------------------------------------


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !



More information about the thelist mailing list