Fill a DIV Link with Simple CSS

Scriptin Us

Scriptin Us is a collection of useful information, hosted websites and a wiki to promote a strong internet community.
IRC: irc.lurkmore.com #lurkmore

If you have found a broken link please
contact "deadlinks" @ "scriptin.us"
or use the contact form. Thanks!

Baby turtles are cool
Caged In - subculture gallery Fuxx Us - short url service intern3ts - general & niche imageboards LURKMORE Wiki - the Internet
penetrate you - tech, anime and whores CHANCHAN - camwhore boards CHANSLUTS - camgirls, porn and more Scriptin Us' Downloads
Male General - boys, men, cubs, bears TranCHAN - cross dressing, traps, trans TEXTCHAN - text only boards Loli Cat Girls - just like the flash
Fill a DIV Link with Simple CSS
This is how to fill a DIV with a link:

CSS:
#divlink {
  width:300px;
  height:16px;
  border:solid #eee;
  text-align:center;
}

#divlink a {
  display:block;
  width:100%;
  height:100%;
  text-decoration:none;
}

#divlink a:hover {
  text-decoration:none;
  background:#efefef;
}
<div id="divlink">
 <a href="http://www.lurkmore.com">CSS Example</a>
</div>


Home > Programming > Fill a DIV Link with Simple CSS
Inexpensive and powerful GREEN hosting with great service and high uptime!
DreamHost promo: LURKMORE40
  • Discount of $40 off each year:
    • $40 off one year or
    • $80 off two years.
  • One free domain for the life of the account!
Activate the DreamHost promo code here
Map of images! Sign up with Newshosting for a 30GB free trial! DealExtreme has the best prices and free shipping! DepositFiles for fast direct downloads. Use Linode for your hosting needs. Reliable XEN VPS! Monetize your Internet use with LinkBucks! Opera Mini is the best choice for your mobile browsing! Opera web browser has always been leading the way for the Internet. Get in on the action!
Copyright © 1998-2012 LURKMORE
Build Rss Feeds - Invision Power Board Tips - Free Web Hosting - Ac Adapter For Dell 3200 - Outlook Question