You are here: Re: Test pages served as html, xhtml, and xml « HTML « IT news, forums, messages
Re: Test pages served as html, xhtml, and xml

Posted by cwdjrxyz on 01/20/06 10:31

Gérard Talbot wrote:
> cwdjrxyz wrote :
>
> I have prepared four test pages at
> > http://www.cwdjr.info/extensions/ .
>
> When I load the page
> http://www.cwdjr.info/extensions/xhtml11.xhtml
> with Firefox 1.5, I can read this
> "There is no correction for a background-color style sheet problem on
> Mozilla family browsers that was corrected on the auto php page."
> But, like I wrote you in the other thread (XHTML or HTML 4), this is not
> correct:
>
> "The background of the root element becomes the background of the canvas
> and covers the entire canvas, anchored at the same point as it would be
> if it was painted only for the root element itself. The root element
> does not paint this background again.

>From a strict technical standpoint, apparently Mozilla family browsers
are meeting the specifications. However, from a practical standpoint, I
think Opera may have done the best thing. I suppose a good lawyer could
argue that Opera meets the background coverage required by the
specifications and also exceeds it. All of this may be of minor
practical importance in many cases. The point is that you are going to
have to write background color code in a different way for an xhtml
page as long as Opera and Mozilla family browsers implement the
background color in a different way and you want the page to appear
about the same on the various browsers. This mainly becomes a problem
when you have a short page that does not fill the screen and use a dark
colored background, if you do not like the glare of a bright screen
below the page content. For a page that exceeds the height of the
screen greatly, or for light backgrounds, the glare of the bright
screen below the content is not nearly as bothersome. Anyway this is
the least of my concerns at the moment in an attempt to get as many
recent browsers as possible to be served as true xhtml 1.1. However,
thanks for the references, as I might want to look into the details
more when I am more concerned with actual writing of code in xhtml 1.1
.. My general impression is that I like the way Opera supports xhtml 1.1
a bit better than how the Mozilla family browsers do. One can no doubt
find many small deviations from strict specifations for both Opera and
Mozilla family browsers, viewed in the most literal light. After all,
there still are many deviations from specifications for html,
especially in IE6. It is difficult to strike the best balance between
being too literal and too loose. I believe it may have been Lord
Chesterfield that made an observation to the effect that a gentleman is
one who knows the rules before breaking them :-).

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация