Re: css and table issues...

message from James Shook on 22 Jul 2004
Netscape mistakenly adds whatever you establish for margins and padding
to its defaults for these properties, rather than substituting your
specified values as is correct.

The solution may lie in @importing your main stylesheet (which NN4 won't
see since it doesn't recognize the @import method) *after* you have
linked to another stylesheet that gives negative values to overcome
NN4's bugs.

Here's sort of how it works:

1) You link to a stylesheet, and all browsers recognize it.

2) This stylesheet sets the margin and padding to negative numbers you
will have to determine via trial and error. At this point all browsers
would use this value, resulting in overlapping page elements in browsers
that implement margin and padding correctly.

3) But! you use the @import method to bring in another stylesheet with
the margins and padding you really want, and which work in all other
browsers. The new values will overwrite the ones you established in the
first stylesheet since they are more recent. NN4 never sees these values
and keeps the negative values.

4) All browsers except NN4 get the margin and padding you want, and NN4
gets jiggered values to overcome its bugs.
 

Archived message: Re: css and table issues... (Macromedia Dreamweaver Web Design)