Css display background

Source: Internet
Author: User
The code is as follows: Copy code

<! 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">
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312"/>
<Title> css display background </title>
<Style>
<! --
Html {
Text-align: center;
}
Body {
Position: relative;
Width: 992px;
Margin: 0 auto;
Text-align: left;
}
Ol, ul {
List-style: none;
 }
# Lanmu {
Width: 813px;
}
# Lanmu dl {
Background: # fff url (yun_qi_img/arbg.jpg) repeat-x;
Margin-top: 3px;
 } 
# Lanmu dt {
Background: url (yun_qi_img/arttitle.jpg) no-repeat 3px 5px;
Padding: 24px 0 3px 55px;
  }
# Lanmu dd {
Padding: 40px 40px 30px 20px;
  }
# Lanmu li {
Border-bottom: 1px dotted # 504f4f;
Margin-left: 30px;
Position: relative;
Height: 30px;
Line-height: 30px;
   }
# Lanmu li a: link, # lanmu li a: visited {
Color: # 504f4f;
Background: url (yun_qi_img/dotl1.jpg) no-repeat 24px 4px;
   }
# Lanmu li a: hover, # lanmu li a: active {
Background: url (yun_qi_img/dotl2.jpg) no-repeat 24px 4px;
Color: # ff974d;
   }
# Lanmu div em {
Color: # FF0000;
   }
# Lanmu li {
Padding-left: 36px;
   }
# Lanmu span {
Position: absolute;
Top: 0;
Right: 0;
   }   
# Lanmu cite {
Background: # defcaf;
   }
# Lanmu div {
Padding: 20px 30px 10px 30px;
Position: relative;
   }
-->
</Style>
</Head>
<Body>
<Div id = "lanmu">
<Dl>
<Dt> department dynamics </dt>
<Dd>
<Ul>
<Li> <a href = "#"> My Hospital's first stage play "soul rejection" was well received </a> <span> [</span> </li>
<Li> <a href = "#"> My Hospital's first stage play "soul rejection" was well received </a> <span> [</span> </li>
<Li> <a href = "#"> My Hospital's first stage play "soul rejection" was well received </a> <span> [</span> </li>
<Li> <a href = "#"> My Hospital's first stage play "soul rejection" was well received </a> <span> [</span> </li>
<Li> <a href = "#"> My Hospital's first stage play "soul rejection" was well received </a> <span> [</span> </li>
<Li> <a href = "#"> My Hospital's first stage play "soul rejection" was well received </a> <span> [</span> </li>
<Li> <a href = "#"> My Hospital's first stage play "soul rejection" was well received </a> <span> [</span> </li>
<Li> <a href = "#"> My Hospital's first stage play "soul rejection" was well received </a> <span> [</span> </li>
<Li> <a href = "#"> My Hospital's first stage play "soul rejection" was well received </a> <span> [</span> </li>
<Li> <a href = "#"> My Hospital's first stage play "soul rejection" was well received </a> <span> [</span> </li>
<Li> <a href = "#"> My Hospital's first stage play "soul rejection" was well received </a> <span> [</span> </li>
<Li> <a href = "#"> My Hospital's first stage play "soul rejection" was well received </a> <span> [</span> </li>
<Li> <a href = "#"> My Hospital's first stage play "soul rejection" was well received </a> <span> [</span> </li>
<Li> <a href = "#"> My Hospital's first stage play "soul rejection" was well received </a> <span> [</span> </li>
<Li> <a href = "#"> My Hospital's first stage play "soul rejection" was well received </a> <span> [</span> </li>
<Li> <a href = "#"> My Hospital's first stage play "soul rejection" was well received </a> <span> [</span> </li>
<Li> <a href = "#"> My Hospital's first stage play "soul rejection" was well received </a> <span> [</span> </li>
</Ul>
<Div> Total <em> 991 </em> News homepage previous page next page last page: <em> 1 </em>/50 pages 20 news/pages go to the <select name = "fdfd">
<Option value = "1"> 1 </option>
<Option value = "2"> 2 </option>
<Option value = "3"> 3 </option>
</Select> page </div>
</Dd>
</Dl>
</Div>
</Body>
</Html>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.