W3C home > Mailing lists > Public > www-style@w3.org > February 2005

Re: XHTML as XML

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Fri, 11 Feb 2005 15:30:07 +0100
Message-ID: <420CC16F.5060709@annevankesteren.nl>
To: Ryan Cannon <ryan@ryancannon.com>
CC: www-style@w3.org

Ryan Cannon wrote:
> 
>>> I think the real problem is that the default stylesheet for the 
>>> Mozilla-based browsers includes unnecessary whitespace--which you can
>>> easily work around.
>>
>> ?
>
> When first converting my stylesheets to work or application/xhtml+xml, 
> the first thing I noticed was a white band around the page--it seems 
> Mozilla has a default margin on the body element (which I see as odd, 
> even in text/html: if body==viewport, a margin would be worthless; you 
> would theoretically need to use padding).

The BODY is just another element. It is not special or anything. 
Mozilla's UA style sheet is the same for HTML and XHTML.


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Friday, 11 February 2005 14:30:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:35 GMT