This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2004 > CSS Hanging Indents





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author CSS Hanging Indents
Tim and Kristen Martin Family

2004-08-26, 12:21 pm

I have a bulleted list and have yet to figure out how to do the hanging
indents in CSS. This must be pretty simple. Can somebody give me the quick
step by step?

Thanks,
Tim

David Stiller

2004-08-26, 12:22 pm

Check out the list-style-position property.

http://www.blooberry.com/indexdot/c.../lsposition.htm

I think that's what you're after.


David
stiller (at) quip (dot) net


Gary White

2004-08-26, 12:22 pm

Tim and Kristen Martin Family wrote:

>I have a bulleted list and have yet to figure out how to do the hanging
>indents in CSS. This must be pretty simple. Can somebody give me the quick
>step by step?



..hangingindent{
margin: 3em;
text-indent: -3em;
}


Gary
Gary White

2004-08-26, 12:22 pm

Gary White wrote:

>.hangingindent{
>margin: 3em;
>text-indent: -3em;
>}



Oops:

..hangingindent{
margin-left: 3em;
text-indent: -3em;
}

Sorry 'bout that.


Gary
Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews