Site Messing up in Firefox, Need help

Discussion in 'HTML & Website Design' started by jakehard, Aug 6, 2008.

  1. #1
    jakehard, Aug 6, 2008 IP
  2. sucka

    sucka Well-Known Member

    Messages:
    298
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #2
    Hy,
    at first, not firefox is messing up ur site but IE is :p

    Try to code valid (w3; just put ur url on http://validator.w3.org/ and fix the mistakes) and optimize it for firefox first (margins, paddings etc.). After that, try to use IE hacks. That means only IE interprets the CSS part.

    IE hacks look something like this:

    Firefox :

    #bla {
    margin-left:5px
    }

    Internet Explorer:

    #bla {
    * margin-left: 5px
    }

    u see, just put a * infront of it

    Hope I helped u a little, evenif this might not be the best solution.

    Good luck
     
    sucka, Aug 6, 2008 IP
  3. pokey

    pokey Active Member

    Messages:
    317
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Yeah it's generally IE that mucks up your website, not Firefox as sucka kindly mentioned. This is the issue because IE is far from the compliant standards of CSS/HTML etc.

    When creating/modifying a website, always check to see if it's compliant with w3's validator.

    Good luck :)
     
    pokey, Aug 6, 2008 IP