[css-d] Changing background color in UL or LI elements

2005-12-05 Thread Reynier Perez Mira
I treat to build a menu system using LI elements but I can't get the way to change the background color. I treat to do the same as links. For example: a:link, a:active, a:visited { color: #fff; text-decoration: none; font-size: 11px; } a:hover { color: #ffcc66; }

Re: [css-d] Changing background color in UL or LI elements

2005-12-05 Thread shlomi asaf
if you give an element display:block, you can set height, width, bg color and much more. look at this example: http://www.zimmerim.co.il/zimmersV2/test_For_Css_D.html and look at the right list in this portal http://www.zimmerim.co.il/zimmersV2/ the white ones? its a list look over this

Re: [css-d] Changing background color in UL or LI elements

2005-12-05 Thread Schalk
Reynier Perez Mira wrote: I treat to build a menu system using LI elements but I can't get the way to change the background color. I treat to do the same as links. Reynier Try something like this: ul { margin:0; padding:0; list-style:none; } li { display:block;

Re: [css-d] Changing background color in UL or LI elements

2005-12-05 Thread Jesper Brunholm
Reynier Perez Mira wrote: I treat to build a menu system using LI elements but I can't get the way to change the background color. I treat to do the same as links. For example: a:link, a:active, a:visited { color: #fff; text-decoration: none; font-size: 11px; } a:hover