CSS and Netscape

by "Lisa Bradshaw" <zibbler(at)mediaone.net>

 Date:  Wed, 19 Sep 2001 08:36:19 -0400
 To:  "Dave Hall" <dhall(at)wavegate.com>,
<hwg-techniques(at)hwg.org>
 References:  alg2 cincy opalintel home
  todo: View Thread, Original
Hey everyone,

I'm designing a web page using a lot of CSS for formatting. IE does exactly
as I want it to, but Netscape does not. I'm making buttons using CSS box
atributes. Netscape seems to ignore the width attribute. Does any one know
of a work around? Here's the style I'm using:

a.button {background-color: lightslategray;
   border: outset;
   border-width: 4px;
   border-color: gray;
   text-decoration: none;
   color: #000;
   font-size: 12px;
   font-weight: bold;
   width: 100px;
   text-align: center;}

The class is applied as follows:     <a class="button"
href="tut_home">Home</a>

Notice the width of 100px.  IE displays it as it should, but Netscape only
makes the box as wide as the text is. It ignores the width. Any ideas?

TIA,
Lisa

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA