This is a discussion on "A way to change background color of a menu list" within the Web Page Design section. This forum, and the thread "A way to change background color of a menu list are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
A way to change background color of a menu list
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
A way to change background color of a menu list
Hello and thanks for taking the time to even read this.
I am using my own multi-level menu, and I am having trouble getting the background color to show up behind "menu". when I hover over "background". It seems to display the horizontal rule, <hr />, on top even after the menu opens. I've tried setting a width and z-index for the[*] element, but it doesn't work. Does somebody know how to get it to show up? I've made the html and body white for ease of seeing the problem because I want the background of the menu to show up black since my page background is black (I know it is a bad practice, but my friend loves dark colors). XHTML-
|
|
#2
|
||||
|
||||
|
Monie....
I would think long and hard before doing this because of the lack of browser support. Use this code:
It is important not to have any whitespace between li elements.. not even line breaks, so put all the ul and li code on one line. Hope this helps.
__________________
Rob - Webforumz Founder I am currently NOT available for SEO consultancy work My Sites: Student Midwife Forum
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| change, background, color, menu, list |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Change Input Textbox Background Color | tejaxx | JavaScript Forum | 4 | Nov 19th, 2007 21:16 |
| background color in xml | kool77 | Other Programming Languages | 2 | Jul 7th, 2007 16:30 |
| background color | kaz | Web Page Design | 4 | Aug 4th, 2005 18:28 |
| Anybody know how to change the color of a text input form in | Physt | Web Page Design | 7 | Aug 16th, 2004 09:44 |
| change links color | jenjen1018 | Web Page Design | 18 | Jan 4th, 2004 21:52 |