Reply to Re: Help Request about 4.01 Strict

Your name:

Reply:


Posted by Neredbojias on 06/09/06 10:42

To further the education of mankind, Steve Pugh <steve@pugh.net>
vouchsafed:


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

Interesting, I don't think I ever knew that. Tend to shy away from
"align=xxx" in html, (especially in divs.) And now with css...well, it's
obvious.

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

Yep.

--
Neredbojias
Infinity has its limits.

[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

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