Borders with Netscape and FireFox

  • Thread starter Thread starter Alec
  • Start date Start date
A

Alec

Hello all

Can you take a look at www.freeweekends.co.uk

It contains a simple 3 row table with complete box borders and borders
for individual sides.

Views well in IE and Opera, but these borders do not appear in Netscape
7.1 or Firefox 1.5.0.2

Any reasons? These are just simple borders created in Frontpage.

Many thanks

Alec
 
Netscape and other mozilla and gecko derivatives handle this a little
differently. To get the styles to work on the cells the style needs to be
spelled out a little more like changing:

<td height="40" style="border-left: 1 solid #FF0000; border-right: 1 solid
#FF0000">
to:

<td height="40" style="border-left-width: 1px; border-left-style: solid;
border-left-color: #FF0000; border-right-width: 1px; border-right-style:
solid; border-right-color: #FF0000">

Each css attribute just needs to be explicitely defined.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
<td height="40" style="border: 1 solid #808080"> needs to have the
width of the border fully specified, as in
<td height="40" style="border: 1px solid #808080">

Similarly for the other border definitions, the width must be fully
specified with the measuring unit.
 
Back
Top