By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,876 Members | 1,452 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,876 IT Pros & Developers. It's quick & easy.

Horizontal List

P: n/a
Having a bit of trouble.

http://users.rcn.com/neal413/horizlisttest.html

Because of design restraints, I need to follow a 100% wide header section
with a div. The background color of the nav-containing content element
needs to be different, but I'd like the nav to butt up against the header
and look seamless.

In the test example given, the addition of line-height: 2; causes a gap in
IE. Eliminating it means the "buttons" overlap in all browsers if they
wrap.

Ideas? Goal is to not have a gap in IE and allow "buttons" to wrap without
overlap. I might just be overlooking something stupid.
Jul 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Neal wrote;
Having a bit of trouble.

http://users.rcn.com/neal413/horizlisttest.html I'd like the nav to butt up against the header
and look seamless. In the test example given, a gap in IE. Ideas? Goal is to not have a gap in IE and allow "buttons" to wrap without
overlap. I might just be overlooking something stupid.


Eliminating position:relative on #localnav eliminates the cap.

Tested using IE6 for Win

KISS.
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Jul 21 '05 #2

P: n/a
On Sat, 23 Oct 2004 01:22:29 +0300, Lauri Raittila
<la***@raittila.cjb.net> wrote:
Neal wrote;
Having a bit of trouble.

http://users.rcn.com/neal413/horizlisttest.html

I'd like the nav to butt up against the header
and look seamless. In the test example given, a gap in IE.

Ideas? Goal is to not have a gap in IE and allow "buttons" to wrap
without
overlap. I might just be overlooking something stupid.


Eliminating position:relative on #localnav eliminates the cap.

Tested using IE6 for Win

KISS.


Actually, removing that screws other layout things up in the full version.
I added some top padding onto the ul, that seems to have fixed it.
Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.