Reply to Re: center/shrink to fit redux.

Your name:

Reply:


Posted by Jonathan N. Little on 06/01/06 21:34

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...

<style type="text/css">
..gotClass { margin-left: 35%; }
..gotClass UL { margin-left: 0; padding-left: 0;}
</style>


<div class="gotClass">
<h2>List Title:</h2>
<ul>
<li>Item 1.</li>
<li>Item two is a lot longer.</li>
<li>Item three is, also.</li>
</ul>
</div>

Put title in a H# block seems more appropriate if it is a title for the
block (this case a list) to follow.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[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

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