Jump to content
xisto Community
moldboy

<ul> Remove The Bullets

Recommended Posts

This is how you do it.

CSS CODE#navcontainer ul { list-style-type: none; }HTML CODE<div id="navcontainer"><ul><li><a href="#">Milk</a>   <ul>   <li><a href="#">Goat</a></li>   <li><a href="#">Cow</a></li>   </ul></li><li><a href="#">Eggs</a>   <ul>   <li><a href="#">Free-range</a></li>   <li><a href="#">Other</a></li>   </ul></li><li><a href="#">Cheese</a>   <ul>   <li><a href="#">Smelly</a></li>   <li><a href="#">Extra smelly</a></li>   </ul></li></ul></div>

it surprised me when i googled it and it came up. but that should help you out.
Edited by Saint_Michael (see edit history)

Share this post


Link to post
Share on other sites

Google? for that?
Use this next time. It will be handier, because it explains the css and html all in one spot. Look on the left hand side for CSS2 Reference. Lots of info at the w3schools.

Notice from jlhaslip:
edit to correct link

Edited by jlhaslip (see edit history)

Share this post


Link to post
Share on other sites

Thanks that did do the trick,

This is also how CSS rollover menus are created.

I was aware of this already but I am wondering if you have a particular site in mind that would show how?

Share this post


Link to post
Share on other sites

I have a site under development where you can see this applied.

http://forums.xisto.com/no_longer_exists/

If you have firefox and the webdeveloper tools extension installed, it will be easier and faster to locate the css, which is attached to the documents by a style which @imports the main style. _Im currently working (hehe not true but planning to work in) the other media styles.

The shorthand for style is like this:

list-style-type
list-style-position
list-style-image

for example

#liststyle ul {list-style: none inside url(bullet.gif)}

Greetings...

-10730

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.