Forum Moderators: not2easy

Message Too Old, No Replies

Position LI to the left

howto

         

BlackDex

2:08 pm on Jan 26, 2006 (gmt 0)

10+ Year Member



Hello,

How can i position the <li> to the left.

Example:
<ul>
<li>blah</li>
<li>blah2</li>
</ul>

which normaly looks like:


-------------
¦ - blah ¦
¦ - blah2 ¦
-------------

But i want it to look like:


-------------
¦blah ¦
¦blah2 ¦
-------------

So that the <li> is positioned to the leftside of the
<ul>

How can i do this?

Robin_reala

2:09 pm on Jan 26, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



ul { margin: 0; padding: 0; list-style-type: none;}