/ Published in: HTML
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <link href="style.css" rel="stylesheet" /> <style type="text/css"> #wrapper {width: 760px: margin: 0 auto; background-color: #ccc; min-height: 600px;} #nav{width: 700px; margin: 0 auto;} ul#navlist { margin-left: 0; padding-left: 0; white-space: nowrap; } #navlist li { display: inline; list-style-type: none; } #navlist a { padding: 3px 10px; } #navlist a:link, #navlist a:visited { color: #fff; background-color: #036; text-decoration: none; } #navlist a:hover { color: #fff; background-color: #369; text-decoration: none; } </style> </head> <body> <div id="wrapper"> <div id="nav"> <ul id="navlist"> </ul> </div> </div> </body> </html>
URL: http://css.maxdesign.com.au/index.htm