PDA

View Full Version : layout issue


Superbob0000
05-15-2005, 04:46 PM
i have a group of text, that has numbered hyperlinks usually 1-25 per block of text. Since the amount of text between hyperlinks varies there is a few instances where the hyperlink gets caught in the middle of the word wrap. Like for hyperlink 14, it shows up as:

blah blah blah 1
4 blah blah.

The hyperlink still works, but it needs to have each group hyperlinked together, but i cant figure our how. Since my text is all flowing, <pre>, <blockquote>, <p> wont work because they add a linebreak before and after.

any suggestions would be great,

Thanks.

Voltage Spike
05-15-2005, 05:32 PM
You could use "&nbsp;" in link text to prevent line wrapping.

You could also try the following untested CSS to apply the option "globally":


a {
white-space: nowrap;
}

Superbob0000
05-15-2005, 08:35 PM
the nbsp command didnt hold the link together.

iSilo
05-15-2005, 11:17 PM
Just to make sure you understanding what &nbsp; is, it represents a non-breaking space. So what you need to do is to replace each space within the hyperlink text with &nbsp;.

Superbob0000
05-16-2005, 09:38 PM
maybe i dont understand , but ive tried both methods. here is my code(one single line. the 24 is right on the border so it splits the 2 and the 4 on seperate lines. there isnt any "spaces" to delete. ive tried the style application 4-5 different ways, they all do the same thing=nothing.(i did make the 24 show up red, so i know i have the concept down)..
so anyways...any other ideas would be great.


KKKKKKKKKKKKKKKKk<a href="1 kkkkkkkkkkk C00.htm" name="24">24</a>

Voltage Spike
05-17-2005, 09:16 AM
KKKKKKKKKKKKKKKKk<a href="1 kkkkkkkkkkk C00.htm" name="24">24</a>

Your problem isn't that iSilo is splitting links, it's that your line is too long to display on your device. The way you have written your document, it is one long word (i.e., KKKKKKKKKKKKKKKKk24). This technique of having one word with only a part of the word as the link is rather unusual, and I'm not sure what you suggest iSilo do about it. Insert a space before <a> elements if they don't exist?

Superbob0000
05-17-2005, 10:30 PM
this is a book with many chapters and paragraphs. its long text, i just pasted the important line that was messing up. each paragraph is of different length, so its just random that some paragraph links end up where the screen splits. its not everytime. on top of it all, the entire text (some 500 pages with 25+ paragraps(links)) is all chinese. so i cant use normal html cheats, although i might be willing to work with it, if i found a TAG that would help me here. since it doesnt happen but once every 3-4 pages, i can live with it. i guess im just surprised it hasnt happened to anyone else before...=)

thanks for your previous help.