You are here: Re: PULL QUOTE problem « HTML « IT news, forums, messages
Re: PULL QUOTE problem

Posted by Jonathan N. Little on 10/08/13 11:53

Toby Inkster wrote:
> Dario wrote:
>
>> I created a <div>, for pull quote, called VIRGOLETTE2
>
> Better would be:
>
> <blockquote class="virgolette2">
> <p>quote here</p>
> </blockquote>
>
>> In Html I add this DIV inside the <p> of article
>
> DIVs can't live inside paragraphs. As soon as you create a DIV, the
> paragraph is automatically ended (as if you'd written "</p><div>").
>

Seems so by reviewing the spec, understandably nested P's would make no
sense but a inset block?

+----------------------+
| |
| |
+-------+ |
| |
+-----+ | |
| | | |
| | | |
+-----+ | |
| |
+-------+ |
| |
+----------------------+



The only way to do this then would be for the inset to be an inline
element that is restyle as block (and floated)

Or the outer container block cannot be a P but a DIV with the P's styling?

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация