![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
The following menu/navigation code won't hold up in IE6, but will in IE7 + FF : [...] Proposed solution (4 edits) : #menu li { display: inline; float: left; white-space: nowrap; text-align: center; width: auto; <------ _width: 10px; <------ } #menu li a { height: 20px; padding: 4px 15px; display: block; border-right: 1px solid #fff; color: #E3EDF0; width: auto; <------ } #menu li a:hover { background-color: #d96d21; color: #fff; width: auto; <------ } This will wrap the li's tightly around the content (button text), and let said content dictate the length of the li. This is necessary for IE6 only. Is this the appropriate fix for this problem? |
![]() |
| Thread Tools | |
| Display Modes | |
| |