S
Samuël van Laere
I have the following elements defined in my stylesheet:
blockquote{
background-color: #FEFEFE;
background-image: none;
border: 1px dotted #DCDCDC;
color: #A52A2A;
font: normal 100% serif;
}
p {
background-color: transparent;
color: #333333;
font: normal 100% serif;
}
I use a HTML Strict doctype and i would like to use the colors defined in
<blockquote>
when quoting.
But why is it that when using it like this:
<blockquote>
<p>Some Quote Here</p>
</blockquote>
That it will display the border and background color as exspected, but it
will use the color defined
for the P element instead of the color defined for Blockquote (color:
#A52A2A) ??
Both IE5.5 and the latest Mozilla display the same result.
Any suggestions?
blockquote{
background-color: #FEFEFE;
background-image: none;
border: 1px dotted #DCDCDC;
color: #A52A2A;
font: normal 100% serif;
}
p {
background-color: transparent;
color: #333333;
font: normal 100% serif;
}
I use a HTML Strict doctype and i would like to use the colors defined in
<blockquote>
when quoting.
But why is it that when using it like this:
<blockquote>
<p>Some Quote Here</p>
</blockquote>
That it will display the border and background color as exspected, but it
will use the color defined
for the P element instead of the color defined for Blockquote (color:
#A52A2A) ??
Both IE5.5 and the latest Mozilla display the same result.
Any suggestions?