Log in   Register a New Account

Accessify Forum - Discuss Website Accessibility

New to the forum?

Only an email address is required.

Register Here

Already registered? Log In

Currently Online

No registered users are online.

wrapping hyperlinks

Reply with quote 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
Reply with quote 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
Reply with quote IE does honour whitespace doesnt it?

<p style="white-space: nowrap;">lots and lots and lots and lots and lots of text...</p>

Mark Thomas
MSN: markthomas1970@hotmail.com
_________________
Reply with quote 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> Embarassed

Tommy has left the building
Reply with quote Tsk, tsk ... you omitted the underscore prefixing self Rolling Eyes Very Happy

Mike Pepper
You know something: I care about people.
Business Website Development
Reply with quote Ohmigod ... nerd humor! Very Happy

I'll let that one slide just because you said you're mentally exhausted from your all-night redesign bash.

Mike, go to bed! Laughing

Tommy has left the building
Reply with quote It is "whitespace: pre" that IE stumbles over.

How long have you been up Mike? Post 24 hours?

Mark Thomas
MSN: markthomas1970@hotmail.com
_________________
Reply with quote Since 6am yesterday. Can't do the math Smile

Mike Pepper
You know something: I care about people.
Business Website Development
Reply with quote
Quote:
enigma

Posts: 181

Posted: Wed Apr 28, 2004 2:02 pm

Location: Bed, UK

Kajun
Reply with quote 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
Reply with quote This has motivated me to start a poll in Coffee Break forum...

Mark Thomas
MSN: markthomas1970@hotmail.com
_________________

Display posts from previous:   

All times are GMT

  • Reply to topic
  • Post new topic