The Collector Forums are provided as a service to Harbour Lights collectors and others Interested in lighthouses world-wide by Lighthouse Keepers. The posts reflect the opinions of the individual. Not affiliated with Harbour Lights or Younger & Associates.


UBBFriend: Email This Page to Someone!
  Collector Forums
  Forum About These Forums
  Kuhl party, your table is ready...

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   Kuhl party, your table is ready...
JTimothyA
Saint

Posts: 1266
From: Planet Fresnel
Registered:

posted 12-04-1998 10:45 PM     Click Here to See the Profile for JTimothyA   Click Here to Email JTimothyA     Edit/Delete Message Reply w/Quote
Here's an example of a simple table...

Row1 Column1...Row1 Column2..Row1 Column3.
Row2 Column1.Row2 Column2...Row2 Column3..
Row3 Column1..Row3 Column2.Row3 Column3...

Here's the HTML code used to create it.

(table align="left")(table cellpadding="4")(table border="1")(tr)(td)Row1 Column1...(/td)(td)Row1 Column2..(/td)(td)Row1 Column3.(/td)(/tr)(tr)(td)Row2 Column1.(/td)(td)Row2 Column2...(/td)(td)Row2 Column3..(/td)(/tr)(tr)(td)Row3 Column1..(/td)(td)Row3 Column2.(/td)(td)Row3 Column3...(/td)(/tr)(/table)

Normally this is nicely formatted and much easier to read. Unfortunately, the UBB software does some nasty things when it parses the HTML. To overcome this intrusion, we're forced to concatenate all the lines together.

Anyway, you can try cutting and pasting the above code into the message creation window.

Notes:
1) you must replace the parenthesis with angle brackets. This is the hassle part.

2) replace the sample text, such as "Row1 Column1..." with your own text.

3) aside from inserting your own text, use care not to add any spaces outside your text area.

You can see why it may be easier to use an HTML editor for this kind of work. Let me know if you really need a different size table (more rows or columns).

Rgds,
__
/im

[This message has been edited by JTimothyA (edited 12-05-98).]

JTimothyA
Saint

Posts: 1266
From: Planet Fresnel
Registered:

posted 12-05-1998 12:42 AM     Click Here to See the Profile for JTimothyA   Click Here to Email JTimothyA     Edit/Delete Message Reply w/Quote
Here's a try based on the above instructions...

Row1 Column1...Row1 Column2..Row1 Column3.
Row2 Column1.Row2 Column2...Row2 Column3..
Row3 Column1..Row3 Column2.Row3 Column3...

Looks like it works!

[This message has been edited by JTimothyA (edited 12-05-98).]

FredKuhl
Cruise Director

Posts: 322
From: San Jose, CA, USA
Registered:

posted 12-05-1998 11:39 AM     Click Here to See the Profile for FredKuhl   Click Here to Email FredKuhl     Edit/Delete Message Reply w/Quote
Thanks Tim,
But, you can't teach an old dog new tricks. You can try, but first you have to get his attention. The best way to do that is hit him over the head with a 2x4. But at this distance they don't make 2x4s that long. Guess I'll just stick with the periods and hope they don't do something to them.

FredKuhl
Cruise Director

Posts: 322
From: San Jose, CA, USA
Registered:

posted 12-05-1998 05:11 PM     Click Here to See the Profile for FredKuhl   Click Here to Email FredKuhl     Edit/Delete Message Reply w/Quote
Looking back on this, I not only am confused, I feel so congested. Am I coming down with something. Dr. Tim, what do you proscribe?

FredKuhl
Cruise Director

Posts: 322
From: San Jose, CA, USA
Registered:

posted 12-05-1998 10:39 PM     Click Here to See the Profile for FredKuhl   Click Here to Email FredKuhl     Edit/Delete Message Reply w/Quote
Help Tim,

The walls are closing in and I find it hard to breathe.

JTimothyA
Saint

Posts: 1266
From: Planet Fresnel
Registered:

posted 12-05-1998 10:53 PM     Click Here to See the Profile for JTimothyA   Click Here to Email JTimothyA     Edit/Delete Message Reply w/Quote
For goodness sake Fred, take two thumbnails and call Jim Rutherford in the morning.

