You are here: Re: Please CSS question « HTML « IT news, forums, messages
Re: Please CSS question

Posted by Els on 08/23/05 23:32

Fabri wrote:

> Some guru in the house can explain me why this page:
>
> http://famigliamaccarrone.dynu.com/giovanni/principi.htm
>
> is OK in IE and not in FF?
>
> The right DIV "float" correctly right in IE but not in FF.
>
> Any help much appreciated.

You didn't give it a width. If you don't set a width for a float, it
will try to be as wide as needed for the content. If you set a width,
the content will try to fit inside.

Instead of giving it a width (difficult in a fluid design), you can
set a left margin. You can take "float:right;" out, and add in a
left-margin, the same size as the width of the navigation. (and give
the navigation a width, the same as the left-margin of the content :-)
)

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Thunder - Back Street Symphony

 

Navigation:

[Reply to this 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

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