Previous Message
Next Message

Re: [css-d] Fixed height in NS4?

Sent by nicholas francisco on 26 January 2002 01:01

Well that's bizarre, I tried the clipping paths but had luck, maybe I
mistyped something when I tried it.

Thanks :)

.: nicholas

> There's a few extra things you need for NS4:
> 1) declare positioning
> 2) use a clip that matches the dimensions of the DIV
> 3) Use layer-background-color in addition to background-color
> Plus, it's better to use absolute positioning with a defined top:
> property when trying to do layouts in NS4, which was a horrible time
> trying to stack elements correctly.  I used the following css to get
> your layout to match IE:
> #one { position:absolute; width: 170px; height: 2px; top: 0px font-size:
> 1px; background-color: #9AC62F; layer-background-color: #9AC62F;
> clip:rect(0px 170px 2px 0px);}
> #two { position:absolute; width: 170px; height: 120px; top: 2px;
> font-size: 1px; layer-background-color: #7AA417; background-color:
> #7AA417; clip:rect(0px 170px 120px 0px);}
> #three { position:absolute; width: 170px; height: 2px; top: 122px;
> font-size: 1px; layer-background-color: #63870E;
> background-color:#63870E; clip:rect(0px 170px 2px 0px);}
> scottandrew
Previous Message
Next Message

Message thread:

Possibly related: