On 27 Nov 2006, at 13:42:24, Tom Livingston wrote:
On 11/21/06 3:31 PM, "Patrick H. Lauke" <[EMAIL PROTECTED]> wrote:


Presuming that you're doing XHTML, rather than HTML...you're probably
better off applying the background image to the HTML element, not the
BODY. In XHTML, BODY isn't magical anymore in that it's just as big as its content...but what you describe (which I couldn't bother trying to replicate) sounds like a bug in the browser's redrawing/ recalculation of
  BODY.

P
--
Patrick H. Lauke

Sounds logical. However, I am using IDs on the body to give, among other things, different bg images to site sections. Can I give the HTML element an ID instead? I just never heard of doing this type of thing to that element.


Afraid not, the HTML element can only have lang and dir attributes:
<http://www.w3.org/TR/html4/struct/global.html#edef-HTML>

Regards,

Nick.
--
Nick Fitzsimons
http://www.nickfitz.co.uk/





*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to