wrapping hyperlinks
I have notice a problem with hyperlinks in Internet Explorer. The hyperlinks don't wrap to the next line. I would like these hyperlinks to wrap to the next line when the text is too long. How can I get those to wrap?
Stephanie Warenski
Stephanie Warenski
Hyperlinks do wrap in IE, so there must be something special about yours. In fact, IE wraps text (including hyperlinks) in more places than it should, according to the standards. It breaks a line at a hypen, for instance, and also after parentheses and stuff. I've seen it break "(X)HTML" into
... (X)
HTML ...
which isn't pretty.
If your anchor text consists of multiple, space-separated words, there should be no problem. Just make sure you don't use between the words.
IE doesn't honor the 'whitespace:nowrap' property value in CSS, so the only way I know of to make it not wrap the text would be to use the non-standard <nowrap> element, or the <pre> element.
Can you provide an example? A URL perhaps?
Tommy has left the building
... (X)
HTML ...
which isn't pretty.
If your anchor text consists of multiple, space-separated words, there should be no problem. Just make sure you don't use between the words.
IE doesn't honor the 'whitespace:nowrap' property value in CSS, so the only way I know of to make it not wrap the text would be to use the non-standard <nowrap> element, or the <pre> element.
Can you provide an example? A URL perhaps?
Tommy has left the building
IE does honour whitespace doesnt it?
<p style="white-space: nowrap;">lots and lots and lots and lots and lots of text...</p>
<p style="white-space: nowrap;">lots and lots and lots and lots and lots of text...</p>
I may be mistaken on this. Is it 'white-space: pre' it doesn't honor? I rarely use either of those, but I had some problems with one or the other a couple of years ago.
<memo target="self">Verify claims before posting them.</memo>
Tommy has left the building
<memo target="self">Verify claims before posting them.</memo>
Tommy has left the building
Tsk, tsk ... you omitted the underscore prefixing self
Ohmigod ... nerd humor!
I'll let that one slide just because you said you're mentally exhausted from your all-night redesign bash.
Mike, go to bed!
Tommy has left the building
I'll let that one slide just because you said you're mentally exhausted from your all-night redesign bash.
Mike, go to bed!
Tommy has left the building
It is "whitespace: pre" that IE stumbles over.
How long have you been up Mike? Post 24 hours?
How long have you been up Mike? Post 24 hours?
Since 6am yesterday. Can't do the math
| Quote: |
| enigma
Posts: 181 Posted: Wed Apr 28, 2004 2:02 pm Location: Bed, UK |
Kajun
You people crack me up! In more ways than one. I'm glad that my body won't let me stay awake for that long.
Stephanie
Stephanie
This has motivated me to start a poll in Coffee Break forum...


