Padding or Margin ????????

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jelly46
    New Member
    • Jan 2007
    • 14

    Padding or Margin ????????

    I am building a website for my client, there is a seperate style sheet for IE 6 and 7

    here is the link: http://www.webtwo-0.com/stella/index.html
    In IE 6 there is a problem with the wrapper extending to the right, i cant think of anything else i have tried for so long now, i dont know if its padding or margin errors!

    Please help

    Thanks
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    Haven't looked closely yet but your conditional comments may not be what you want. In one you have, lte IE6 and the very next one is lte IE7. If the first one is what you want for IE6, it will be overridden by the styles set in the second one because the 'lte' means it will apply to everything "less than or equal to" IE7 which would include IE6.

    Comment

    • jelly46
      New Member
      • Jan 2007
      • 14

      #3
      Originally posted by drhowarddrfine
      Haven't looked closely yet but your conditional comments may not be what you want. In one you have, lte IE6 and the very next one is lte IE7. If the first one is what you want for IE6, it will be overridden by the styles set in the second one because the 'lte' means it will apply to everything "less than or equal to" IE7 which would include IE6.
      So how do i put a conditional comment to cover both?

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        Like I said, 'lte IE7' means it covers all browser equal to or less than version 7. If you want separate css statements for each browser, then change it to
        [if IE6] and for the other [if IE7]

        Comment

        Working...