Anchor based tab
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Styling <body></title> <style type="text/css" media="screen"> .container { width: 500px; padding: 15px; margin: 3px 0 20px 0; border: 1px solid #ccc; background: #fff; } #nav { margin: 0; padding: 0 0 20px 10px; border-bottom: 1px solid #9FB1BC; } #nav li { margin: 0; padding: 0; display: inline; list-style-type: none; } #nav a:link, #nav a:visited { float: left; font-size: 10px; line-height: 14px; font-weight: bold; padding: 0 12px 6px 12px; text-decoration: none; color: #708491; }
#nav a:hover { color: #000; }
</style> </head>
<body id="spag">
<div class="container">
<ul id="nav"> <li id=""><a href="#">Item 1</a></li> <li id=""><a href="#">Item 2</a></li> <li id=""><a href="#">Item 3</a></li> <li id=""><a href="#">Item 4</a></li> </ul>
</div>
</body> </html>
|
|
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
|