Del Wegener wrote:
>>> http://www.college-algebra.com/essays/toc_essays.html In FF the
>>> background images on the gray menu items appear exactly where I
>>> want them between the left border and the text. In IE7 they are
>>> almost completely hidden "under" the left border. How do I
>>> correct this?
> Is my observation about the two methods of computing correct?
No. :-)
1: delete the IE-only styles - it's the wrong approach.
2: add a 'hasLayout'[1] trigger to the anchor, as IE7 and older don't
recognize 'display: block' on its own, and _that_ is causing the problem.
Adding...
.navlist li a {height: 1%;}
...will do the trick.
If you want to fine-tune the line-up a little further across
browser-land, you can add...
.navlist li {margin-bottom: -1px; position: relative;}
...which will cover up for IE7' calculation errors and IE6' unstable border.
regards
Georg
[1]http://www.satzansatz.de/cssd/onhavinglayout.html
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/