Reply to Re: A few questions and a critique request

Your name:

Reply:


Posted by sagejoshua on 11/02/84 11:30

>Using negative margins for centring is a Very Bad Mistake. If the viewport
>is less than the width of the centred content then the content disappears
>off the left hand of the viewport, never to be seen again. This content is
>not accessible *at all*, the horizontal scroll bar will not let you to go
>there.

Hmm, you've got a very good point. I got the idea from "The Zen of CSS
design." I guess you can't always trust what you read in books. Thanks
for taking the time to explain.

>To centre content use auto margins. For those browsers that do not support
>it correctly (IE 5.x and IE6 in quirks mode) then use a suitable hack
>(text-align: center;, hidden from other browsers, is one)

How would I hide the text-align from other browsers. I know how to
hide things from IE 5.x and below, but not the other way around.

Thanks again for your help.



Josh

[Back to original 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

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