Reply to Re: Get div to wrap contents

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация