peasepud
Programmer
- Jul 20, 2007
- 35
Hi guys n gals,
I have a blockquote div which works fine and looks perfect for what I want until I use it within a para containing a left floated image. In these instances the blockquote drops behind the image rather than sizing itself to position alongside. Ive tried many different things, such as margins:auto etc but no joy.
Any thoughts? the CSS is:
#blockquote {
background: #ddd url(img/quote1.gif) left top no-repeat;;
border-bottom: 1px solid #EEE;
border-top: 1px solid #EEE;
color: #333;
display: block;
font-size: 0.9em;
margin-top:-12px;
margin-bottom: 6px;
padding-top:6px;
padding-bottom:6px;
}
#blockquote div {
background:url(img/quote2.gif) right bottom no-repeat;
margin-left:40px;
}
#blockquote p {
padding-left: 3px;
padding-right:20px;
}
It can be seen here >
Thanks in advance.
I have a blockquote div which works fine and looks perfect for what I want until I use it within a para containing a left floated image. In these instances the blockquote drops behind the image rather than sizing itself to position alongside. Ive tried many different things, such as margins:auto etc but no joy.
Any thoughts? the CSS is:
#blockquote {
background: #ddd url(img/quote1.gif) left top no-repeat;;
border-bottom: 1px solid #EEE;
border-top: 1px solid #EEE;
color: #333;
display: block;
font-size: 0.9em;
margin-top:-12px;
margin-bottom: 6px;
padding-top:6px;
padding-bottom:6px;
}
#blockquote div {
background:url(img/quote2.gif) right bottom no-repeat;
margin-left:40px;
}
#blockquote p {
padding-left: 3px;
padding-right:20px;
}
It can be seen here >
Thanks in advance.