Problems with floats?

I’m having a problem getting several inline boxes to float properly. I want to have one contact wrapper box that floats right and within that three additional inline boxes that all float to the right. Everything will have flexible widths.

However, when I do that any of the contained boxes that I set to flexible width adds additional blank space to the right of the content and if I set the the rightmost box to flexible it will extend off my page, which should happen. All of the contained boxes are set to clear none.

What am I doing wrong?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Have you tried viewing a published copy? I’ve noticed that a lot times when I’m trying inline layouts that things look a little off while working in Freeway, but they look fine after viewing a published copy of the page.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Flexible width implies the entire width of the container element. Three
such items, regardless of float, should all try to be as wide as their
container will allow.

Try another width strategy, such as max-width. These elements would then
only be as wide as the max-width setting will allow them. Or you can try
fixed % - where they will maintain a fixed percentage of their container
width.

Floats are contextual, so it can seem difficult to understand the “rules”
of how they work, especially given you must first understand the context in
which they appear.


Ernie Simpson

On Wed, Apr 10, 2013 at 9:41 AM, RavenManiac email@hidden wrote:

I’m having a problem getting several inline boxes to float properly. I
want to have one contact wrapper box that floats right and within that
three additional inline boxes that all float to the right. Everything will
have flexible widths.

However, when I do that any of the contained boxes that I set to flexible
width adds additional blank space to the right of the content and if I set
the the rightmost box to flexible it will extend off my page, which should
happen. All of the contained boxes are set to clear none.

What am I doing wrong?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 10 Apr 2013, 2:27 pm, Rich Gannon wrote:

Have you tried viewing a published copy? I’ve noticed that a lot times when I’m trying inline layouts that things look a little off while working in Freeway, but they look fine after viewing a published copy of the page.

I’ve noticed that too, but not in this particular case.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 10 Apr 2013, 2:38 pm, The Big Erns wrote:

Flexible width implies the entire width of the container element. Three
such items, regardless of float, should all try to be as wide as their
container will allow.

This makes sense, but it isn’t what’s happening. I’ll play around with it some more. I’ve noticed that sometimes one stupid little setting will screw up the works. :slight_smile:


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options