. Shortcut ul Li {
Display:inline;
}
Css
<style>OL, ul {list-Style:none; } HTML, Body, UL, Li, Div, form {margin:0px; border:0px; padding:0px; Font-size:11px; Color: #666; }. Header {width: -%; height:100px; Line-height:100px; }. Shortcut {width: -%; Line-height:30px; height:30px; Background: #F7F7F7; Border-bottom:1px solid #eee; }. Shortcut ul li {display:inline; }. Shortcut fl {left:50px; Position:absolute; } A {text-Decoration:none; Color: #666; } a:hover {color: #E4393C; Text-Decoration:underline; }. fav {top:8px; Left:0; width:13px; height:13px; Background:url (http://misc.360buyimg.com/lib/skin/2013/i/20130725.png) no-repeat 0 0;Cursor:pointer; Position:absolute; Overflow:hidden; }. add_home {top:8px; left:78px; width:13px; height:13px; Background:url (http://misc.360buyimg.com/lib/skin/2013/i/20130725.png) no-repeat 0 0;Cursor:pointer; Position:absolute; Overflow:hidden; }. FL ul Li a {margin-left:20px; }. Shortcut fr {width:500px; float: Right; right:20px; Position:absolute; } </style>
View Code
Header
<divclass="Header"> <divclass="Shortcut"> <divclass="FL"> <ul> <li><bclass="Fav"></b><a href="Javascript:addtofavorite ()"Rel="nofollow"> Collection US </a></li> <li><bclass="Add_home"></b><a href="Javascript:addtofavorite ()"Rel="nofollow"> Add homepage </a></li> </ul> </div> <divclass="FR"> <ul> <li> <span style="color: #e3840a; font-weight:bold">Willa</span>Hello, welcome to use my System! <%=datetime.now.tostring ("YYYY-MM-DD hh:mm")%></li> <li><a>[exit]</a></li> <LI>|&L t;/li> <li><a>on duty</a></li> <li>|</li > <li><a>off duty</a></li> </ul> </div> </div> </div>
View Code