css: netscape 4.51?

liunx

Guest
I use the next class in my css script:<br />
<br />
.randgr{ <br />
border-width: 1px;<br />
border-color: #cccccc;<br />
border-style: solid;<br />
}<br />
<br />
It looks good in IE and in NN6 but it doesn't display the border of 1px in Netscape 4.51!<br />
Here's the code I use in my HTML page:<br />
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="randgr"><br />
<br />
How can I display the border in NN 4 as well?<!--content-->CSS border attributes on table elements are ignored by Netscrap 4.x.<br />
<br />
Possible workarounds require nesting elements in containers of the desired color and then sizing and position to get what looks like a border. This creates all kinds of contraints on other browsers, and limits deisgn flexibility.<br />
<br />
If you are going to support old browsers get used to the fact that they cannot do what modern browsers can do and learn to live with the differences, or waste time an effort reducing your designs to the primitive level that is supported by the relics.<br />
<br />
Cd&<!--content-->ok, thanks for the answer.<!--content-->you have to use border="1" for older browsers. but I agree with Cobol<!--content-->
 
Back
Top