View Full Version : Hovering the color over the block

12-11-2007, 09:42 AM
Hi, I am a new to web designing I am still in the learning process. In this Adobe site http://www.adobe.com/ how do they manage to hover the color (in this respect black) in the top navigation bar.Could anybody tell me the CSS code for it.It would be very helpful for me, thanks in advance.

12-11-2007, 10:08 AM
If you simply wanna give your links the hover effect like the Adobe's menu, you can use the below code...


Hopefully this will help you understanding the basic code for making a block hyper link.
For more tutorials regarding the CSS/HTML learning, visit http://www.w3schools.com

12-11-2007, 05:35 PM
Or, in a slightly more readable format:
a {
display: block;
padding: 0 1em;
font-weight: bold;
text-decoration: none;
line-height: 2.2;
color: black;
a:hover {
background: black;
text-decoration: underline;
color: white;