Problems with text on my website

Discussion in 'HTML & Website Design' started by mekerica, Jan 16, 2011.

  1. #1
    Hello!

    My brother's website, www.cruiseinside.com, works fine in all browsers except Internet Explorer. Please, take a look if you have Internet Explorer. Font is incredibely big, on all text, not only content. Even links, pools, <h1>s etc.

    I noticed that for Internet Explorer it has a different .css file named "style.ie6.css". I opened it and something weird is there. Wherever I found the "font-size:" atribute it says "1px" so there are lots of font-size atributes but all are like "font-size: 1px;" which is weird to me.

    I opened "style.css" and there are fonts declared normally. I wanted to just copy-paste all fonts from "style.css" to "style.ie6.css" but they seem like stiles from two different sites.

    Please, can you help me?? Or I need to choose another template?? This is an Wordpress templates and there are both stiles:

    http://hotfile.com/dl/97288264/a20eb63/style.rar.html

    Thank you in advance,
    Randy
     
    mekerica, Jan 16, 2011 IP
  2. iamgame

    iamgame Greenhorn

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #2
    mekerica, the problem seemingly lies in the code of the Wordpress theme you are using. On viewing the source code of your brother's website, I found out an unclosed <h1> tag near the beginning, which is causing the rest of the text on the site to appear in "h1" font in Internet Explorer. Most of the non-IE browsers, being bit more "intelligent", ignore this error and display everything as usual.

    To correct the problem, find that unclosed <h1> tag and close it. You'll probably find it in Theme Editor > header.php (Wordpress Admin panel):
    
    <div class="logo">
        <h1 id="name-text" class="logo-name">
    
    Code (markup):
    Blame the author of the theme for this mistake!
     
    iamgame, Jan 17, 2011 IP
  3. mekerica

    mekerica Peon

    Messages:
    211
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Oh, thank you soo much! I'm stupid stupid stupid :mad:

    It's not the theme author's fault, it's MY fault! This theme had an option to display blog's name over the header logo (baner). But I created another logo, with site name integrated in picture and then I removed the code which gets the blog name from database but it seems that I accidentaly deleted </h1> part which was closing this <h1> tag.

    Now the problem is solved. My brother is finally happy :) Because, most of the visits are coming from IE.

    Thank you, once again.
     
    mekerica, Jan 18, 2011 IP
  4. iamgame

    iamgame Greenhorn

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #4
    Nice to know your brother is happy now. :)
     
    iamgame, Jan 18, 2011 IP