Building a web site and cannot get the 'wrapper' element to extend to accomodate expansion of floated elements within it - hope that makes sense - have read it may be to do with inserting a 'clear statement' after the floated elements and before the wrapper closes but, can't get it to work - hense the headache! CSS and HTLM below
<div slass=\"wrapper\"> <div class=\"insideLeft\"> ... </div> <div class=\"insideRight\"> ... </div> <div class=\"clear\"><!-- I like to put empty space here just for IE --></div> </div>
Thanks for all of the help / ideas - think I have solved it - more luck than anything else! - rebuilt the main section and included a footer and by using the 'clear' option under the 'box entry - appears to force the 'wrapper' element to expand- hey-ho - off for a beer..
Now be gentle with me as I'm new to this.
Building a web site and cannot get the 'wrapper' element to extend to accomodate expansion of floated elements within it - hope that makes sense - have read it may be to do with inserting a 'clear statement' after the floated elements and before the wrapper closes but, can't get it to work - hense the headache! CSS and HTLM below
Any help, ideas, solutions gratefully accepted
John C
but have this in your css
.clear { clear:both;}
and the rule for the wrapper is:
yes: http://www.woskf.co.uk/
also, just for you: http://www.honeycomb-web.co.uk/test.html
Thanks for all of the help / ideas - think I have solved it - more luck than anything else! - rebuilt the main section and included a footer and by using the 'clear' option under the 'box entry - appears to force the 'wrapper' element to expand- hey-ho - off for a beer..