| 
	
 | 
 Posted by Jukka K. Korpela on 08/19/07 18:38 
Scripsit Rafal Maj: 
 
> Hello, 
> is there a html entity or something that tells browser where it can 
> brake text when lacking white spaces? 
 
There's something, namely the <wbr> tag, which is widely supported by  
browsers though not contained in any specification. 
 
> In example I have text: 
> aaaaaaaaaaaaammmmmmmmmmmmmmmmmmmmmmmmmmmzzzzz 
 
Looks somewhat odd. I wonder what it means. Generally, when you have such a  
problem, it's best to consider whether the content is meaningful and how it  
might be changed. 
 
> and its displayed in container that (with this font etc) will hold up 
> to 10 characters (or will overflow etc which is bad). 
 
"Doctor, it hurts when I do this." 
"Then don't do that." 
 
That is, why do you create the problem by squeezing something into a narrow  
area where it cannot fit? 
 
More info: http://www.cs.tut.fi/~jkorpela/html/nobr.html#suggest 
 
--  
Jukka K. Korpela ("Yucca") 
http://www.cs.tut.fi/~jkorpela/
 
  
Navigation:
[Reply to this message] 
 |