Helpful Information
 
 
Category: CSS Help
CSS - Border properties

So I'm sitting here looking at both O'Reilly books (HTML and DHTML) telling me that the CSS border properties (such as border, border-width, border-color, etc.) are supported in NN4. Yet they don't! background-color works fine for tables, and so does every other property I've tried; but not these border properties.

So riddle me this: Is it just me, or have others found the same thing?

table {
  border-width: 3px;
}

No border. Nada.

-- riddler

I have found that Netscape is very fussy with style sheets - I even have pages that do not display properly with a .class font set to 10px - 9 or 11 yes but not 10 !!! Netscapes interpretation of CSS is unpredictable at best - sorry that that that was not of any constructive help - but it felt good saying it!
Simon

<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by riddler:
So I'm sitting here looking at both O'Reilly books (HTML and DHTML) telling me that the CSS border properties (such as border, border-width, border-color, etc.) are supported in NN4. Yet they don't! background-color works fine for tables, and so does every other property I've tried; but not these border properties.

So riddle me this: Is it just me, or have others found the same thing?

table {
  border-width: 3px;
}

No border. Nada.

-- riddler[/quote]

Hi riddler,

Isn't it frustrating, I had it too! The trick is that NN4 won't display any CSS borders when the BORDER attribute of the table is set to 0: <TABLE BORDER=0>. IE still allows a border to be set by CSS that way.
So with NN you have to take it one way or the other!

Peter










privacy (GDPR)