Zeldman’s DWWS Mini-site Bug
If you check out Zeldman’s Mini-site for Designing With Web Standards with IE 5/Mac, you will notice a few differences when compared to the same site viewed in just about any other current browser: the secondary navigation (an unordered list displayed inline) aligns the text to the left, and each button’s clickable area is restricted to the link text, not the entire visible area of the button.
I figured I could fix this, without requiring a new version of IE 5/Mac, and so I tinkered a little: Zeldman: DWWS BookSubNav Bug Fix.
The fix above reduces the navigation to just the UL and its parent DIV, and in my testing it works in all browsers except Opera 6 (which breaks when viewing Zeldman’s original layout anyway).
What did I do to fix the issues? I simply added a <span> to the button text, like so: <span>Home</span>
That’s it! Now the buttons display properly on all browsers, since this addition does not alter the way the other browsers render the CSS.
I’ve sent the changes off to Zeldman, so hopefully this post will soon be rendered obsolete.
This item was posted byon Tuesday, June 10th, 2003.
You can follow comments on this item via the RSS 2.0 feed.
Comments are closed.