[WSG] Wrapping text before float drop

2011-11-03 Thread Stevio
If I have two floats side by side, both are floated left as follow: .myfloat{ float:left; } and both contain text as follows: div class=myfloatLonger amount of text. Longer amount of text. Longer amount of text. Longer amount of text./div div class=myfloatSmall amount of text./div Is there

Re: [WSG] Wrapping text before float drop

2011-11-03 Thread Patrick H. Lauke
On 03/11/2011 17:52, Stevio wrote: If I have two floats side by side, both are floated left as follow: .myfloat{ float:left; } and both contain text as follows: div class=myfloatLonger amount of text. Longer amount of text. Longer amount of text. Longer amount of text./div div

[WSG] Re: WSG Digest (Out of office reply)

2011-11-03 Thread Claire Helme
I will be out of the office on Thursday 3rd November with limited access to emails. I will respond to your email when I return on Friday 4th. Kind regards, Claire Helme wsg@webstandardsgroup.org 11/04/11 05:02 * WEB

Re: [WSG] Wrapping text before float drop

2011-11-03 Thread Stevio
I'm trying to avoid using widths, if possible, so the divs can adjust to the size of the content, but wrap text before float drop occurs. Think of how two columns work in a table, when they have no specified width. They adjust to the size of the content and the available width, and wrap their

Re: [WSG] Wrapping text before float drop

2011-11-03 Thread Hassan Schroeder
On 11/3/11 11:43 AM, Stevio wrote: I'm trying to avoid using widths, if possible, so the divs can adjust to the size of the content, but wrap text before float drop occurs. Think of how two columns work in a table, when they have no specified width. They adjust to the size of the content and

Re: [WSG] Wrapping text before float drop

2011-11-03 Thread Chris F.A. Johnson
On Thu, 3 Nov 2011, Stevio wrote: If I have two floats side by side, both are floated left as follow: .myfloat{ float:left; } and both contain text as follows: div class=myfloatLonger amount of text. Longer amount of text. Longer amount of text. Longer amount of text./div div

Re: [WSG] Wrapping text before float drop

2011-11-03 Thread Russ Weakley
Think of how two columns work in a table, when they have no specified width. They adjust to the size of the content and the available width, and wrap their content if the available width is reduced. This should be easy in CSS, no? The simple answer is that floats are not ideal in this

Re: [WSG] Wrapping text before float drop

2011-11-03 Thread Philip TAYLOR (Webmaster, Ret'd)
Chris F.A. Johnson wrote: Use a table. If the relationship between them is such that they must be side by side, then a table is the correct element to use. Two columns must be side-by-side, Chris, yet the received wisdom is that a table is an inappropriate way of presenting such material,

Re: [WSG] Wrapping text before float drop

2011-11-03 Thread Stevio
From: Hassan Schroeder has...@webtuitive.com Sent: Thursday, November 03, 2011 7:32 PM Think of how two columns work in a table, when they have no specified width. They adjust to the size of the content and the available width, and wrap their content if the available width is reduced. Do you

Re: [WSG] Wrapping text before float drop

2011-11-03 Thread Stevio
Thanks Russ. Box-flex / flexible box does not yet appear to have much browser support, so that rules that out for now. Support for CSS3 columns will arrive in IE10 according to http://www.findmebyip.com/litmus, but Windows XP users are stuck with IE8 and can't even get IE9. Your solution

Re: [WSG] Wrapping text before float drop

2011-11-03 Thread Chris F.A. Johnson
On Thu, 3 Nov 2011, Philip TAYLOR (Webmaster, Ret'd) wrote: Chris F.A. Johnson wrote: Use a table. If the relationship between them is such that they must be side by side, then a table is the correct element to use. Two columns must be side-by-side, Chris, yet the received wisdom is that a

[WSG] Re: WSG Digest

2011-11-03 Thread Alan C. Whiteman
On Fri 04 Nov 2011 05:02:22 AM PDT, wsg@webstandardsgroup.org wrote: * WEB STANDARDS GROUP MAIL LIST DIGEST * From: Stevioredea...@freeuk.com Date: Thu, 3 Nov

[WSG] WSG Passwords

2011-11-03 Thread Rob Howard
Hello, Just a quick (worrying) note: I just filled out the Forgot Password? form on the webstandardsgroup.orgsite and had my password sent back to me. Either the passwords are being stored in plain text, or are being encrypted with a key that the website software has access to. Could an admin

Re: [WSG] Wrapping text before float drop

2011-11-03 Thread Oliver Boermans
One more: - Option 4 - overflow: hidden instead of float on the second div - http://annevankesteren.nl/2005/03/clearing-floats Although you may need to set some form of width on the first for this to work. On 4 November 2011 06:51, Russ Weakley

Re: [WSG] Wrapping text before float drop

2011-11-03 Thread David Hucklesby
On 11/3/11 10:52 AM, Stevio wrote: If I have two floats side by side, both are floated left as follow: .myfloat{ float:left; } and both contain text as follows: div class=myfloatLonger amount of text. Longer amount of text. Longer amount of text. Longer amount of text./div div