Re: H1 tags in NN 4
by Michael Jon Muehlendorf <haoka(at)wi.tds.net>
|
Date: |
Tue, 12 Mar 2002 13:39:13 -0600 |
To: |
"Lisa Bradshaw" <zibbler(at)web-design-cs.com>, <thewolves(at)bigfoot.com> |
Cc: |
"HWG Techniques Email List" <hwg-techniques(at)hwg.org> |
References: |
pieceoshit gte |
|
todo: View
Thread,
Original
|
|
Hello Lisa!
At 12:59 PM 3/12/02 -0500, Lisa Bradshaw wrote:
>works fine in IE6 and surprisingly NN 4.7, but NN6.2 displays it off center
>to the right.
>Here's the style I have for the body and <div>:
>
...I'm not certain, but this may be the culprit...I believe the syntax you
want when describing a class would NOT include the "div" prefix before the
".box1". In other words, change this to:
.box1 { etc. etc.
}
>div.box1 {
> background-color: #ab19ad;
> /* background-position: center; */
> color: #000;
> border-style: outset;
> border-color: #cc33cc;
> padding: 20px;
> width: 600px;
> font-family: arial;
> font-size: 16px;
> border-width: 8px;
> font-weight: bold;
> margin-left: 70px;
> margin-right: 70px;
> }
>
>Here's the URL if you want to take a look at it:
>http://www.web-design-cs.com/temps/index.html
>
>Thanks again,
>Lisa
>***********************************
>Lisa Bradshaw , Web Designer
>
>Crescendo Web Design - http://www.web-design-cs.com
>***********************************
>>
>>
>> I'll bet you've set a font-size for body in your style sheets, such as:
>>
>> body { font-size: 12px; }
>>
>> NN4 incorrectly applies such a size to the h# tags. There are two
>> possible fixes:
>>
>> 1. Don't specify size for body - use something like:
>>
>> p,td,tr,li,ol,ul { font-size: 12px; }
>>
>> (list all of the items you want the size to apply to).
>>
>>
>> 2. Specify sizes for the headings:
>>
>> body { font-size: 12px; }
>> h1 { font-size: 16px; }
>> h2 { font-size: 14px; }
>>
>> Larry Coats
>>
>>
>>
>
>
Michael Jon Muehlendorf
Scenic Bluffs Webcrafters
http://www.scenic-bluffs.com/
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA