Why is my spacing Different in Firefox Vs. IE

Discussion in 'HTML & Website Design' started by Cbrackett, Aug 13, 2008.

  1. #1
    Cbrackett, Aug 13, 2008 IP
  2. bullet.eater

    bullet.eater Banned

    Messages:
    291
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    firefox never messes up, IE does it wrong. IE doesn't abide by the rules of HTML. Firstly validate you CSS and HTML.

    If you want me to fix the problem I am more than happy.
     
    bullet.eater, Aug 13, 2008 IP
  3. Cbrackett

    Cbrackett Peon

    Messages:
    93
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    were might I look...I would like to try to do it on my own so I know how to fix it in the future
     
    Cbrackett, Aug 13, 2008 IP
  4. mupha

    mupha Peon

    Messages:
    115
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Chris, try this overview of conditional comments in CSS which allow you to create special styles that only IE will pick up on:
    http://www.quirksmode.org/css/condcom.html and this Google will list a bunch more:

    There are hacking methods using underscores, slashes and other devices that some browsers ignore, but conditional comments is the correct method and will be less likely to create issues in the future.
     
    mupha, Aug 14, 2008 IP
  5. Cbrackett

    Cbrackett Peon

    Messages:
    93
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    OK, I will check that out...Why then does it looking the way I want in dreamweaver but not when I open it in firefox? In dreamweaver all the spacing is perfect.
     
    Cbrackett, Aug 14, 2008 IP
  6. Cbrackett

    Cbrackett Peon

    Messages:
    93
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I cant figure it out...would you still be willing to take a look for me?
     
    Cbrackett, Aug 14, 2008 IP
  7. Cbrackett

    Cbrackett Peon

    Messages:
    93
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I think I may have found the problem area or atleast some form of problem..

    Here is the code in my CSS:

    .chromestyle:after{ /*Add margin between menu and rest of content in Firefox*/
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    }

    It says unsupported property:content

    Not sure what to put there or even what its looking for.:confused::confused:
     
    Cbrackett, Aug 14, 2008 IP
  8. Cbrackett

    Cbrackett Peon

    Messages:
    93
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    no one had any idea?
     
    Cbrackett, Aug 16, 2008 IP