Posted by Jon Slaughter on 06/18/07 01:22
"Jon Slaughter" <Jon_Slaughter@Hotmail.com> wrote in message
news:T5ldi.14830$RX.9284@newssvr11.news.prodigy.net...
> Is there any way to match the nth child in css < 3? Obviously I can do
> first-child but I can't seem to get any other siblings ;/
> I tried something .myclass:first-child + div
>
> for something like
>
> <div class="myclass">
> <div>First child</div>
> <div>Second child</div>
> </div>
>
> but it doesn't work ;/
>
> Thanks,
> Jon
>
BTW, I know above int he example one could do
..myclass>div + div
but that is not what I'm looking for as its not very robust. (if I end up
adding a third child div then it screws up everything.
Navigation:
[Reply to this message]
|