Reply to Re: Help Request about 4.01 Strict

Your name:

Reply:


Posted by Steve Pugh on 06/09/06 07:45

Neredbojias <http://www.neredbojias.com/fliam.php?cat=alt.html> wrote:
>To further the education of mankind, "Ed Mulroy" <dont_email_me@bitbuc.ket>
>vouchsafed:
>
>> On line 18 I received a complaint about 'align'
>> <table align="left" width="22%" cellpadding="1" cellspacing="2">
>>
>> However all attempts to remove the 'align' and handle it with CSS
>> results in the right hand table being moved down the page to past the
>> bottom of the left hand menu column.
>
>Left align is the default. Why would you need to state it?

Setting align="left" on a table acts the same as setting float:left;

So whilst the default is for the table to be adjacent to the left hand
edge of its container, the default is not for following content to
flow alongside the right hand side of the table.

As the OP didn't say what CSS he used to try and replace the align
attribute we can't say what he was doing wrong, but if he sets float:
left; then, barring clashes with other styles, the page should behave
the same as with align="left".

Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>

[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

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