Click to See Complete Forum and Search --> : resizing browser without breaking up a text line


ezekiel
03-06-2003, 03:40 PM
I"m new to HTML, so, forgive me if this question sounds stupid. I have a text line that contains 4 words that is in a cell of a table. When I resize my browser, the table will shrink and that line of text will break up until each word is on a line by it self. Is there an HTML tag(without resorting to javascript or graphic) that I can use to say that those 4 words must be on the same line? This is useful when you have an institution that has a long name.

Any help is appreciated, EZ.

Damien
03-06-2003, 03:55 PM
A quick way around that problem would be to size the table in pixels rather than percentage.

<table width="100%" border="0"> this will use the full width of the window, therefore when the window is resized the table will resize.

<table width="460" border="0"> this will stay at 460 pixels no matter what size the window is.

boojum
03-06-2003, 04:57 PM
instead of using a normal space between your words, use   or &nbsp; (theyre both the same thing, a non-breaking space)

[edit: ' ' or '&nbsp;' without the quotes]

[ & # 1 6 0 ; or & n b s p ; without the spaces in between]