Thanks. Really. I'm trying to understand what you did and why. I took 
the freedom to mention this in my site, hoping you'll agree.
Last, but not least : thanks to the list !-)

Luis

Gunlaug Sørtun a écrit :
> Pretty good, but you're using "the wrong" centering method. Page
> disappears beyond left window-edge on narrow windows, which means that
> part is out of reach.
>
> Since you're that close, I've made a copy, upgraded the doctype and
> adjusted it all a bit...
>
> HTML: <http://www.gunlaug.no/tos/alien/test_07_3202.html>
> XHTML: <http://www.gunlaug.no/tos/alien/test_07_3202.xhtml>
> CSS: <http://www.gunlaug.no/tos/alien/basic003.css>
>
> ...just to make sure it is _really_ worth the candle :-)
>
> A few changes in the source-code, and some more substantial ones in the
> stylesheet.
>
> - It centers and nothing gets lost - important.
> - It adheres to a 'Strict' doctype - important
> - It follows the rules for XHTML served as either 'text/html' or the
> more proper 'application/xhtml+xml' - which it should if it is to be
> called XHTML, regardless of how it's actually served.
>
>
> Note: It's quite possible to create something without actual hacks, but
> I don't think it is possible to create many layouts without some kinds
> of workarounds - not yet.
>
> Your use of a 'Transitional' doctype is a workaround, and the fact that
> you omitted the 'xml-declaration' is another.
>
> Generally:  if you decide to omit the 'XML declaration' you should
> choose either UTF-8 or UTF-16 as the encoding for the page.
> Although probably nobody will notice the difference, it is better to do
> it right. The often mentioned "box-model problems" are not real
> problems (IMO), and are easily corrected in CSS.
> Some more on the subject here...
> <http://www.w3.org/International/articles/serving-xhtml/Overview.en.php>
>
> I prefer to go into CSS3 to make it work, rather than using HTML
> attributes that aren't allowed in 'Strict' - image-borders for instance.
> Seems like a minor issue, but 'Transitional' wasn't meant to be used for
> new documents - only for temporary upgrading of old ones. Since you're
> learning and working on a new layout, you might as well get these minor
> details correct from the start.
>
>
> regards
>     Georg


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to