Информация > идея > ресурсы > опыт > результат

Балашиха (Железнодорожный), Москва
+7 (903) 978-3464

How to make div block as link via CSS

How I made it on my site? For example, move the cursor on logo at right side at the bottom. As you can see not animated logo changed on animated logo.

If you want something like this, you just need to do 2 things:

1. In your HTML page:
[code]<a href=»http://bolser.ru» title=»Created by Sergei Boldyrev»>
<div class=»footer_right»>
</div>
</a>[/code]
2. In your CSS file put this code:
[code]div.footer_right {
background: url(images/bolser.png) no-repeat;
width: 100px;
height:30px;
}
div.footer_right:hover{
background: url(images/bolser.gif) no-repeat;[/code]

Оставить комментарий

Top