This is a discussion on "Link list problem in IE" within the Web Page Design section. This forum, and the thread "Link list problem in IE are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Link list problem in IE
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Hi,
I'm tearing my hair out at the moment trying to fix a cross-browser issue. The page in question is: http://www.clickedon.net/winetaste It displays as intended in Firefox, but the navigation bar is broken in IE. I've tried applying padding to #navlist ul, but the navigation bar tends to display too much padding, regardless of how little I declare. I suspect it's down to IE's poor box model handling, but does anyone have any idea how it could be solved (preferably hack-free)?# TIA. |
|
|
|
|||
|
Re: Link list problem in IE
An IE screenshot can be found at http://www.clickedon.net/winetaste/ie.jpg
There's an unwanted gap between the header image and nav, and the nav DIV doesn't seem to stretch to the height of the LIs. |
|
|||
|
Re: Link list problem in IE
For starters get rid of this prolog:
In IE's case, it switches it into quirks mode. Try that first and then come back to us. |
|
|||
|
Re: Link list problem in IE
Hi Geoff,
I've removed the line - any other ideas as to the cause? |
|
|||
|
Re: Link list problem in IE
Your styles, clear: left and clear: right on the first and last li serve no purpose, they can go.
Take the display: block out of the navcontainer definition as div's are by default bloack elements and put it in your a: definition as this wil make them active for the full width of the li containing them. Give the navcontainer a position: relative. No need for aany actual positional info. Your just defining an anchor so to to speak for the li's it contains. Float your li's left with suitable left margin on the first one to position the start of the links. Give your navcontainer a suitable height. Then lets see where we are. |
![]() |
| Tags |
| link, list, problem |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| First image problem and inline list problem | konnor5092 | Web Page Design | 8 | Dec 1st, 2007 09:08 |
| unordered list problem in FF | alexgeek | Web Page Design | 4 | Sep 10th, 2007 15:26 |
| problem with floating list | jwlnewsome | Web Page Design | 13 | Jul 11th, 2006 13:54 |
| CSS Unordered List Problem | relph2 | Web Page Design | 3 | Jan 7th, 2006 18:14 |
| weirdest problem with a definition list | resplence | Web Page Design | 3 | Dec 8th, 2005 22:05 |