31 lines
822 B
HTML
31 lines
822 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
#image-shape {
|
|
float: left;
|
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAUCAYAAACaq43EAAAAQ0lEQVRIS2NkYPj/n4EowMhIlDIizQMaNmoxrgAdDWpcIUNcmhlNXHiy6mjiGk1csBAYzU7Y08JoATJagCCFAHWLTAAzb0/tZZmo4AAAAABJRU5ErkJggg==");
|
|
background-repeat: no-repeat;
|
|
width: 30px;
|
|
height: 20px;
|
|
}
|
|
|
|
#content {
|
|
font: 20px/1 Ahem, sans-serif;
|
|
color: green;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>
|
|
This test requires the Ahem font. It uses a 30x20 PNG image that contains a pair of 10x20
|
|
blue rectangles for a "float: left" div. The green content should wrap around the rightmost blue
|
|
rectangle</p>
|
|
|
|
<div id="content">
|
|
<div id="image-shape"></div>
|
|
XX</br>XX
|
|
</div>
|
|
</body>
|
|
</html>
|