FW: div bug in ie4 on mac?

by "David Wagner" <dwagner(at)kevric.com>

 Date:  Mon, 27 Mar 2000 17:04:22 -0600
 To:  <hwg-style(at)mail.hwg.org>
  todo: View Thread, Original
Mike Cunningham wrote

> While attempting to answer my previous question about a bug I
> saw in ie5 on
> the pc, another member of this list pointed out a problem with my page
> which appears to be a bug in ie4 on the mac. In using div tags, I was
> expecting the browser to create breaks before and after the
> div. In fact,
> Frank Boumphrey in his Professional Style Sheets book writes
> [about block
> boxes of which div is one]: "Essentially they have a
> line-break before and
> after them." However, ie4 on the mac does not appear to
> follow this logic.
> Is this a well known bug if it is in fact a bug? (it looks
> like one to me)

Sounds like a bug.  Perhaps forcing
   DIV.title {display:block;}
will fix it.  However, I humbly submit DIV.title appears to be an H3 level,
which will display as a heading level on even non-css browsers.  By changing
your DIV.title elements to H3 elements, along with the associated selectors
in your stylesheet (you may need to adjust the H3 font-size and margin a
touch), you maintain the logical structure of your page, the presentation
you prefer, and cross- and backward-compatibility.
-David

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.