On 11/30/05, Taco Fleur - Pacific Fox <[EMAIL PROTECTED]> wrote:
>
> On www.brisbane-webdesign.com there are two background images on the page,
> both included within the mark-up instead of in the CSS as a background.
> The reason for doing this is so that the background stretches when the
> browser is resized, what I wonder is; is there a better way to do this?

Not yet, as far as I know.

> Also, why does the mark-up provided by W3C for the Valid HTML img (see
> bottom of the page) have a <p> element? Surely it is not a paragraph, is it?

The most important reason is that if the image is not loaded, and the
alt tag is displayed, it is plain text and belongs in a paragraph. If
you have an image with an empty alt tag, then it might make more sense
to enclose it in a div.


--
--
Christian Montoya
christianmontoya.com ... rdpdesign.com ... cssliquid.com
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to