<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 strict//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" > < HTML xmlns= "http://www.w3.org/1999/xhtml" > <pead> <meta http-equiv= "Content-type" content=; Charset=utf-8 "/> <title>www.jb51.net</title> <style type=" Text/css "> <!--* {font-size:13px; Font-family:arial;} #nav li {list-style:none width:200px; margin-top:5px;padding:4px 6px;} #nav Li a {text-decoration:none; color: #666;} #nav li a:hover {color: #000;} . AA {border-top:4px solid #7BC110; background: #be6;} . bb {border-top:4px solid #ff9900; background: #fc3;} . cc {BORDER-TOP:4PX solid #ff66ff; background: #fcf;} --> </style> </pead> <body> <ul id= "nav" > <li class= "AA" >css Templates free Download </li> <li class= "BB" >css WebSites Showcase </li> <li class= "CC" >css Web design Article Gt </ul> </body> </ptml>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
South Korea's Web site features a distinctive design style, bright colors, and now more and more people are imitating this style.
Korean style of web site design ideas are loved by everyone, because of its rich color changes, Korean style of the site has a most obvious feature is for the table or the title bar often add horizontal or vertical a ribbon. We usually have image image software to make such an effect, the picture volume is large, download slower. We can use CSS to do this style, because with CSS just for style definition, do not need to apply pictures, download speed will be greatly accelerated.
First we define the list items, the width of the outer margin and the inner margin. Then set the style of the linked text. We use the Class AA, BB, cc to define the color of the different list items, in the definition of these three classes, we define the top box to be 4px. Which is the most common color band in Korean style.