View Full Version : UL's?
nikko50
02-03-2008, 06:52 AM
Hi all. I would like to crunch my lists closer <li> items closer together horizontally. In explorer they look to far apart in IE. What style can I apply to get them closer?
Actinia
02-03-2008, 09:40 AM
Try removing margins and padding. Either all margins and padding
li {margin: 0; padding: 0; }
or if the horizontal spacing is important, just adjust the top and bottom:
li {margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; }
You may want to increase these values from zero. Remember that adjacent margins will collapse, but padding will not.
John
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.