Re: [WSG] Center Align an Unorder List

2007-07-25 Thread David Laakso
Ryan Moore wrote: Looking to Center Text on an unordered list. css: ul {text-align: center;} li { display: inline; list-style-type: none; padding-right: 20px; } markup: ul lia href=#Item one/a/li lia href=#Item two/a/li lia href=#Item three/a/li lia href=#Item four/a/li lia href=#Item

Re: [WSG] Center Align an Unorder List

2007-07-25 Thread Francisco Lara
yes it's good, i like the float:left better than display:inline. On 7/25/07, Ryan Lin [EMAIL PROTECTED] wrote: Hi there, ul { display:block; width:100%; text-align:center; list-style:none} ul li {float:left; margin-right:5px} These two styles should get you this. Did I do it correct?

Re: [WSG] Center Align an Unorder List

2007-07-25 Thread Ryan Lin
Hi there, ul { display:block; width:100%; text-align:center; list-style:none} ul li {float:left; margin-right:5px} These two styles should get you this. Did I do it correct? Comments? Ryan Moore wrote: Looking to Center Text on an unordered list. Example: ul liLink 1/li liLink 2/li liLink

[WSG] Center Align an Unorder List

2007-07-25 Thread Ryan Moore
Looking to Center Text on an unordered list. Example: ul liLink 1/li liLink 2/li liLink 3/li /li Desired Effect: Link 1 Link 2 Link 3 I don't have my CSS Code Base with me right now so hopefully someone can lend a hand. ***

Re: [WSG] Center Align an Unorder List

2007-07-25 Thread Francisco Lara
I think the easiest way I can think of is this: ul { display: block; width:100%; text-align:center; } li { display:inline; font-weight:bold; } On 7/25/07, Ryan Moore [EMAIL PROTECTED] wrote: Looking to Center Text on an unordered list. Example: ul liLink 1/li liLink 2/li