Register | Sign In


Understanding through Discussion


EvC Forum active members: 64 (9164 total)
5 online now:
Newest Member: ChatGPT
Post Volume: Total: 916,889 Year: 4,146/9,624 Month: 1,017/974 Week: 344/286 Day: 0/65 Hour: 0/0


Thread  Details

Email This Thread
Newer Topic | Older Topic
  
Author Topic:   Feature Requests and Suggestions Thread
jar
Member (Idle past 422 days)
Posts: 34026
From: Texas!!
Joined: 04-20-2004


Message 31 of 236 (167762)
12-13-2004 3:51 PM
Reply to: Message 29 by Percy
12-13-2004 3:32 PM


Re: Coming soon: tables!
I thought I made that clear? I was hoping you'd come up with a solution. I ended up having to drop out to a C program where I did the formatting and padding and bring it back in and it still never worked well.
Shucks. I thought I was going to learn some new tricks.

Aslan is not a Tame Lion

This message is a reply to:
 Message 29 by Percy, posted 12-13-2004 3:32 PM Percy has replied

Replies to this message:
 Message 32 by Percy, posted 12-13-2004 4:34 PM jar has not replied
 Message 33 by Percy, posted 12-13-2004 6:03 PM jar has replied

  
Percy
Member
Posts: 22502
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.9


Message 32 of 236 (167773)
12-13-2004 4:34 PM
Reply to: Message 31 by jar
12-13-2004 3:51 PM


Re: Coming soon: tables!
I hadn't considered trying to solve any problems not already addressed by HTML, since the dBCodes (their new name) are just a meta code on top of HTML tags.
Addressing just one of your issues, it seems that formatting numbers to be lined up on the decimal point would be easy. Naturally you'd have to use a fixed width font, else just the variable digit width would throw off the formatting, but otherwise you'd just do this. I'm going to create a table with the numbers 1004.3, 29.57 and 1.2946, and I'm going to get the decimal place smack in the right place every time:
1004.3
29.57
1.2946
Click on "raw text" to see how I did it. It would be easy to have the board software do this for you if you select the right mode. After all, who cares how many tiny number formatting tables the software creates. I would have to define modes for the [f] tag, maybe along the lines of Excel formats, but this, too, would be easy.
--Percy

This message is a reply to:
 Message 31 by jar, posted 12-13-2004 3:51 PM jar has not replied

Replies to this message:
 Message 46 by berberry, posted 12-14-2004 11:30 PM Percy has replied

  
Percy
Member
Posts: 22502
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.9


Message 33 of 236 (167807)
12-13-2004 6:03 PM
Reply to: Message 31 by jar
12-13-2004 3:51 PM


Re: Coming soon: tables!
Hi Jar,
A little while after I posted the previous message I became curious if others had developed other approaches to the same thing that might be simpler, so I began poking about the web and found a reference to an align attribute value called "decimal". Giving it a try here with my same set of values:
1004.3
29.57
1.2946
It doesn't work in IE, and after exploring a bit more it appears that it might not work in any browser. Does it work in the browsers you're using?
--Percy

This message is a reply to:
 Message 31 by jar, posted 12-13-2004 3:51 PM jar has replied

Replies to this message:
 Message 34 by jar, posted 12-13-2004 6:16 PM Percy has not replied
 Message 38 by RAZD, posted 12-14-2004 12:01 AM Percy has not replied

  
jar
Member (Idle past 422 days)
Posts: 34026
From: Texas!!
Joined: 04-20-2004


Message 34 of 236 (167814)
12-13-2004 6:16 PM
Reply to: Message 33 by Percy
12-13-2004 6:03 PM


Re: Coming soon: tables!
No it doesn't for IE 6, Foxfire, Maxthon, Opera or Avant.
ps: I have a big question in the Admin forum. Can you check in there and see if you can help me or drop me an email?

This message is a reply to:
 Message 33 by Percy, posted 12-13-2004 6:03 PM Percy has not replied

  
RAZD
Member (Idle past 1433 days)
Posts: 20714
From: the other end of the sidewalk
Joined: 03-14-2004


Message 35 of 236 (167914)
12-13-2004 11:49 PM
Reply to: Message 26 by Ben!
12-13-2004 1:34 PM


Signatures
Some other sites limit how many characters can be used in the signature field.
parsimony comes to mind as a principle here -- if you can't say it concisely try something else.

we are limited in our ability to understand
by our ability to understand
RebelAAmerican.Zen[Deist
{{{Buddha walks off laughing with joy}}}

This message is a reply to:
 Message 26 by Ben!, posted 12-13-2004 1:34 PM Ben! has not replied

  
RAZD
Member (Idle past 1433 days)
Posts: 20714
From: the other end of the sidewalk
Joined: 03-14-2004


Message 36 of 236 (167915)
12-13-2004 11:52 PM
Reply to: Message 27 by Percy
12-13-2004 2:34 PM


Re: Coming soon: tables!
um... a centered 80%?
(p align=center) doesn't work on qs boxes or images ...?

This message is a reply to:
 Message 27 by Percy, posted 12-13-2004 2:34 PM Percy has not replied

Replies to this message:
 Message 37 by AdminAsgara, posted 12-13-2004 11:57 PM RAZD has replied
 Message 42 by Admin, posted 12-14-2004 10:35 AM RAZD has replied

  
AdminAsgara
Administrator (Idle past 2331 days)
Posts: 2073
From: The Universe
Joined: 10-11-2003


Message 37 of 236 (167918)
12-13-2004 11:57 PM
Reply to: Message 36 by RAZD
12-13-2004 11:52 PM


Re: Coming soon: tables!

works for images


This message is a reply to:
 Message 36 by RAZD, posted 12-13-2004 11:52 PM RAZD has replied

Replies to this message:
 Message 39 by RAZD, posted 12-14-2004 12:05 AM AdminAsgara has not replied

  
RAZD
Member (Idle past 1433 days)
Posts: 20714
From: the other end of the sidewalk
Joined: 03-14-2004


Message 38 of 236 (167920)
12-14-2004 12:01 AM
Reply to: Message 33 by Percy
12-13-2004 6:03 PM


Re: Coming soon: tables!
nor in netscape. your first one did - stick with that if you have to have it.
I would have the default be as shown in the last sample with the next level being able to chose right, centered or left justified
perhaps in the header fields? hr, hc, hl? hd for the decimal aligned? each column would be set by the header alignment?

we are limited in our ability to understand
by our ability to understand
RebelAAmerican.Zen[Deist
{{{Buddha walks off laughing with joy}}}

This message is a reply to:
 Message 33 by Percy, posted 12-13-2004 6:03 PM Percy has not replied

Replies to this message:
 Message 43 by Admin, posted 12-14-2004 10:43 AM RAZD has not replied

  
RAZD
Member (Idle past 1433 days)
Posts: 20714
From: the other end of the sidewalk
Joined: 03-14-2004


Message 39 of 236 (167921)
12-14-2004 12:05 AM
Reply to: Message 37 by AdminAsgara
12-13-2004 11:57 PM


Re: Coming soon: tables!
hm ... I distinctly remember trying it only to have the image stuck on the left side (why I went to images inside qs boxes or used indent)

okay. you got me.

we are limited in our ability to understand
by our ability to understand
RebelAAmerican.Zen[Deist
{{{Buddha walks off laughing with joy}}}

This message is a reply to:
 Message 37 by AdminAsgara, posted 12-13-2004 11:57 PM AdminAsgara has not replied

  
jar
Member (Idle past 422 days)
Posts: 34026
From: Texas!!
Joined: 04-20-2004


Message 40 of 236 (167925)
12-14-2004 12:16 AM


In a table there is still the issue of typing. Unless you can place some internal logic in the design to do formatting or create data types that are pinned to the column it gets very difficult.
For example, if you have the original example that worked it will not handle alpha entries such as N/A or M/D gracefully. In addition, most tables will be a mixture of material that needs to be left justified, right justified, decimal justified and centered. In a decimal justified column you also need to be able to handle the implied decimal, "." separators, "," separators and to logically tell whether it is a decimal or thousands separator.
It is not a simple programming issue and one that is elegant when finally done well.

Aslan is not a Tame Lion

Replies to this message:
 Message 41 by RAZD, posted 12-14-2004 12:25 AM jar has not replied

  
RAZD
Member (Idle past 1433 days)
Posts: 20714
From: the other end of the sidewalk
Joined: 03-14-2004


Message 41 of 236 (167930)
12-14-2004 12:25 AM
Reply to: Message 40 by jar
12-14-2004 12:16 AM


decimal versus comma ... especially when dealing with european demarcation systems ...

we are limited in our ability to understand
by our ability to understand
RebelAAmerican.Zen[Deist
{{{Buddha walks off laughing with joy}}}

This message is a reply to:
 Message 40 by jar, posted 12-14-2004 12:16 AM jar has not replied

  
Admin
Director
Posts: 13040
From: EvC Forum
Joined: 06-14-2002
Member Rating: 2.2


Message 42 of 236 (168055)
12-14-2004 10:35 AM
Reply to: Message 36 by RAZD
12-13-2004 11:52 PM


Re: Coming soon: tables!

RAZD writes:
(p align=center) doesn't work on qs boxes or images ...?

also works for boxes, as you can see above.


--Percy
EvC Forum Director

This message is a reply to:
 Message 36 by RAZD, posted 12-13-2004 11:52 PM RAZD has replied

Replies to this message:
 Message 45 by RAZD, posted 12-14-2004 11:13 PM Admin has not replied

  
Admin
Director
Posts: 13040
From: EvC Forum
Joined: 06-14-2002
Member Rating: 2.2


Message 43 of 236 (168057)
12-14-2004 10:43 AM
Reply to: Message 38 by RAZD
12-14-2004 12:01 AM


Re: Coming soon: tables!
RAZD writes:
perhaps in the header fields? hr, hc, hl? hd for the decimal aligned? each column would be set by the header alignment?
Rather than creating new tags for each alignment or format, I'd instead add modifiers, e.g., [h]. Formats would be inherited by all other fields lower in the same column, unless otherwise specified. Font settings would not be inherited.
You also mentioned comma as the decimal separator, and this, too, is easy. The only difficulty I can see in making tables flexible and useful is the sheer number of possibilities. This only means a lot of typing of code, not thinking, so it isn't hard.

--Percy
EvC Forum Director

This message is a reply to:
 Message 38 by RAZD, posted 12-14-2004 12:01 AM RAZD has not replied

Replies to this message:
 Message 44 by jar, posted 12-14-2004 12:05 PM Admin has not replied

  
jar
Member (Idle past 422 days)
Posts: 34026
From: Texas!!
Joined: 04-20-2004


Message 44 of 236 (168096)
12-14-2004 12:05 PM
Reply to: Message 43 by Admin
12-14-2004 10:43 AM


Re: Coming soon: tables!
One tack I've used successfully in the past is to define seperators in the header to be inherited. That way it's typed once. There are really only two choices there (unlike in date fields).
Ain't programming fun?

This message is a reply to:
 Message 43 by Admin, posted 12-14-2004 10:43 AM Admin has not replied

  
RAZD
Member (Idle past 1433 days)
Posts: 20714
From: the other end of the sidewalk
Joined: 03-14-2004


Message 45 of 236 (168308)
12-14-2004 11:13 PM
Reply to: Message 42 by Admin
12-14-2004 10:35 AM


Re: Coming soon: tables!
looks like I got egg on my face. must have mistyped the coding. (I like to spell align with two L's, and for some reason the coding doesn't work then ...)

we are limited in our ability to understand
by our ability to understand
RebelAAmerican.Zen[Deist
{{{Buddha walks off laughing with joy}}}

This message is a reply to:
 Message 42 by Admin, posted 12-14-2004 10:35 AM Admin has not replied

  
Newer Topic | Older Topic
Jump to:


Copyright 2001-2023 by EvC Forum, All Rights Reserved

™ Version 4.2
Innovative software from Qwixotic © 2024