PDA

View Full Version : CSS Horizontal List Menu



cheshta99
Jul 15th, 2009, 08:14 AM
First off I apologize if this is not the right place for my questions. If it isn't please point me in the right direction.

First, regarding the CSS Horizontal List Menu that is available on this site, how do you change the color? I have tried doing this in paint and illustrator but all they do is just spread the green around.

Second, how do you center this list menu on your page?

abduraooft
Jul 15th, 2009, 09:59 AM
First, regarding the CSS Horizontal List Menu that is available on this site, how do you change the color? Which site?

seanhalley
Jul 15th, 2009, 04:43 PM
The following code will let you customise the bullet image and make the list appear horizontally:



ul {
display: inline;
list-style-image: url("images/bullet.gif");
}


If you want to center it then you need to set text-align:center in the list's encloing element.