#field:focus + #mark1 {display: none;}
#field:focus + #mark1 + mark2 {display: block;}
all nice. The pics change if I enter the entry field.
#link:hover:first-child{
background-image: url('excl.png');
}
Cool. The image inside the link changes when hovered over.
But if I wanted to change borders around a table containing my #field? Or place a rollover image before the #link ? Still no :parent or '-' (previous sibling) selectors?
|