css for unordered lists

They have: 2 posts

Joined: Oct 2011

Hello,

I don't have a strong css background and I need some help. I need to change the css for a single table in a very complex website. I don't want to edit one of the css sheets that are there. However I would like to override one element of 1 page. The site now double spaces any <li> object. How can I style the page or <ul> tag to single space each object?

Megan's picture

She has: 11,366 posts

Joined: Jun 1999

So you want to do this inline? Or can you put something into the <head> of the individual page?

It depends on why this double spacing is occurring. It could be a line-height or it could be padding or margin set on the li tags. Use Firebug to find out.

They have: 20 posts

Joined: Jan 2012

go to w3school and practice on CSS online..

you can use the undored list like this

They have: 25 posts

Joined: Sep 2012

w3schools.com and Wikipedia is the good for basic JavaScript.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.