CSS to make landscape navigation menu instance code:
The landscape navigation menu is the most basic of the div CSS layout and must have the ability to master the amount of skills, for a little layout experience of friends This is not a problem, but for beginners may not be so, so here to share a most basic layout code, hope to be able to help the needs of friends.
The code is as follows:
<!DOCTYPE HTML><HTML><Head><MetaCharSet= "Utf-8"><Metaname= "Author"content= "http://www.softwhy.com/" /><title>Ant Tribe</title><styletype= "Text/css">ul{float: Left;width:100%;padding:0;margin:0;List-style-type:None;}a{float: Left;width:7em;text-decoration:None;Color: White;Background-color:Purple;padding:0.2em 0.6em;Border-right:1px solid White;text-align:Center;}a:hover{Background-color:#ff3300}Li{Display:inline}</style></Head><Body><ul> <Li><ahref="#">Ant Tribe One</a></Li> <Li><ahref="#">Ant Tribe II</a></Li> <Li><ahref="#">Ant Tribe Three</a></Li> <Li><ahref="#">Ant Tribe Four</a></Li></ul></Body></HTML>
The original address is: http://www.softwhy.com/forum.php?mod=viewthread&tid=10903
For more information, refer to: http://www.softwhy.com/divcss/
CSS to make landscape navigation menu instance code