|
Posted by jojo on 01/13/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
[Back to original message]
|