|
Posted by Jonathan N. Little on 10/30/06 15:40
John Dunlop wrote:
<snip>
>
> Visually, you could style paragraphs with a text-indent and style
> paragraphs that should, structurally, be continuations of the previous
> paragraph with no indent. For example,
>
> <P>foo</P>
> <UL>
> <LI>item 1</LI>
> <LI>item 2</LI>
> </UL>
> <P class="continue">bar</P>
>
> with the following rule sets:
>
> P { text-indent: 3em }
> P.continue { text-indent: 0 }
Of course *if* IE would only support adjacent sibling selectors the
class "continue" would be unnecessary!
P { text-indent: 3em }
UL + P { text-indent: 0 }
<P>foo</P>
<UL>
<LI>item 1</LI>
<LI>item 2</LI>
</UL>
<P>bar</P>
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|