Created
May 7, 2009 16:41
-
-
Save blaix/108200 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<title>block-style links in a list</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<style type="text/css"> | |
ul#linklist { | |
width: 50%; | |
} | |
ul#linklist li { | |
padding: none; | |
list-style-type: none; | |
} | |
ul#linklist li a { | |
display: block; | |
padding: 3px; | |
margin: none; | |
color: #555; | |
background-color: #eee; | |
text-decoration: none; | |
} | |
ul#linklist li a:hover { | |
color: #000; | |
background-color: #aaa; | |
} | |
</style> | |
</head> | |
<body> | |
<ul id="linklist"> | |
<li><a href="">I'm a link</a></li> | |
<li><a href="">I'm another link</a></li> | |
</ul> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment