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