I'm sure these are easy for someone but I am having problems with them.
Background Image Placement
On this first problem, I have an image of some 36 point quote marks and I need to have next to the text. As my css manages this, it only happens when the text is not centered but I want the text centered. You can see the problem here.
Here's the HTML
<blockquote class="quote" align='center'>
<i>According to research, Neighborhood Watch programs reduce crime, on average<br>
by 16%. Adding e-Alerts to your neighborhood could add another 10% reduction!</i>
</blockquote>
The CSS looks like this:
.quote {
margin: 0px;
display: block;
background-image: url('/images/quote.gif');
background-repeat: no-repeat;
padding-top: 2px;
padding-right: 80px;
padding-bottom: 5px;
padding-left: 80px;
text-align: center;
color:blue;
}
Shaded Area Width
With this problem, I'm trying to set a shaded area to a consistent width and so far I am limited to the width of the text plush some padding. You can see the problem here.
The HTML code looks like this:
<a class='faq' name='cost'>How much does this cost?</a>
The CSS code looks like this:
a.faq {
background-color: #ff6e00;
font-weight: bold;
color: #FFFFFF;
padding-left:7px;
padding-right:14px;
padding-top:6px;
padding-bottom:6px;
min-width: 250px;
}
Suggestions?
Thanks,
Pete