On 8/8/07, Ross Hulford <[EMAIL PROTECTED]> wrote:
> I have a news page like this
>
>
> <div id="container">
>
>
> <span class="heading">Archive News 1</span>
>
> <span class="sub_heading">item 1</span>
>
> This is ny news item
>
> <span class="heading">Archive News 2</span>
>
> <span class="sub_heading">Item 2</span>
>
> This is another news item
>
>
> <span class="heading">Archive News 3</span>
>
> <span class="sub_heading">Item 3</span>
>
> This is another news item
>
>
> </div>
>
> This goes on forever. I need to indent all the text but when I use
>
> #container {
> text-indent :30px;
>
> }
>
> the two spans indent but the ordinary text does not indent. Is there a way 
> other than wrapping in <P> tags to get them to indent. This page is very long 
> so adding <p> tags would take ages.
>

Would something as simple as this work?

#container {
text-indent: 30px;
}

#container span {
text-indent: 0px;
}
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to