 |
 |
HTML Spaces
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
So the non-breaking space, , looks like a space, but acts like a letter. Meaning text won't wrap at the non-breaking space. Is there a character that does kind of the opposite? An invisible breaking space? Something that would act like a space, but have no width? Something I could put between every character of a long string, like say a 256 character hash, and have it wrap nicely as needed?
|
|
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: Mar 2004
Location: Copenhagen
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: Mar 2004
Location: Copenhagen
Status:
Offline
|
|
Originally Posted by besson3c
That won’t remove the need to manually insert a hyphenable (hyphenatable?) character between each character. Even if setting hyphenation to ‘all’ in your CSS, it won’t break a word between two regular characters.
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Then I guess your only option is Javascript.
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Oct 2005
Location: Houston, TX
Status:
Offline
|
|
Why would you need js? Just use ​ between each character.
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Originally Posted by mduell
Why would you need js? Just use &#8203 between each character.
Ahhh.. You're right! I've never used the zero width space before... Interesting.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
So this works well, with one problem. If someone is copying text off a web page, the result is not going to be what they expect. And since this whole post was about a hash generator, there's a good chance the results WILL be copied. Maybe I can make a "button" that will replaced the plain text html results with results in a text area that can be easily copied... yeah that sounds like a plan.
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Maybe the hash could be displayed in a modal box so that it is out of the document flow?
|
|
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: Jun 2000
Location: We come from the land of the ice and snow...
Status:
Offline
|
|
If they need to copy it without spaces, just hide the overflow and let them select the text box and select all, copy.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|