two divs interlinking styles

liunx

Guest
hi

is there any way to do something like there is below, where when "two" has a mouseover the style of a different div is changed using a css stylesheet

<style>

#two:hover #one{
color:red;
}

</style>

<div id="one">...

<div id="two">...


cheersI'm pretty sure one will need to be a child of two; check out Pure CSS Popups (<!-- m --><a class="postlink" href="http://www.meyerweb.com/eric/css/edge/popups/demo.html">http://www.meyerweb.com/eric/css/edge/popups/demo.html</a><!-- m -->) for a similar idea.

Adam
 
Back
Top