Forum Moderators: not2easy

Message Too Old, No Replies

CSS Selector basic question

         

afridy

11:36 pm on Aug 25, 2009 (gmt 0)

10+ Year Member



Hai

1) .tab1[busy] > .tab-icon-image

2) .tab1[busy] .tab-icon-image

i undestand the first one. that is .tab-icon-image is the child of tab1 which has the attribute busy.

but i dont undestand the second one :(

swa66

12:26 pm on Aug 26, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The second is the same as the first, except that the element with class .tab-icon-image does not need to be a direct child (can be a grandchild e.g.)

afridy

12:49 pm on Aug 26, 2009 (gmt 0)

10+ Year Member



Thanks swa66
excellent ! exactly what i wanted to know.