h2 too big in IE how to fix

Discussion in 'CSS' started by ehsen, Jul 12, 2008.

  1. #1
    My template has a heading in "h2". Its ok in firefox and safari but in IE the h2 heading is too big which ultimately breaks the theme. Would you please guide me how to fix it.
     
    ehsen, Jul 12, 2008 IP
  2. Xabber

    Xabber Active Member

    Messages:
    437
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #2
    h2 {
    font-size: **px;
    }

    That would be the same in all browsers, correct me if I'm wrong.
     
    Xabber, Jul 13, 2008 IP
    Blogspotter likes this.
  3. Sensei.Design

    Sensei.Design Prominent Member

    Messages:
    3,847
    Likes Received:
    162
    Best Answers:
    0
    Trophy Points:
    310
    Digital Goods:
    1
    #3
    if this isn't working create a extra stylesheet for the ie and change the size of the font ;)
     
    Sensei.Design, Jul 13, 2008 IP
  4. Blogspotter

    Blogspotter Notable Member

    Messages:
    2,327
    Likes Received:
    285
    Best Answers:
    0
    Trophy Points:
    205
    #4
    You are right.. This is a good method, that I would have used..
     
    Blogspotter, Jul 13, 2008 IP
  5. glorie

    glorie Peon

    Messages:
    123
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Xabber is correct. You must have just forgotten to declare a specific font size for h2 that's why it's showing differently in IE
     
    glorie, Jul 13, 2008 IP