hover on div layout image |
hover on div layout image |
![]()
Post
#1
|
|
![]() Peggy. ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,508 Joined: Aug 2005 Member No: 214,025 ![]() |
http://glamour-beauty.com/
See the navi portion? When you mouseover it, that area would change to a white background and blue text. I have Photoshop/Imageready CS2 and how do I make it like this? Also, I have heard that it requires javascript? |
|
|
![]() |
![]()
Post
#2
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 ![]() |
Okay... Let me think for a second, you'll be using the hover psuedo-class. Let's say your navigation is this (in a larger table, probably):
CODE <tr> Then your CSS might resemble this:<td class="hover"><a href="http://">Link</a></td> <td class="hover"><a href="http://">Link</a></td> <td class="hover"><a href="http://">Link</a></td> <td class="hover"><a href="http://">Link</a></td> </tr> CODE <style type="text/css"> [ http://www.blewmyallowanceonmanga.net/ribbons/hover.html ]
.hover{width: 50px; text-align: center;} .hover a:link{background-color: #000000; color: #FFFFFF;} .hover a:hover{background-color: #FFFFFF; color: #000000;} </style> |
|
|
![]() ![]() |