22 lines
764 B
HTML
22 lines
764 B
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html>
|
|
<head>
|
|
<title>Bug</title>
|
|
<style>
|
|
#top_news span.img_cont { display:block; height:85px; width:300px; background: url("") no-repeat center left; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>The background image should not repeat.</h1>
|
|
<div id="top_news">
|
|
|
|
<ul>
|
|
<li style="border: 1px solid red;">
|
|
<span style="background-image: url(../media/resources/apple_logo_half_size.png); border: 2px solid green;" class="img_cont"> </span>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|