Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: text does not wrap
05-31-2007, 02:45 PM #1
- Join Date
- May 2007
- Thanked 0 Times in 0 Posts
text does not wrap
i have a container div which house 3 divs to make up my footer
footerL | footerC | footerR
these are positioned absolutely within the container div
ON resize, the text within footerL is too large for its div (width set by px)
but instead of wraping to the next line the text extends beyond footerL and goes underneath footerC.
the text in footerR (on resize) is squashed into the available space rather than wraping to the next line
THIS ALL WORKS FINE IN IE7
(please use the font size toggle to see what i mean)
any help would be very much appreciated
06-01-2007, 04:28 AM #2
- Join Date
- Jun 2002
- Thanked 256 Times in 252 Posts
<sub> tag is a subscript tag, as in the 2 in H20.
What you want is use another div inside the div to make sub divs. You don't use a <sub> tag with a floating "div" attribute.Code:<div id="container"> <sub div id="footerL"> <center><span class="h7">Innovative Solutions</span></center> </sub> ... </div>
It may not really solve your problem but I just want to point it out.