Return to Snippet

Revision: 26408
at April 27, 2010 14:39 by benrudolph


Initial Code
<!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" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

	<title>untitled</title>
	<style type="text/css" media="screen">
		blockquote {
			position: relative;
			text-indent: 2em;
		}
		
		.bqstart,
		.bqend { font-size: 300%; }
		
		/* apply IE specific rules first */
		.bqstart {
			text-indent: 0;
			margin: -0.6em 0 -2em 0;
			float: left;
		}
		
		blockquote > .bqstart {
			/* add extra non-ie rules */
			position: absolute;
			top: -0.2em;
			left: 0;
			/* remove IE specific rules */
			float: none;
			margin: 0;
		}
		
		.bqend {
			position: absolute;
			margin-top: -0.6em;
			right: 0;
			text-indent: 0;
		}
		
		blockquote > .bqend {
			margin-top: -0.2em;
		}
	</style>
</head>

<body>

<blockquote><span class="bqstart">&#8220;</span>
	Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<span class="bqend">&#8221;</span></blockquote>
</body>
</html>

Initial URL

                                

Initial Description

                                

Initial Title
Bog Curly Bracket with HTML example

Initial Tags
css, textmate

Initial Language
Other