jhatter
11-22-2013, 01:12 PM
Please can you help me achieve something similar to the screen grab image?
I would like the top of the text positioned over the top quote mark but can't work out how to do it. I would also like the text div to expand and contract depending on the amount of text that is in it and for the bottom quote mark to 'follow' this. So really I don't want to set a height for the div.
I have attached the code of my attempt
<div class="testimonial-top-image"> </div>
<div class="testimonial-text">
Hi Damian,<br/>
Please pass on our thanks to your guys for an exceptionally good job. They were speedy, professional and absolutely charming - not one thing lost or broken and the job completed in 8 hours flat. We were very impressed and will recommend you to friends in the the future.<br/>
Kind regards, Eleanor
</div>
.testimonial-top-image {
width:316px;
height:80px;
background-image: url(images/testimonial-top.jpg);
background-repeat: no-repeat;
background-position: center bottom;
z-index:1; position:relative;}
.testimonial-text {
width:316px;
height:380px;
font-family: 'Open Sans', sans-serif;
line-height:230%;
font-weight: 400;
font-style: italic;
font-size:16px;
color: #666666;
background-image: url(images/testimonial-bottom.jpg);
background-repeat: no-repeat;
background-position: center bottom;
z-index:99;
position:relative;
}
528152825283
Thanks in advance for your help.
I would like the top of the text positioned over the top quote mark but can't work out how to do it. I would also like the text div to expand and contract depending on the amount of text that is in it and for the bottom quote mark to 'follow' this. So really I don't want to set a height for the div.
I have attached the code of my attempt
<div class="testimonial-top-image"> </div>
<div class="testimonial-text">
Hi Damian,<br/>
Please pass on our thanks to your guys for an exceptionally good job. They were speedy, professional and absolutely charming - not one thing lost or broken and the job completed in 8 hours flat. We were very impressed and will recommend you to friends in the the future.<br/>
Kind regards, Eleanor
</div>
.testimonial-top-image {
width:316px;
height:80px;
background-image: url(images/testimonial-top.jpg);
background-repeat: no-repeat;
background-position: center bottom;
z-index:1; position:relative;}
.testimonial-text {
width:316px;
height:380px;
font-family: 'Open Sans', sans-serif;
line-height:230%;
font-weight: 400;
font-style: italic;
font-size:16px;
color: #666666;
background-image: url(images/testimonial-bottom.jpg);
background-repeat: no-repeat;
background-position: center bottom;
z-index:99;
position:relative;
}
528152825283
Thanks in advance for your help.