PDA

View Full Version : answer to Louie's question: how to eliminate spaces before HTML table


Arnold Winkelried
12-03-1999, 11:17 AM
I think that when you post messages, the UBB software adds a < BR > to replace every carriage return.

so if you have several HTML commands following each other on separate lines,
such as
< table border=1 width="100% >
< tr >
< td >
text
< /td >
< /tr >
< /table >
You will see a blank line for every HTML command line. What I did was remove all "returns" between HTML commands, e.g.
< table border=1 width="100% >< tr >< td >text< /td >< /tr >
< tr > < td > more text > < /td > < /tr >< /table >

------------------
La franchise ne consiste pas à dire tout ce que l'on pense, mais à penser tout ce que l'on dit.
H. de Livry

Louie
12-04-1999, 04:23 AM
Thanks, Arnold.

test...
==start of code==
<table border="1">
<tr>
<td>#1</td>
<td>#2</td>
<td>#3</td>
<td><marquee>test</marquee></td>
<td>#4</td>
<td><font size=7>test</font></td>
</tr>
</table>
==end of code==

==start of code==
<table border="1"><tr><td>#1</td><td>#2</td><td>#3</td><td><marquee>test</marquee></td><td>#4</td><td><font size=7>test</font></td></tr></table>
==end of code==

------------------
...and remember, duct tape fixes all your problems, big and small.

Fun with HTML (tutoral) : The True Sequal (http://www.straightdope.com/ubb/Archives/Archive-000001/HTML/19991103-2-000302.html) Give someone an FU (http://www.straightdope.com/ubb/Forum5/HTML/000255.html)

TubaDiva
12-04-1999, 11:23 AM
Thanks, Arnold, this has been driving us CRAZY.

(Not that we had far to go or anything.)

your humble TubaDiva
for the Straight Dope

TubaDiva
12-07-1999, 12:11 AM
Well, either it "wraps" or it lengthens the line so that you have to scroll back and forth to read it, which is a big pain. Frankly, I'd prefer the wrap.

your humble TubaDiva
for the Straight Dope

Arnold Winkelried
12-07-1999, 12:24 AM
You're welcome. Now if someone could explain to me how to prevent UBB software from "wrapping" to the next line when you have a very long html link with a hyphen in it! (it seems to wrap after the hyphen.) :)

------------------
La franchise ne consiste pas à dire tout ce que l'on pense, mais à penser tout ce que l'on dit.
H. de Livry

Arnold Winkelried
12-07-1999, 11:50 AM
Well, sure, I don't want the screen to become very wide, but what I meant is when you say
[ url = http: // very long link ]Link Description [ /url ]
I would be happy if it would hide the long link. Instead, it wraps, and the whole [ url ] [ / url ] code becomes a mess.

Arnold Winkelried
12-07-1999, 02:59 PM
"Doesn't work"? What does that mean?

try posting a message. Inside the message, put in colon, right parenthesis with no space between them.

:)

------------------
La franchise ne consiste pas à dire tout ce que l'on pense, mais à penser tout ce que l'on dit.
H. de Livry

Jois
12-07-1999, 03:03 PM
See next thread - Tuba Tuba Tuba - Thanks!

TubaDiva
12-07-1999, 03:34 PM
Well, sure, I don't want the screen to become very wide, but what I meant is when you say
[ url = http: // very long link ]Link Description [ /url ]
I would be happy if it would hide the long link. Instead, it wraps, and the whole [ url ] [ / url ] code becomes a mess.

By any chance are you allowing space between the two blocks of code?

There should be NO white space between the two brackets. As so:

{url=http://www.straightdope.com}THE STRAIGHT DOPE{/url}
(of course, substitute straight brackets for curly ones)

As per this: The Straight Dope (http://www.straightdope.com)

your humble TubaDiva
for the Straight Dope

Arnold Winkelried
12-07-1999, 06:18 PM
Sure, TubaDiva, but there are some links that go beyond the line length allowed by the UBB software (at least that's my guess.) So then it's word-wrapped after the hyphen, which breaks the [ url ] [ / url] attempt.

e.g.

Long link (http://www.sfgate.com/cgi-bin/srch_archive/srch-list.cgi?p=chron&y=1999&fm=01&fd=01&tm=12&td=31&cs=&es=&h=&b=&q=devil&t=sorted_search.tmpl&a=search&d=thedate&wdb=%2Fsfgate%2Fw ais%2F)

Jois
12-08-1999, 12:25 AM
Tuba is napping - so while you wait tell me why I can't get these darned smiley faces to work.....<font color=red>Pleeeeze</font>