Myreader.co.uk  
uk news, chat and community
   home   |   control panel login   |   archive   |  
 
net
net
news.announce
news.config
news.management
news.moderation
providers
providers.aaisp
web.authoring
  
 
date: Mon, 29 Sep 2008 13:51:26 +0100,    group: uk.net.web.authoring        back       
controlling two floated objects side-by-side   
Hello guys, memory failling and I'm not sure if it's possible or what to 
search for.

When you have two block elements floating next to eachother in a resizable 
area, you shrink the window and eventualy Right-Hand block gets shoved under 
left.

Here it's the user/pass form and table next to it.
http://www.websitefoundry.co.uk/emos/second.html

Is there a way to stop this collapse without limiting the shrink or saying 
:nowrap to the entire containing div?

Thanks.

-dE|_---
date: Mon, 29 Sep 2008 13:51:26 +0100   author:   dE|_

scrap last comment... anybody out there?   
> "dE|_" wrote how...

> Oh, it's only an IE trait. Here anyway.

At one point I thought FF was playing ball but now it's suffering the same
slip under
when squ
ashed.

-dE|_---
date: Tue, 30 Sep 2008 11:30:11 +0100   author:   dE|_

Re: scrap last comment... anybody out there?   
On Tue, 30 Sep 2008 11:30:11 +0100, dE|_ wrote:

> At one point I thought FF was playing ball but now it's suffering the
> same slip under
> when squ
> ashed.

Did you solve this?
My fisrt reaction was to try enclosing the floating DIVs in a DIV with a 
fixed width, and it seems to work on FF (actually Debian Iceweasel 
2.0.0.12)

<div style ="border: thin solid blue; width: 800px">
  <div style="float: left; width: 300px; border: solid thin red">
    DIV 1
  </div>
  <div style="float: left; width: 300px; background: #dfd">
    DIV 2
  </div>
  <!-- usual trick to make outer div enclose inner floating DIVs,
    but if you leave this out the inner DIVs still sit side by side -->
  <div style="clear: both"> </div>
</div>




-- 
Anahata
anahata@treewind.co.uk -+- http://www.treewind.co.uk
Home: 01638 720444         Mob: 07976 263827
date: Fri, 24 Oct 2008 07:26:20 -0500   author:   Anahata

Google
 
Web myreader.co.uk


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us