CSS debug help

Out of context: Reply #1

  • Started
  • Last post
  • 2 Responses
  • billyFUN0

    I don't use opera, so I dunno if this is what's causing the problem, but I suspect it is...

    The content of your divs is larger than the width and height values you specify in your style sheet. For instance, the 'logos' div is given a width of 740px with a ten pixel border on either side, this means that the actual area for content in the div is 720px(740-10-10). IE 5pc and IE 5,5pc use this incorrect box model. Mozzilla seems to be emulating this bug since you used a short doctype.

    Anyway, to solve your problem, I'd suggest using a long doctype, the w3c box model, and Tantek Celik's ie5pc box model hack.
    This should solve the problems in ie5mac too.

View thread