Bill Brown wrote:
> John wrote:
> [snip]
> > This has been an excellent thing for me to learn in my
> > greenhorn-hood..
> >
> > As I adjust my pages to work with this new combined style sheet, I'm
> > adding "id="index" to every instance of my <p> tags; my "space
> > after" design employs a <p>paragraph's worth of text</p>
> > <p>paragraph's worth of text</p>, so every <p> needs adjusting.
> >
> > Is there a way to say "All of these <p> are now <p id="index">?"
Another possibility would be to wrap the section of your page that
contains those particular paragraphs in a div, give the div an ID
"id=index", then in your stylesheet add something like:
#index.p { /* do stuff with paragraphs inside my div */ }
Might be easier than going through assigning classes to all those
paragraphs.
--
David
[EMAIL PROTECTED]
authenticity, honesty, community
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/