I am trying to make the quotation marks image in the background expand with the content.
I cropped the main image into two new images but cannot figure out how to properly code it.
Below is what I currently have:
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>AS</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
<div id="mainContent">
<div class="left">
<img src="_images/mainheader.gif" width="295" height="24" alt="Main Content Header" />
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus et nisl nec sapien porta pharetra quis ut risus. Curabitur ac eleifend lectus. In convallis hendrerit neque, sed pharetra enim pretium ut. Sed eros magna, vehicula vitae porta at, pulvinar ut nulla. Aenean nec lacus nunc. In hac habitasse platea dictumst. Aenean sit amet lorem et lacus vehicula laoreet sit amet eget est. Nam sit amet urna at neque cursus ultrices. Curabitur quam nisi, iaculis at molestie vel, mollis a libero.</p><br />
<p>Nulla vel augue magna. Nullam gravida odio ut nunc condimentum pharetra. Aliquam condimentum mattis mauris, ut posuere ipsum pulvinar nec. Sed cursus ornare diam vitae pretium. Maecenas in lacinia velit. Curabitur iaculis turpis sit amet eros ultrices consequat. Maecenas accumsan, libero sed vulputate condimentum, ipsum quam adipiscing mauris, a ultrices ligula tortor ac metus. Integer hendrerit, enim semper rhoncus interdum, lectus risus feugiat nisi, congue lobortis lorem arcu id purus. Vestibulum molestie nunc mi, fringilla malesuada enim.</p>
</div>
<div class="right">
<img src="_images/rightheader.gif" width="113" height="19" alt="Left Header" />
<p>Nulla vel augue magna. Nullam gravida odio ut nunc condimentum pharetra. Aliquam condimentum mattis mauris, ut posuere ipsum pulvinar nec. Sed cursus ornare diam vitae pretium. Maecenas in lacinia velit. Curabitur iaculis turpis sit amet eros ultrices consequat.</p>
<p class="paragraphSpacing" align="right">- Marie Jenkins, CEO Rapidshare</p>
<p>Nulla vel augue magna. Nullam gravida odio ut nunc condimentum pharetra. Aliquam condimentum mattis mauris, ut posuere ipsum pulvinar nec. Sed cursus ornare diam vitae pretium. Maecenas in lacinia velit. Curabitur iaculis turpis sit amet eros ultrices consequat.</p>
<p align="right">- John Hemmington, CEO Temp Inc</p>
</div>
</div>
</div>
</body>
</html>
CSS
#mainContent {
background:#353535 url(_images/maindiv.gif) no-repeat 56% 30px;
border-bottom:1px #3c3c3c solid;
color:#fff;
display:inline;
float:left;
font:1.2em Tahoma, Geneva, sans-serif;
line-height:1.8em;
padding:46px 0 102px 0;
text-align:justify;
height:auto;
width:100%
}
#mainContent img {
padding-bottom:20px;
}
#mainContent .left {
float:left;
padding-left:46px;
width:50%;
}
#mainContent .paragraphSpacing{
padding-bottom:48px;
}
#mainContent .right {
background:url(_images/quotes.gif) no-repeat left 36px;
float:right;
height:314px;
padding-left:12px;
padding-right:46px;
width:38%;
}
http://www.jwebxpress.com/test/as/_images/quotes1.gif
http://www.jwebxpress.com/test/as/_images/quotes2.gif