Information Technology Reference
In-Depth Information
IV
}
table td{
background: #d8ceb6;
}
table tr.even td{
background: #e1d9c3;
}
table tr:hover td{
background: #f0eada;
}
Ordinary Lists —You can organize and style different types of lists with CSS. Ordinary (num-
bered and bulleted) lists can be positioned this way:
ul, ol{
margin: .4em 0 1em;
line-height: 150%;
}
ul li, ol li{
list-style-position:outside;
margin-left: 1.6em;
}
Definition Lists —If you need to define terms in a post, you have the option of using a
specialized and semantic list, called a definition list. This consists of three tags: dl for the
list; dt as the term to be defined; dd for the definition:
dl{
padding: .3em 0 .8em;
}
dt {
float: left;
clear: left;
width: 9em;
text-align: right;
font-weight: bold;
text-decoration: underline;
}
dd {
Search WWH ::




Custom Search