Closed Thread Icon

Preserved Topic: LAYERS, NN6, NN4, IE Pages that link to <a href="https://ozoneasylum.com/backlink?for=18447" title="Pages that link to Preserved Topic: LAYERS, NN6, NN4, IE" rel="nofollow" >Preserved Topic: LAYERS, NN6, NN4, IE\

 
Author Thread
Maskkkk
Paranoid (IV) Inmate

From: Willaimsport, PA, US of A the hole in the Ozone
Insane since: Mar 2002

posted posted 07-29-2002 17:18

I'm trying to make a site using css and between the margin, padding, border-color, border-style, and border-width tags I can't seem to get them to look the same on all 3 Browsers (NN6, NN4, and IE) So what do I do?

(Yes I am currently trying to write 3 diffrent types of pages for each browser (maybe I'm doing too much work, yes?))

Maskkkk




- Face the Present

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 07-29-2002 18:33

Umm sometimes trying to make something look the same on all 3 is virtually impossible and you are better off just making it look ok on all 3.

I ran into this issue before on all 3 platforms and really had to do some hacking to get it to work, I can't remember the details but basically NN4 and the other browsers render the padding, width, and border elements differently (and in different orders of precedence I believe) got some sample code?

I think when I did this I just had my borders degrade so that they just didn't show in NN4, it wasn't perfect but allowed me to add borders without embedding tables for a very large site.

Depending on what you want to do the table cellspacing method is actually the easiest way perhaps to make this work cross platform, though not as elegant as doing it with css.




.:[ Never resist a perfect moment ]:.

[This message has been edited by bitdamaged (edited 07-29-2002).]

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 07-29-2002 19:25

NN4's implementation of such box model properties is pretty bad, and not entirely worth worrying about.

However, you should be able to get it looking the same in Moz and IE. Tantek's Box Model Hack explains the workaround for IE 5's incorrect behavior. Note that a correct <!DOCTYPE> tag may be required for some browsers to work properly.

[This message has been edited by Slime (edited 07-29-2002).]

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 07-29-2002 21:01

or just use macromedias flash.

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 07-29-2002 21:05

*kills grumble*

kuckus
Bipolar (III) Inmate

From: Berlin (almost)
Insane since: Dec 2001

posted posted 07-29-2002 21:13

Is he really dead now?

lacapaca
Nervous Wreck (II) Inmate

From: home sweet home
Insane since: Jun 2002

posted posted 07-29-2002 22:50

well, just in case... *brainwashes GRUMBLE so he forgets all about flash*

« BackwardsOnwards »

Show Forum Drop Down Menu