forked from meyerweb/css-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
divcap.html
30 lines (28 loc) · 1.75 KB
/
divcap.html
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><html><head><title>Capping a DIV</title><style type="text/css"><!--div.topcap {background: green url(i/topleft.gif) top left no-repeat; width: 100%; text-align: right;}div.botcap {background: green url(i/botleft.gif) top left no-repeat; width: 100%; text-align: right;}div p {margin: 1em 2em;}--></style></head><body id="www-meyerweb-com" class="css"> <div style="background: green; width: 70%; margin: 0 auto;"> <div class="topcap"><img src="i/topright.gif"></div><p>Lorem ipsum, dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p><p>Lorem ipsum, dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p> <div class="botcap"><img src="i/botright.gif"></div> </div></body></html>