Mark Thank you for the suggestion. The reason I've been doing it the way I have is that I find it difficult to remember to write the necessary code at the beginning of a piece - I hand code. If I can't sort out an additional rule such as a + img + p (which doesn't work) I'll have to use the method you suggest.
JL On 27/02/06, John Lockerbie <[EMAIL PROTECTED]> wrote: > Paragraphs on my site have an indent of 2em for the second and > subsequent paragraphs; the first para has no indent. I use > p + p { > text-indent: 2em; > } > to effect this. > > Where there is an image at the beginning of a para I use > img + p { > text-indent: 2em; > } > to keep the indented para. > > This works. However, if I have a link from that image, which would > begin with <a href="http://etc., then there will be no indent. > > How do I alter my code to keep the indent? > > JL > ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- 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/