[thelist] lists and CSS

Paul Bennett paul at teltest.com
Thu Sep 25 17:11:54 CDT 2003


Ken Wan wrote:

>I have what is hopefully a simple question. When doing lists, the default
>has the list indented to the right. If I want the list to be flush with the
>left margin, what is the best approach to take. I was thinking to use a
>negative value for the relative left positioning. Does this sound right or
>is there a better method?
>
>Thanks
>Ken
>
>  
>
you can set
ul
    {
    list-style: none outside;   
    margin: 0px;
    padding: 0px;
    }

which alters the default settings for what type of bullet to display, 
and how far the list items are indented.

A great article on a List Apart about lists + css:

http://www.alistapart.com/stories/taminglists/

-- 
 ------------------------------
	Paul Bennett						
	Internet Developer				
	Teltest Electronic Design		
 ------------------------------			
Email: paul at teltest.com				
Phone: 64 4 237 4557					
Web: http://www.teltest.com		
Wap: http://wap.teltest.com			




More information about the thelist mailing list