__
/im [if I have to drive out there, I'm bringing my torque wrench!]

Rod Watson
Saint

Posts: 802
From: Akron, Oh
Registered:

posted 12-06-1998 11:19 PM     Click Here to See the Profile for Rod Watson   Click Here to Email Rod Watson     Edit/Delete Message Reply w/Quote
I     have     alot     of     spaces     Tim,     without     using     tables!

I just used the [pre]...your message...[/pre] tag with as many gaps as I wanted, although I had to set a font size and face style along with it. If I didnt, the font would look like:
very, very, small unreadable font size!


-RodW[This message has been edited by Rod Watson (edited 12-06-98).]

JTimothyA
Saint

Posts: 1266
From: Planet Fresnel
Registered:

posted 12-07-1998 12:39 AM     Click Here to See the Profile for JTimothyA   Click Here to Email JTimothyA     Edit/Delete Message Reply w/Quote
Rod makes an interesting suggestion. The (pre)...(/pre) HTML tag presents preformatted text in a fixed-width font. This may be a way to create a table-like presentation though it has a number of limitations.

When using this tag, you do need to set a font - preferably a fixed width font.

Here's an example with the (pre) tag alone.

Example 1


10001    40  120  13000

   42  1001 3000    474

 3333 11111    1     74

Here's an example with the font set to Courier:

Example 2


10001    40  120   3000

   42  5600 3000    474

  333 11111    8     99

In both cases no other formatting (other than color) was done. The font size is the default chosen by the OS, or by whatever you have set for your fixed width font. As you can see, the fixed-width font is needed to maintain the alignment necessary for a tabular display.

See how much space there is between the lines above? That's not space I intended or tried to include. Alas, the UBB parser bites us once again. Let's remove the pesky Carriage-Return characters and see what it looks like:

Example 3

10001    40  120   3000
   42  5600 3000    474
  333 11111    8     99

Ahh, much better. Unfortunately when you see the example for this it comes out unformatted and no more easier to use than the table example upthread. That's cause we had to toast the Carriage-Returns.

Here's the code used to create #3 above:

Code Snippet A


(font face="Courier" color="red")(pre)10001 40 120 3000(/pre)(pre) 42 5600 3000 474(/pre)(pre) 333 11111 8 99(/pre)(/font)

Kinda messy, eh?

The aligned example with the extra line-spacing is probably the best trade-off between having a tabular format and having an example thats reasonably straightforward for folks to use. Here's the code that was used to create Example #2,above.

Code Snippet B


(font face="Courier" color="blue")

(pre)10001    40  120   3000(/pre)

(pre)   42  5600 3000    474(/pre)

(pre)  333 11111    8     99(/pre)

(/font)

Easier to read, but introduces extra white-space. Nonetheless, it'll do pig, it'll do.

I had to format Code Snippet B with the (pre) tag. This allows it to show the alignment in the example itself. Fortunately, the message input box (where you type your message) uses a fixed width font, so when you create your example, it should be aligned.

Sometime this week, I'll put together a bit more formalized example with instructions for creating a tabular presentation using the (pre) tag. The parser does less damage here than it does to tables. Thanks for the idea, Rod!

Rgds,
__
/im

Notes:
1. throughout this entire message the parentheses are used as place holders for angle-brackets.

2. I'd like to suggest we universally adopt the parenthesis for examples of both HTML and UBB code then tell folks what to substitute. If we use brackets for the HTML, it'll look like UBB. Any thoughts?

[This message has been edited by JTimothyA (edited 12-07-98).]

FredKuhl
Cruise Director

Posts: 322
From: San Jose, CA, USA
Registered:

posted 12-07-1998 07:12 PM     Click Here to See the Profile for FredKuhl   Click Here to Email FredKuhl     Edit/Delete Message Reply w/Quote
Last time I was in here, all these later posts were about an inch wide at the furthermost right of the screen. Now the whole thing has expanded to where it's three screens to the right. How do we get back on the straight and narrow?

I take the two thumbnails every night. But I'm running out of thumbnails. Anybody care to ship me a few!

JTimothyA
Saint

Posts: 1266
From: Planet Fresnel
Registered:

posted 12-07-1998 10:06 PM     Click Here to See the Profile for JTimothyA   Click Here to Email JTimothyA     Edit/Delete Message Reply w/Quote
No wonder you were feeling closed in and congested. I haven't heard any other report suggesting the same type of problem you're experiencing and suspect its local to your setup.

What browser are you using?

Rgds,
__
/im [no comments about broadening your outlook :-> )

JTimothyA
Saint

Posts: 1266
From: Planet Fresnel
Registered:

posted 01-25-2000 10:23 PM     Click Here to See the Profile for JTimothyA   Click Here to Email JTimothyA     Edit/Delete Message Reply w/Quote
good info to keep on using tables

now all we need is a little TafelMusik...

__
/im

Mark Wagner
Cruise Director

Posts: 435
From: Way Out There
Registered:

posted 02-06-2000 03:00 AM     Click Here to See the Profile for Mark Wagner   Click Here to Email Mark Wagner     Edit/Delete Message Reply w/Quote
(table align="left")(table cellpadding="4")(table border="1")(tr)(td)Row1
Column1...(/td)(td)Row1 Column2..(/td)(td)Row1
Column3.(/td)(/tr)(tr)(td)Row2 Column1.(/td)(td)Row2
Column2...(/td)(td)Row2 Column3..(/td)(/tr)(tr)(td)Row3
Column1..(/td)(td)Row3 Column2.(/td)(td)Row3
Column3...(/td)(/tr)(/table)
10001 40 120 13000


42 1001 3000 474


3333 11111 1 74


Here's an example with the font set to Courier:

Example 2


10001 40 120 3000


42 5600 3000 474


333 11111 8 99
(font face="Courier" color="red")(pre)10001 40 120 3000(/pre)(pre) 42
5600 3000 474(/pre)(pre) 333 11111 8 99(/pre)(/font)
(font face="Courier" color="blue")


(pre)10001 40 120 3000(/pre)


(pre) 42 5600 3000 474(/pre)


(pre) 333 11111 8 99(/pre)


(/font)
2. I'd like to suggest we universally adopt the parenthesis for examples of
both HTML and UBB code then tell folks what to substitute. If we use
brackets for the HTML, it'll look like UBB. Any thoughts?

Ok, lookie here now Tim, Quit trying to confuse everybody. This is how the memo from my pocket protector tape in the center of the glasses boss at NASA/JPL started out before he told me to convert the feet to meters on the Mars polar lander thing-a-ma-bob

All times are ET (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Collector Forums

Contents Copyright Lighthouse Keepers

Powered by: Ultimate Bulletin Board, Version 5.42a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.