Reply to Re: ok last question i promise

Your name:

Reply:


Posted by dorayme on 04/06/06 00:27

In article <12388ij5pi4hl3a@corp.supernews.com>,
Tony <tony23@dslextreme.WHATISTHIS.com> wrote:

> Paul Watt wrote:
> > "Tony" <tony23@dslextreme.WHATISTHIS.com> wrote in message
> > news:123856258ac158f@corp.supernews.com...
> >
> >>>I tried Float but it wasnt working for me, so I had to resort to
> >>>position:absolute.
> >>
> >>What happened when you used float?
> >
> > I had two cells leftcell and maincontent; I had leftcell (float:left;
> > width:250px;) and maincontent(no float,margin-left:255px;). IE and FF
> > couldnt decide where to start counting the 255px from because leftcell was
> > floated.
>
> What happens if you leave off the margin-left:255px?

If he were to leave off the margin then in good and compliant
browsers the main would start at the left edge of the window,
same as with the float, and only the content would be displaced.
It is altogether better for the whole content block to be clear
of the float when you are using the float method to create
columns.

Floating for columns is a clever adaptation of the idea of
allowing text to wrap around pics, but it needs careful attention.

--
dorayme

[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

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