HelpNearMe
asked on
html blockquote
Hi Experts,
I'd like to use a custom image for the quotation marks around text in a website. I've never used blockquote before and who knows.. maybe it's the wrong way to do it. But in the end I'd like to have custom quotation marks (png files) around the text.
I can make seperate divs around the text an place the custom quotation marks manually but I wonder if there is an easier way. Anybody done this before?
Thanks,
HNM
I'd like to use a custom image for the quotation marks around text in a website. I've never used blockquote before and who knows.. maybe it's the wrong way to do it. But in the end I'd like to have custom quotation marks (png files) around the text.
I can make seperate divs around the text an place the custom quotation marks manually but I wonder if there is an easier way. Anybody done this before?
Thanks,
HNM
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Ive done exactly what you are looking to do before. I didn't use the blockquote tag though because i was looking to have 2 separate quote images like yesthatbob mentioned. I used the 1st quote as a background image in my div, and set the 2nd quote as an <img src...> element in my HTML to ensure it moved dynamically with the content i was quoting. It looks something like this:
Of course you can change the position/text styling to fit your needs.
#left-col {
width:267px;
padding-top:22px;
float:left;
text-align:left;
background:url(images/quotes.png);
background-repeat:no-repeat;
background-position:0 0;
}
And the HTML:<div id="left-col">Content Quote.<br><img src="images/quotes2.png" align="right"></div>
Of course you can change the position/text styling to fit your needs.
ASKER
HNM