Tj <>
(news:zfydnXjr-) wrote:
> "David Dorward" <> wrote in message
> news:caqgr0$cil$1$...
>> Tj wrote:
>>
>>> What would be the proper way to insert a full width header image
>>> into a xhtml/css page?
>>
>>> 1. Using css to insert it as a background image of the header div.
>>
>> Is it entirely decorative?
>>
>>> 2. Placing it in the xhtml with an img tag between div's.
>>
>> Does it contain content?
>
>
> Nope. No content other than the image. The div's directly below it
> will contain nav, etc.
What David meant with the questions was: If it's just some fancy decoration,
say a picture of a flower, then the background option is OK, since those
with images disabled won't miss anything. If it contains info (text,
probably), then an <img> tag with alt attribute is a better solution.
|