On Tue, 6 Oct 2009, designer wrote: > Can anyone help me sort a problem please: > > I want to make a banner/masthead with 4 divs. Nos 1,2 and 4 are fixed width > and I want div 3 to be flexible width and fill the gap: > > > <div id="wrapper"> > > [fixed- float left] [fixed - float left] [elastic - no floats] [fixed - > float right] > > </div> > > The wrapper div takes care of the clearing, using overflow : hidden. > > It's easy with a table, but I don't seem to be able to do it with floats. > The ways I've tried either don't line up the divs vertically, or the 3rd div > width shrinks to content size. > > I hope I've explained this properly (nothing online to see yet) and I hope > someone can help.
Is this what you want: http://cfajohnson.com/testing/floatdivs.shtml ? -- Chris F.A. Johnson, webmaster <http://woodbine-gerrard.com> =================================================================== Author: Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress) ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *******************************************************************