links in tables do not wrap - help

L

leegold2

Is there any html code to get very long links to wrap inside a table
cell? The longest link keeps it's column very wide and messes up the "look".

Any ideas appreciated,
Lee
 
R

Richard

leegold2 said:
Is there any html code to get very long links to wrap inside a table
cell? The longest link keeps it's column very wide and messes up the
"look".
Any ideas appreciated,
Lee

You mean like showing www.supercalifragilisticexpialidocius.com and the
table is only 20 pixels wide?

You could try using "<a
href="www.supercalifragilisticexpialidocius.com">WOW!<a/>
Then the link itself appears in the status bar.
Or do it within a <span> and use some other text tricks.
 
J

Jukka K. Korpela

leegold2 said:
Is there any html code to get very long links to wrap inside a
table cell?

You don't need any special code for that - but you may need to remove
some code that you have used to prevent normal wrapping.

But why do you use very long links? Link texts should normally be just
a few words.

Please don't hesitate to post the specific URL if you want to get
specific advice.
 
O

Oli Filth

J

Jukka K. Korpela

Oli Filth said:
This is only true if there are space characters within the link
text.

It's actually much more complicated than that. But why wouldn't you use
spaces in link texts.
I'm guessing he's using a long URL as the link text,

That might well be the case, but as I wrote, if the OP wants specific
help, he needs to give specific information such as a specific URL.
Then we can discuss why he's using URLs as link texts. Do you refer to
books by their ISBN numbers in normal speech?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,811
Messages
2,569,693
Members
45,477
Latest member
IsidroSeli

Latest Threads

Top