Css tutorial code
@ Charset "UTF-8 ";
/* Css document */
# Getplatform {
Position: absolute;
Visibility: hidden;
Width: 180px! Important;
Border: 1px solid #77c608;
Background: # fcfcfc;
Cursor: pointer;
Color: # ff7a23;
List-style-type: none;
Z-index: 9999;
}
. Hint {
Width: 180px;
Padding-left: 6px;
Font-size: 12px;
Color: #656565;
Background: # fff;
Border-bottom: 1px dashed # c1c1c1;
}
. Mout {
Width: 180px;
Padding-left: 6px;
Border-top: 1px dashed # fff;
Border-bottom: 1px solid # fff;
Font-size: 12px;
Line-height: 160%;
Color: #000;
Background: # fff;
}
. Mover {
Width: 180px;
Padding-left: 6px;
Border-top: # fb6e04 1px solid;
Border-bottom: # fb6e04 1px solid;
Line-height: 160%;
Font-size: 12px;
Color: #457007;
Background: # fff4d2;
Cursor: hand;
}
. Selected {
Width: 180px;
Padding-left: 6px;
Border-top: # f2f8ff 1px solid;
Border-bottom: # f2f8ff 1px solid;
Line-height: 160%;
Font-size: 12px;
Color: # ffffff;
Background: # ff9900;
}
. Tdleft {
Padding-left: 6px;
Font-size: 12px;
}
. Tdright {
Padding-right: 4px;
}
Call method
<Link href = "http://www.111cn.net/css_new/citys.css" rel = "stylesheet" type = "text/css"/> <script language = "webpage effects" src = "/js/jquery. js "type =" text/javascript "> </script> <script language =" javascript "src =" http://www.111cn.net/js/allcity.js "type =" text/javascript "> </script> <input name = "city" type = "text" id = "city" value = "Chinese/Pinyin" onfocus = showsearch (this) onblur = showsearch (this, 1) onclick = "suggest. display (this, 'cityname', event) "onkeyup =" suggest. display (this, 'cityname', event) "/>