31 lines
1.1 KiB
HTML
31 lines
1.1 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>background for ul tag and li tag</title>
|
|
<style type="text/css">
|
|
ul {
|
|
background: url(http://www.lovelylovesayings.com/images/Titanic-romantic-kiss.jpg) bottom;
|
|
width: 320px;
|
|
list-style: none;
|
|
padding: 0 0 8px;
|
|
margin: 2;
|
|
}
|
|
li {
|
|
color: pink;
|
|
font-family: Verdana;
|
|
padding: 8px 8px 8px 23px;
|
|
border-bottom: 1px solid green;
|
|
background: url(http://www.lovelylovesayings.com/images/Titanic-romantic-kiss.jpg) no-repeat 4px .8em;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<ul>
|
|
<li>I am you and you are love and that is what makes the world go 'round. Clive Barker </li>
|
|
<li>Let no one who loves be unhappy. Even love unreturned has its rainbow. James Matthew Barrie </li>
|
|
<li>I can live without money, but I cannot live without love. Judy Garland </li>
|
|
<li>Maybe love is like luck. You have to go all the way to find it. Robert Mitchum </li>
|
|
</ul>
|
|
</body>
|
|
</html> |