Reply to Re: center/shrink to fit redux.

Your name:

Reply:


Posted by mbstevens on 06/01/06 21:55

Jonathan N. Little wrote:
> mbstevens wrote:
>
>> fred.haab@gmail.com wrote:
>>
>>> Now, I know it seems like I'm really reaching to try to disprove the
>>> philosphy that divs can be used anywhere tables can - but I really,
>>> actually, honestly ran into this today... I just wanted a small list of
>>> options for my users... the page is very simple - the title of the page
>>> and some options.
>>>
>>
>> Ok, I see the problem. You have to ask yourself if the difference in
>> rendering is really worth moving away from semantic markup.
>> The CSS versions only look a bit visually awkward in instances of
>> truly pathological text size or browser window size, and the CSS
>> versions are still usable and accessible.
>>
>> However, I'll spend a bit of time trying to come up with a fix,
>> because I find your problem interesting. If I should discover a way
>> that works better I'll post it, although I don't know of one off-hand.
>
>
> The only way I can see use a wrapper and tweak to suit...

Yes, and I find that the tweaking becomes quite easy if you
give a <ul> width in ems.

http://www.mbstevens.com/centering.html

This seems to perform better than the CSS examples that fred.habb gave.
It should be no problem to take a test of the text length for server
side generated pages, too, and spit out corrected CSS with the page. He
mentioned generating the things with javascript, too, I believe. All I
can say is -- horrors!

[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

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