coldscooter
10-27-2008, 12:04 PM
Hi, I'm working with some code that creates a <ul> in a horizontal fasion.
What style attributes dictate the axis of the list?
What style attributes dictate the axis of the list?
|
Click to See Complete Forum and Search --> : Vertical list... coldscooter 10-27-2008, 12:04 PM Hi, I'm working with some code that creates a <ul> in a horizontal fasion. What style attributes dictate the axis of the list? dtm32236 10-27-2008, 03:05 PM Lists by default are verticle. Adding the following properties will make it horizontal: ul {display:inline; list-style:none;} some people (I'm not sure if it's necessary or not, i forget) will apply display:inline; to the LI and even float:left; to avoid an IE5.5/6 issue. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |