You are here: what is the best way to let a div fill the screen? « HTML « IT news, forums, messages
what is the best way to let a div fill the screen?

Posted by windandwaves on 06/25/05 13:38

Hi Folk

I am trying to do the following:

<div id="d1" style='width: 215px; height: 117px; float: left;'>
....
</div>
<div id="logo" style='width: ????; height: 117px; float: right;'>
<img src="i/logo.gif" alt="[...]" title="[..]">
</div>

whereby I want ???? to be something so that, at any screen-width, the cell
fills the entire screen.

In a table I would do

....
<TABLE WIDTH="100%">
<TD width="10"></TD>
<TD>..</TD>
</TABLE>

but how do I resolve this with DIVs?

TIA


- Nicolaas

 

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

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