You are viewing our Forum Archives. To view or take place in current topics click here.
how would i change this div background when i hover over..
Posted:
how would i change this div background when i hover over..Posted:
Status: Offline
Joined: Dec 28, 201310Year Member
Posts: 85
Reputation Power: 3
Status: Offline
Joined: Dec 28, 201310Year Member
Posts: 85
Reputation Power: 3
a part of my navigation (photoslider nav) and change the photoslider background
#2. Posted:
Status: Offline
Joined: Mar 02, 201212Year Member
Posts: 49
Reputation Power: 1
Status: Offline
Joined: Mar 02, 201212Year Member
Posts: 49
Reputation Power: 1
Hey buddy. In your CSS, you can do this:
.yourDiv:hover {
background-color: orange;
}
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Dec 28, 201310Year Member
Posts: 85
Reputation Power: 3
Status: Offline
Joined: Dec 28, 201310Year Member
Posts: 85
Reputation Power: 3
RapidzMoose wrote Hey buddy. In your CSS, you can do this:
.yourDiv:hover {
background-color: orange;
}
i need it so when i hover over a link it will change a different div
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Apr 15, 201113Year Member
Posts: 614
Reputation Power: 83
blueninjn wroteRapidzMoose wrote Hey buddy. In your CSS, you can do this:
.yourDiv:hover {
background-color: orange;
}
i need it so when i hover over a link it will change a different div
Assuming the link and the div are adjacent elements or at least wrapped within the same parent you can use ~ or + selectors accordingly:
[ Register or Signin to view external links. ]
- 0useful
- 0not useful
#5. Posted:
Status: Offline
Joined: Dec 28, 201310Year Member
Posts: 85
Reputation Power: 3
Status: Offline
Joined: Dec 28, 201310Year Member
Posts: 85
Reputation Power: 3
iyop45 wroteblueninjn wroteRapidzMoose wrote Hey buddy. In your CSS, you can do this:
.yourDiv:hover {
background-color: orange;
}
i need it so when i hover over a link it will change a different div
Assuming the link and the div are adjacent elements or at least wrapped within the same parent you can use ~ or + selectors accordingly:
[ Register or Signin to view external links. ]
doesn't work here the code http:// pastebin.com/LaNbTixB
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.