Category: web development

  • <div> dividers…

    <div> dividers…

    While migrating a site over to XHTML and CSS I discovered a bug in Internet Explorer 6. I was surprised that I hadn’t seen this one documented before, so I thought I’d write something up. Instead of using horizontal rules <hr> I like to create divs with a background color and a small height instead, browser support for styling <hr> is spotty at best, and using a div you can add additional properties to control the width and height, or add a background image.
    (more…)