[Web4lib] CSS Question: Lists and Floating Divs

Gianluca Drago gianluca.drago at unipd.it
Fri Jun 24 02:28:40 EDT 2005


> 
> You'll notice the list's bullets are "out-dented" so that the text of each list item lines up with the margin set by the menu div instead. I know if I set a wide left margin for the content div the list will indent properly, but the content will no longer wrap beneath the menu, and that's the request I'm trying to honor in this layout.
> 

Why don't you apply "list-style-position" property?
Example:
	
	#content {list-style-position:inside;}

Bye,
Gianluca


More information about the Web4lib mailing list