pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Adding headers to the bottom of a table
6+ messages / 4 participants
[nested] [flat]

* Adding headers to the bottom of a table
@ 2003-06-30 20:58  Robert Treat <xzilla@users.sourceforge.net>
  0 siblings, 1 reply; 6+ messages in thread

From: Robert Treat @ 2003-06-30 20:58 UTC (permalink / raw)
  To: pgsql-docs

page in question:
http://developer.postgresql.org/docs/postgres/sql-keywords-appendix.html#KEYWORDS-TABLE
(aka doc/src/sgml/keywords.sgml)

I'd like to add column "headers" to the *bottom* of the sql keywords
table, but I can't simply add a duplicate <thead> at the bottom. Is
there a way to accomplish this? Would people be against the idea? 

Robert Treat
-- 
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Adding headers to the bottom of a table
@ 2003-06-30 21:40  Peter Eisentraut <peter_e@gmx.net>
  parent: Robert Treat <xzilla@users.sourceforge.net>
  0 siblings, 1 reply; 6+ messages in thread

From: Peter Eisentraut @ 2003-06-30 21:40 UTC (permalink / raw)
  To: Robert Treat <xzilla@users.sourceforge.net>; +Cc: pgsql-docs

Robert Treat writes:

> I'd like to add column "headers" to the *bottom* of the sql keywords
> table, but I can't simply add a duplicate <thead> at the bottom. Is
> there a way to accomplish this? Would people be against the idea?

It would be <tfoot[er?]>, but maybe this should be solved through
stylesheets?

-- 
Peter Eisentraut   peter_e@gmx.net




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Adding headers to the bottom of a table
@ 2003-06-30 21:53  Robert Treat <xzilla@users.sourceforge.net>
  parent: Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 1 reply; 6+ messages in thread

From: Robert Treat @ 2003-06-30 21:53 UTC (permalink / raw)
  To: Peter Eisentraut <peter_e@gmx.net>; +Cc: pgsql-docs

On Mon, 2003-06-30 at 17:40, Peter Eisentraut wrote:
> Robert Treat writes:
> 
> > I'd like to add column "headers" to the *bottom* of the sql keywords
> > table, but I can't simply add a duplicate <thead> at the bottom. Is
> > there a way to accomplish this? Would people be against the idea?
> 
> It would be <tfoot[er?]>, but maybe this should be solved through
> stylesheets?
> 

That was kind of my wondering, since upon further reflection I think I'd
might want to see the "labels" every 20 rows or something. This is
really handy with html versions, but I don't know about other formats. 

-- 
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Adding headers to the bottom of a table
@ 2003-07-01 10:52  Peter Eisentraut <peter_e@gmx.net>
  parent: Robert Treat <xzilla@users.sourceforge.net>
  0 siblings, 1 reply; 6+ messages in thread

From: Peter Eisentraut @ 2003-07-01 10:52 UTC (permalink / raw)
  To: Robert Treat <xzilla@users.sourceforge.net>; +Cc: pgsql-docs

Robert Treat writes:

> That was kind of my wondering, since upon further reflection I think I'd
> might want to see the "labels" every 20 rows or something. This is
> really handy with html versions, but I don't know about other formats.

On a paged medium (e.g., paper), a new header is already added on every
new page, so this problem seems to be specific to HTML.  Take a look at
the stylesheets if you like, but table processing is very hairy.

-- 
Peter Eisentraut   peter_e@gmx.net




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Adding headers to the bottom of a table
@ 2003-07-01 12:49  Bruno Wolff III <bruno@wolff.to>
  parent: Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 1 reply; 6+ messages in thread

From: Bruno Wolff III @ 2003-07-01 12:49 UTC (permalink / raw)
  To: Peter Eisentraut <peter_e@gmx.net>; +Cc: Robert Treat <xzilla@users.sourceforge.net>; pgsql-docs

On Tue, Jul 01, 2003 at 12:52:21 +0200,
  Peter Eisentraut <peter_e@gmx.net> wrote:
> Robert Treat writes:
> 
> > That was kind of my wondering, since upon further reflection I think I'd
> > might want to see the "labels" every 20 rows or something. This is
> > really handy with html versions, but I don't know about other formats.
> 
> On a paged medium (e.g., paper), a new header is already added on every
> new page, so this problem seems to be specific to HTML.  Take a look at
> the stylesheets if you like, but table processing is very hairy.

I think there is a way to make the body of the table scrollable
while the headers stay in place using a stylesheet.



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Adding headers to the bottom of a table
@ 2003-07-01 18:16  Arguile <arguile@lucentstudios.com>
  parent: Bruno Wolff III <bruno@wolff.to>
  0 siblings, 0 replies; 6+ messages in thread

From: Arguile @ 2003-07-01 18:16 UTC (permalink / raw)
  To: pgsql-docs

On Tue, 2003-07-01 at 08:49, Bruno Wolff III wrote:
> On Tue, Jul 01, 2003 at 12:52:21 +0200,
>   Peter Eisentraut <peter_e@gmx.net> wrote:
> > Robert Treat writes:
> > 
> > > That was kind of my wondering, since upon further reflection I think I'd
> > > might want to see the "labels" every 20 rows or something. This is
> > > really handy with html versions, but I don't know about other formats.
> > 
> > On a paged medium (e.g., paper), a new header is already added on every
> > new page, so this problem seems to be specific to HTML.  Take a look at
> > the stylesheets if you like, but table processing is very hairy.
> 
> I think there is a way to make the body of the table scrollable
> while the headers stay in place using a stylesheet.
> 

There is but cross-browser compatability is horrid. Mozilla handles it
okay, some properly ignore it if they don't know how to handle it, but
the various version of IE are pretty buggy with it.

Using the various (non-JS) tricks to hide CSS from the various browsers
can make it workable. The overall effect isn't the greatest though.

If anyone wants to see a sample of such scrolling I'll provide one soon
as I can resolve the developer.postgresql.org site again ;).




^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2003-07-01 18:16 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-06-30 20:58 Adding headers to the bottom of a table Robert Treat <xzilla@users.sourceforge.net>
2003-06-30 21:40 ` Peter Eisentraut <peter_e@gmx.net>
2003-06-30 21:53   ` Robert Treat <xzilla@users.sourceforge.net>
2003-07-01 10:52     ` Peter Eisentraut <peter_e@gmx.net>
2003-07-01 12:49       ` Bruno Wolff III <bruno@wolff.to>
2003-07-01 18:16         ` Arguile <arguile@lucentstudios.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox