Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Stretching adjacent floats

Reply
Thread Tools

Stretching adjacent floats

 
 
search.thing@googlemail.com
Guest
Posts: n/a
 
      10-02-2008
I am trying to achieve the following but I am not sure how to:

I have two divs contained within an outer div which is constrained by
a fixed width. The inner two divs should appear alongside each other
with the left floating div stretching rightwards to fill the space not
taken up by the right floating div. The problem is I do not know the
width of the right most div as the width changes depending on content.
So the left floating div needs to stretch each time to fill the slack
space.

TIA
 
Reply With Quote
 
 
 
 
Neredbojias
Guest
Posts: n/a
 
      10-02-2008
On 02 Oct 2008, wrote:

> I am trying to achieve the following but I am not sure how to:
>
> I have two divs contained within an outer div which is constrained by
> a fixed width. The inner two divs should appear alongside each other
> with the left floating div stretching rightwards to fill the space not
> taken up by the right floating div. The problem is I do not know the
> width of the right most div as the width changes depending on content.
> So the left floating div needs to stretch each time to fill the slack
> space.


Float the right div in the left-floated div.

--
Neredbojias
http://www.neredbojias.org/
Great Sights and Sounds
 
Reply With Quote
 
 
 
 
Jonathan N. Little
Guest
Posts: n/a
 
      10-05-2008
In article <Xns9B2B3DDF3D546neredbojiasnano@194.177.96.78>
> On 02 Oct 2008, wrote:
>
> > I am trying to achieve the following but I am not sure how to:
> >
> > I have two divs contained within an outer div which is constrained by
> > a fixed width. The inner two divs should appear alongside each other
> > with the left floating div stretching rightwards to fill the space not
> > taken up by the right floating div. The problem is I do not know the
> > width of the right most div as the width changes depending on content.
> > So the left floating div needs to stretch each time to fill the slack
> > space.

>
> Float the right div in the left-floated div.
>
>

Or just float the right and leave the left in normal flow.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
Neredbojias
Guest
Posts: n/a
 
      10-05-2008
On 04 Oct 2008, Jonathan N. Little <> wrote:

> In article <Xns9B2B3DDF3D546neredbojiasnano@194.177.96.78>
>> On 02 Oct 2008, wrote:
>>
>> > I am trying to achieve the following but I am not sure how to:
>> >
>> > I have two divs contained within an outer div which is constrained
>> > by a fixed width. The inner two divs should appear alongside each
>> > other with the left floating div stretching rightwards to fill the
>> > space not taken up by the right floating div. The problem is I do
>> > not know the width of the right most div as the width changes
>> > depending on content. So the left floating div needs to stretch
>> > each time to fill the slack space.

>>
>> Float the right div in the left-floated div.
>>
>>

> Or just float the right and leave the left in normal flow.


Uh huh, that's probably better than the way I mentioned which would,
incidentally, require additional widthing. However, the solo float
right would have to be marked up before the normal-flow left div.

--
Neredbojias
http://www.neredbojias.org/
Great Sights and Sounds
 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      10-05-2008
In article <Xns9B2E37536272neredbojiasnano@194.177.96.78>
> Uh huh, that's probably better than the way I mentioned which would,
> incidentally, require additional widthing. However, the solo float
> right would have to be marked up before the normal-flow left div.
>


Yes, unfortunately it's required to meet the OP's criteria.

Oh and Neredbojias, a while back you were hunting for another news
server. What did you settle upon? I been looking for a freebie text-only
because my ISP supplied with nTelos is on the fritz AGAIN. nTelos has
the flakiest service. This is posted via aiole.org seems okay, doesn't
have comp.infosystems.www.authoring.html though...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
Neredbojias
Guest
Posts: n/a
 
      10-05-2008
On 05 Oct 2008, Jonathan N. Little <> wrote:

> In article <Xns9B2E37536272neredbojiasnano@194.177.96.78>
>> Uh huh, that's probably better than the way I mentioned which would,
>> incidentally, require additional widthing. However, the solo float
>> right would have to be marked up before the normal-flow left div.
>>

>
> Yes, unfortunately it's required to meet the OP's criteria.
>
> Oh and Neredbojias, a while back you were hunting for another news
> server. What did you settle upon? I been looking for a freebie
> text-only because my ISP supplied with nTelos is on the fritz AGAIN.
> nTelos has the flakiest service. This is posted via aiole.org seems
> okay, doesn't have comp.infosystems.www.authoring.html though...


I, too, am using news.aioe.org (-and also don't seem to have
comp.infosystems.www.authoring.html.) Motzarella ?may? be working
again which is another free news provider (news.motzarella.org). I got
both of these from 'the fishmeister' who may know of others.

--
Neredbojias
http://www.neredbojias.org/
Great Sights and Sounds
 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      10-05-2008
In article <Xns9B2E52830D395neredbojiasnano@194.177.96.78>
> I, too, am using news.aioe.org (-and also don't seem to have
> comp.infosystems.www.authoring.html.)


Seems to be sometimes slow on update. nTelos is fine when it works. I
can receive articles but can no longer post. They may have changed their
authorization protocol and 'forgot' to inform my ISP!

> Motzarella ?may? be working
> again which is another free news provider (news.motzarella.org). I got
> both of these from 'the fishmeister' who may know of others.


Yeah, I was looking at that one as well. Most of the freebies are
readonly binaries that cater to a specific clientèle.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
Blinky the Shark
Guest
Posts: n/a
 
      10-05-2008
Jonathan N. Little wrote:

> In article <Xns9B2E37536272neredbojiasnano@194.177.96.78>
>> Uh huh, that's probably better than the way I mentioned which would,
>> incidentally, require additional widthing. However, the solo float
>> right would have to be marked up before the normal-flow left div.
>>

>
> Yes, unfortunately it's required to meet the OP's criteria.
>
> Oh and Neredbojias, a while back you were hunting for another news
> server. What did you settle upon? I been looking for a freebie text-only
> because my ISP supplied with nTelos is on the fritz AGAIN. nTelos has
> the flakiest service. This is posted via aiole.org seems okay, doesn't
> have comp.infosystems.www.authoring.html though...


See sig.

--
Blinky
Need a new news feed? http://blinkynet.net/comp/newfeed.html

 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      10-05-2008
In article <>,
Jonathan N. Little <> wrote:

> This is posted via aiole.org seems okay, doesn't
> have comp.infosystems.www.authoring.html though...


So that is why I was having trouble with aiole and ciwa. There is
something odd about ciwa, Google Groups says: "You cannot post messages
because this group is only available as an archive".

aiole was too many times saying you cannot post because of a lost
connection with server and would do odd things like suddenly make the
unread messages number to be fetched disappear to zero. So I switched
back to Optus newsserver which, to use your terrific phrase (in a
related post, is "fine when it works".

--
dorayme
 
Reply With Quote
 
Neredbojias
Guest
Posts: n/a
 
      10-06-2008
On 05 Oct 2008, Jonathan N. Little <> wrote:

> In article <Xns9B2E52830D395neredbojiasnano@194.177.96.78>
>> I, too, am using news.aioe.org (-and also don't seem to have
>> comp.infosystems.www.authoring.html.)

>
> Seems to be sometimes slow on update.


Yep.

> nTelos is fine when it works. I
> can receive articles but can no longer post. They may have changed
> their authorization protocol and 'forgot' to inform my ISP!


Could be. I have cable so I dunno how aioe verifies me.

>> Motzarella ?may? be working
>> again which is another free news provider (news.motzarella.org). I
>> got both of these from 'the fishmeister' who may know of others.

>
> Yeah, I was looking at that one as well. Most of the freebies are
> readonly binaries that cater to a specific clientèle.


True, but I myself don't "do" binaries, anyway. I believe Blinky's posted
sig-link page had another news server offered but forgot the name.

--
Neredbojias
http://www.neredbojias.org/
Great Sights and Sounds
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adjacent Tables The Doctor HTML 2 10-21-2006 03:06 PM
Route-Map / Adjacent Next Hop Question Eric Cisco 15 02-15-2006 05:04 AM
Floats to chars and chars to floats Kosio C Programming 44 09-23-2005 09:49 AM
Graphs and identifying adjacent nodes vee dub Java 4 11-20-2004 02:33 PM
arp-in request dropped (non-adjacent) Raymond Doetjes Cisco 2 04-03-2004 06:17 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57