long text going over div border
Posted: 01 August 2007 07:50 AM   [ Ignore ]
Newbie
Rank
Total Posts:  4
Joined  2007-07-30

if we have a long text without spaces like a long url address and put it on div, it will cross the div, not wrapped. how do i handle that ? wrapping is better :D

Profile
 
 
Posted: 01 August 2007 01:49 PM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  19
Joined  2006-05-22

You can follow the example of “A List Apart”.

What they do with a lengthly URL is divide it up with a =>, for example:

http://myDomain.com/some-directory/another-directory/a-webpage.php?a=this&b=that&c=whatever

would be shown as

http://myDomain.com/some-directory/another-directory/=>
a-webpage.php?a=this&b=that&c=whatever

This is a common practice.

Regards,
vladimirallen

Profile