You are here: Re: How to wrap continous text? « HTML « IT news, forums, messages
Re: How to wrap continous text?

Posted by Jonathan N. Little on 06/25/05 20:53

Lauri Raittila wrote:

> in alt.html, goofire@gmail.com wrote:
>
>
>>Because the line is continuous with no spaces, the browser won't wrap
>>the text. My goal is to have the text wrap according to the size of
>>the browser window.
>>
>>Anyone know how to do this? Thanks!
>
>
> CSS: white-space:pre-line;
> http://www.w3.org/TR/CSS21/text.html#white-space-prop
>
> For IE, word-wrap:break-word might work.
>
> Don't know much about support.
>
> And then there is of course <wbr>. More:
> http://www.cs.tut.fi/~jkorpela/html/nobr.html#suggest
>

Why not rethink it. Just pre-break it into a static reasonable character
count, like 72 characters. Then with your presentation put it in a div
styled to separated it from your main text and convey that the genome
characters are one continuous block of code?

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this 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

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