|
Posted by Bergamot on 04/25/07 12:41
Jon Slaughter wrote:
>
> I basically don't want to have any horizontal scrolling
> but no clipping either. I want the text to wrap when its to long.
>
> http://www.jonslaughter.com
As long as you have that excessively long, unbroken line of text you
will have horizontal scrolling. How to deal with something like this has
been discussed many times before. Google the archives and read about it.
The short answer, however, is there is no reliable client-side way to do
what you want, you need to do something server-side.
> My code is very convoluted
Your code is a train wreck. I find it ironic that you have that notice
about only supporting "compliant" browsers, but your code doesn't come
close to validating, uses a transitional DOCTYPE, and is riddled with IE
conditional comments. You should start over, with HTML 4.01 Strict.
--
Berg
Navigation:
[Reply to this message]
|