Forum Moderators: not2easy

Message Too Old, No Replies

having trouble with my stylesheet

having trouble with my stylesheet

         

amythepoet

8:02 pm on Aug 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Oh boy, I'm having trouble with the headers in my stylesheet

For some reason, h2 appears larger than h1

here is what it says now:

h1 { font-size: 18px; font-family: verdana,arial,helvetica,sans-serif; font-weight:bold; color: #000000 };
h2 { font-size: 12px; font-family: verdana,arial,helvetica,sans-serif; font-weight:normal; color: #000000 };
.left { font-size: 12px; font-family: verdana, arial, helvetica,sans-serif; color: #000000; }

Please help!

choster

8:05 pm on Aug 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Does the HTML validate? Might be an improperly closed tag or similar problem causing a style to "leak."

encyclo

8:10 pm on Aug 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



[b]};[/b]

Is this a typo or is that semi-colon outside of the angle-bracket (if it is, it shouldn't be there)?

Does your CSS file validate [jigsaw.w3.org]?

amythepoet

8:37 pm on Aug 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Oh, I see, that must be the problem,

thanks, Ill fix it

:)