Firefox v ie6

Discussion in 'HTML & Website Design' started by choice, Jul 31, 2007.

  1. #1
    having an issue with my site

    works fine in firefox and ie7 but not on ie6 left column goes way down the bottom in ie6 any ideas also the top bar is out of line

    www.biduplinks.com
     
    choice, Jul 31, 2007 IP
  2. HuggyCT2

    HuggyCT2 Guest

    Messages:
    222
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This is a very common problem within IE6. Now the best method to solve this is to write a small condition within the XHTML itself.

    If you look to the categories title on IE6 you will see the margin has been doubled this is due to a IE6 bug. You can solve this by writing a conditionwhere if the browser is IE6 do this.

    This is the class i believe is being used as the wrap

    <div class="sidebar">

    So you need to edit the css in that and half the left margin or padding which ever why you have done it. Rename that class you just changed to sidebar1 or something and leave the original.

    Then within the actual decalration of the class place this in there.

    
    <!--[if IE 6]>
    <div class="sidebar1">
    <![endif]-->
    <![if !IE]>
    <div class="sidebar">
    <![endif]>
    
    Code (markup):
    This is just a quick fix, but it should work I have not tested but shouldnt be any problems.

    Thanks
     
    HuggyCT2, Jul 31, 2007 IP