In the previous post, I meant to write p + h1, not p > h1. ------------------
On 8/17/11 at 10:40 PM -0700, Rick Gordon wrote in a message entitled "[css-d] Seeking Selector Functioning Like a Backwards Adjac": >No, that is not a Craigslist ad. I'm just wondering how I might approach >addressing a tag that appears just before another tag, lick the <p> tag that >would immediately precede an <h1>. > >The adjacent sibling selector p > h1 would give me access to the attributes of >the <h1>, but what if I wanted to modify a property of the <p> in that context? -- ___________________________________________________ RICK GORDON EMERALD VALLEY GRAPHICS AND CONSULTING ___________________________________________________ WWW: http://www.shelterpub.com ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] 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/