I'd suggest reading up on sibling selectors (
http://www.w3.org/TR/REC-CSS2/selector.html#adjacent-selectors,
http://www.456bereastreet.com/archive/200510/css_21_selectors_part_2/). I
believe (someone jump in if I'm giving bad advice), that it could be
accomplished using something like what is belo
> Suppose that I have something like:
>
> One
> Two
> Three
>
> Is there some way (without assigning a class) that I can structure a
> selector so as to select only the second paragraph? Thanks for any
> input.
You could use:
p:first-child + p {...}
but it won't work in all browsers
--
Regar
Suppose that I have something like:
One
Two
Three
Is there some way (without assigning a class) that I can structure a
selector so as to select only the second paragraph? Thanks for any
input.
... doug
__
css-discuss [EM