View Single Post
Share |
  #1 (permalink)  
Old 03-21-2006, 11:46 AM
JuggoPop's Avatar
JuggoPop JuggoPop is offline
Senior Member
 
Join Date: 10-09-03
Posts: 4,284
iTrader: 0 / 0%
Formatting <ul> spacing in css???

See attached image.

#1 is the way the list shows now.

#2 is the way it should be.

the code is just a plain list as follows:

Code:
Menu: <ul> <li>About Us</li><br /> <li>How We Can Help</li><br /> <li>Contact Us</li><br /> </ul>
All formatting is done in my style sheet... bg image, dispaly inline, and some other jazz.

My problem is, I can't figure out how to format the <ul> tag so that it will get rid of the space between "menu" and the first <li> tag.

I know I could just do it by getting rid of the <ul> all together, I have done that before, and it works... it's just sloppy. I'd rather do it correctly if anyone knows of something that works on all browsers (even if it's off a little, as long as it's not as much as is now)...

Any help would be great. (I have searched google for an hour now and tried many things that are supposed to work... but don't)
Attached Thumbnails
Formatting <ul> spacing in css???-list-help.gif  
 
Reply With Quote