Coding help!

Discussion in 'HTML & Website Design' started by amandabee, Mar 3, 2009.

  1. #1
    Hello, im having some problems with my coding on my website.
    My site is fine in firefox but completly screwed up in internet explorer like the css or something isnt showing. Im sure its something simple like a break in a code.

    My website is:
    WWW.OHLUSH.COM

    And if you could look in firefox then in internet explorer.
    I will pay the person 2.50$ that can tell me whats wrong with it.

    ;)
     
    amandabee, Mar 3, 2009 IP
  2. Astroman

    Astroman Well-Known Member

    Messages:
    2,355
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    135
    #2
    You have a few lines in you css with no closing semi colon ;

    Like this one
    background-image:url(''
    Code (markup):
    at the end of .sidetop1

    That line at the end doesn't always have to have a semi colon, but it avoids mistakes in the future if you put one there, but it's not complete anyway so you may as well remove it and all the others like it where background image is empty.

    P.S. Chances are if you fix these 47 errors it will look nicer: http://jigsaw.w3.org/css-validator/...rofile=css21&usermedium=all&warning=1&lang=en
     
    Astroman, Mar 3, 2009 IP
  3. scottlpool2003

    scottlpool2003 Well-Known Member

    Messages:
    1,708
    Likes Received:
    49
    Best Answers:
    9
    Trophy Points:
    150
    #3
    If you are still struggling or users have stumbled upon this, think about using an if statement to detect the browser.

    It works like this;

    if the user is using IE then show the IE stylesheet
    else if the user is using FF then show the FF stylesheet

    I can create the if statements easily if needed.

    Good luck!
     
    scottlpool2003, Mar 8, 2009 IP