JS + CSS + XHTML ? ?
Related Tags:css manuals css templates css download css button css fillet css vertical middling css games css menu css float xhtml css xhtml Guide xhtml markings xhtml manuals xml xhtml xhtml grammar xhtml elements xhtml source xhtml attributes xhtml templates what is xhtml CSS Font CSS Border css Margin css Padding CSS List CSS Table css background css fonts css borders what is the css css editor css hack Baidu space css css transparent css clear css Chinese manual css filter css rolling css navigation css li css dotted line css spaced css files css form css links css table css shadow css fonts css position css css navigation of the book css language dreamweaver css asp css css attributes css example css Notes css inheritance css padding css gradual css Auto-trip xhtml css css grammar css custom templates css input css middling css important css ul css overflow css entry css link css positioning proficient css background image css expression css space css tab css map css display css margindiv css bold css zen garden css authoritative guides css css hover css mandatory for firms
<DOCTYPE html PUBLIC "- / / w3c / / DTD XHTML 1.0 Transitional / / EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html Xmlns=" http://www.w3.org/1999/xhtml "lang="gb2312">
<head>
<head>
<script>
StartList = function () (
If (document.all & document.getElementById) (
NavRoot = document.getElementById ( "nav");
For (i = 0; i <navRoot.childNodes.length; i + +) (
Node = navRoot.childNodes [i];
If (node.nodeName == "LI") (
Node.onmouseover = function () (
This.className + = "over";
)
Node.onmouseout = function () (
This.className = this.className.replace ( "over", "");
)
)
)
)
)
Window.onload = startList;
</ Script>
<style>
body (
Font: normal 11px verdana;
)
Ul (
Margin: 0;
Padding: 0;
List-style: none;
Width: 150px; / * Width of Menu Items * /
Border-bottom: 1px solid # ccc;
)
Ul li (
Position: relative;
)
Li ul (
Position: absolute;
Left: 149px; / * Set 1px less than menu width * /
Top: 0;
Display: none;
)
/ * Styles for Menu Items * /
Ul li a (
Display: block;
Text-decoration: none;
Color: # 777;
Background: # fff; / * IE6 Bug * /
Padding: 5px;
Border: 1px solid # ccc;
Border-bottom: 0;
)
/ * Fix IE. Hide from IE Mac \ * /
* Html ul li (float: left; height: 1%;)
* Html ul li a (height: 1%;)
/ * End * /
Ul li a: hover (color: # E2144A; background: # f9f9f9;) / * Hover Styles * /
Li ul li a (padding: 2px 5px;) / * Sub Menu Styles * /
Li: hover ul, li.over ul (display: block;) / * The magic * /
</ Style>
</ Head>
<body>
<ul Id="nav">
<li> <a Href="#"> Home </ a> </ li>
<li> <a Href="#"> About </ a>
<ul>
<li> <a Href="#"> History </ a> </ li>
<li> <a Href="#"> Team </ a> </ li>
<li> <a Href="#"> Offices </ a> </ li>
</ Ul>
</ Li>
<li> <a Href="#"> Services </ a>
<ul>
<li> <a Href="#"> Web Design </ a> </ li>
<li> <a Href="#"> Internet Marketing </ a> </ li>
<li> <a Href="#"> Hosting </ a> </ li>
<li> <a Href="#"> Domain Names </ a> </ li>
<li> <a Href="#"> Broadband </ a> </ li>
</ Ul>
</ Li>
<li> <a Href="#"> Contact Us </ a>
<ul>
<li> <a Href="#"> United Kingdom </ a> </ li>
<li> <a Href="#"> France </ a> </ li>
<li> <a Href="#"> USA </ a> </ li>
<li> <a Href="#"> Australia </ a> </ li>
</ Ul>
</ Li>
</ Ul>
</ Body>
</ Html>
- CSS and DOM attribute usage manuals Fast Facts
- CSS Optimization
- CSS layout entry [css]
- CSS manuals compendium
- CSS sel
- On the XHTML CSS
- Css Profile
- Into CSS
- CSS quick
- CSS entry
- CSS Essentials
- Css Guide: CSS syntax (CSS Syntax)
- ? ? ? ? ¨° (css)
- The CSS
- CSS on
- CSS Selector
- CSS attributes usage manuals Fast facts
- CSS
- All commonly used language reference manual for manual HTML | CSS manuals | JScript Manual | VbScript Manual | ASP Manual | PHP Manual | SQL manual | Site effects | ADO Manual
- CSS use




