Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: Indenting an unordered list


Message #1 by "Michael Whitmill" <mwhitmill@e...> on Sun, 7 Apr 2002 23:59:16
Add this to your page:
<style>LI{margin-left=5cm}</style>


-----Original Message-----
From: Michael Whitmill [mailto:mwhitmill@e...]
Sent: Sunday, April 07, 2002 7:59 PM
To: HTML Code Clinic
Subject: [html_code_clinic] Indenting an unordered list


Here's the existing code:

<TR><TH>Here is a list of the people that you chose</TH></TR>

<TR><TD>
      <UL><B>
        <LI>Please review the form to make sure that the information is 
correct</LI>
        <LI>Make any corrections necessary</LI>
        <LI>Click the <FONT COLOR="ff0000">Continue</FONT> button at the 
bottom of the screen when you finish</LI>
      </B></UL>
</TD></TR>
<TR><TD>


As specified, the first line "Here is a list ..." is centered (due to a 
previous specification).  But the list is pressed to the left margin.  I 
want to position the 3 items in the list with a margin or indention of a 
couple of inches (5 cm.).  I tried lots of left-margin specifications but 
was not successful with any of them.  How do I do that?

--Thanks, Mike

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

  Return to Index