Forum Moderators: open

Message Too Old, No Replies

<h2> Tag Size Problems

My H2 tag looks strange in IE

         

sinclasc

4:06 pm on Nov 9, 2005 (gmt 0)

10+ Year Member



In Firefox, the H2 tag is fine, and looks ok when rendered. When the page is viewed in IE, the H2 text is huge; bigger then the H1 text.

Any ideas?

encyclo

8:58 pm on Nov 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to the forums sinclasc!

Are you adding any style via CSS to either the

h1
or
h2
tags? Dependent on your needs, your CSS file should contain rules for both tags. For example your CSS file could look something like:

h1 {
font:20px Verdana, Arial, sans-serif;
text-align:center;
}

h2 {
font:20px Arial, Verdana, sans-serif;
text-align:left;
color:#c00;
background:transparent;
}

Fix the CSS rules for each of your tags and the result will be displayed on every page where the stylesheet is linked.

sinclasc

5:12 pm on Nov 17, 2005 (gmt 0)

10+ Year Member



Thanks...I formatted my H1, H2 etc via css, and problem fixed.
Thanks again.