You are here: Re: growing <div>s « HTML « IT news, forums, messages
Re: growing <div>s

Posted by richard on 09/25/06 16:17

<jason@cyberpine.com> wrote in message
news:1159184425.487925.88170@b28g2000cwb.googlegroups.com...
> looks like this will do it overflow:auto;">
>
>
> <div style="position:absolute;
> left:100px;
> top:100px;
> width:100px;
> height:100px;
> background-color:#ffffff;
> overflow:auto;">
> </div>

Yeah that should work but I'd drop the height.
Have you tried doing the same thing but with a "container" division for
both?
Use the above style for the container as well and see what happens.
Instead of inline, do the style in the <head>.
Then you'd show something like:

<div id="container">
<div id="box1">hello</div>
<div id="box2">goodbye</div>
</div>

The idea behind the container is to keep the boxes from breaking when not
desired.

 

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

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