On 3 April 2010 22:26, Gene Falck <gfa...@merr.com> wrote:
> Hi T. R.,
>
> You wrote:
>
>> Apparently, <blockquote></blockquote> cannot be used alone. It
>> produces 'character data is not allowed here'. What does it need?
>
> I think I've seen this before and put my text inside a "p" block
> inside the "blockquote" to solve the problem.

I tried this, but apparently some of the css for the <p> block was
royally fouling up the blockquotes. But Paul's answer that it could be
done with a <div> was perfect. Added a <div> for each blockquote and
-- voila! -- validation without messing up the layout.

>> Also, can the <blockquote> tag have a class assigned to it?
>
> Once you've got a correct (no error / complaint from your
> favorite checker) give it a try and let us know how it works
> out--I've only used one style of "blockquote" at a time and
> so I usually just style the "blockquote" directly.

It can. Usually, a blockquote will be following by a new paragraph,
but sometimes the paragraph continues so I wanted to close up the
space between the last paragraph (blockquote and div) of the block and
the following <p>. Using an adjacent sibling selector solved that
nicely.

Thanks for all the information.


-- 
T. R. Valentine
Your friends will argue with you. Your enemies don't care.
'When I get a little money I buy books; and if any is left I buy food
and clothes.' -- Erasmus


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to