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

Posted by jojo on 11/26/08 11:54

Toby Inkster schrieb:
> Dario wrote:
>
>> Ok I've made a <p class="virgolette"> but same problem!
>
> Yes -- now you're trying to do <p> inside another <p>, which is also not
> allowed in HTML. You could try using something like "<q class=virgolette>"
> with the CSS "display:block".
>
> That said, whatever element you use, it is probably going to be horrible
> and nasty. Better to put the quote in an image with alt="" and float it to
> one side. The quote is a repetition of something you've already said in
> the article, hence it doesn't add anything to the content -- is purely a
> matter of presentation -- so an image is probably the best way of handling
> it.
>
No, it definitely is *not*. An image just expands the loading time of a
webpage, so try to avoid it whenever possible. There is a tag for quotes
in HTML (<q>, you already named it...), so why don't you use it? The
problem that no other block-elements can be put into a <p> can easily
solved: use a <div> instead of the outer <p>...

HTH,
jojo

 

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

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