HighDots Forums  

CSS or Tables

alt.html.writers alt.html.writers


Discuss CSS or Tables in the alt.html.writers forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dave and Em McCarthy
 
Posts: n/a

Default CSS or Tables - 07-10-2005 , 03:45 PM






Hello,

I hope someone here can help me solve a requirement I have to display
tabular data in a web page and keep the header row visible at the top while
the viewer scrolls down the page.

I have been trying without success to use a page with 2 frames:

<snip>
<FRAMESET ROWS="10%,*" FRAMEBORDER="0" FRAMESPACING="0">
<FRAME SRC="Table2.htm" SCROLLING="no">
<FRAME SRC="Table3.htm" SCROLLING="yes">
</FRAMESET>

My intent is to use Table2.htm as the static header row and Table3.htm to
display the table data.

I tried to style sheets to control the width of the columns in table to make
the columns line up correctly with no luck.

I don't have a code snippet to show since all attempts have rendered no
results. I did a google search only to find that this is a controversial
issue, but no example code to follow.

Any help to display this data is most appreciated.

Thanks,

Dave



Reply With Quote
  #2  
Old   
Ringo
 
Posts: n/a

Default Re: CSS or Tables - 07-16-2005 , 01:17 PM







Quote:
Dave


You can get a free frameset from one of those online free frameset
generators. An iframe is another possibility, but in general, best to stay
away from frames. You might also consider php, which assembles parts to
make the final page, free php hosting and domain name available at
fbhosting.com.

Free frameset, or php site pages, or css or table templates are here:
http://wholives.com/tools/freestuff.com

My 2php sites: http://mikey.fbhosting.com

Thousands of free page templates, http://oswd.org

No need to learn html coding. The best free web page editor is Nvu, no
question about it. It's graphic design mode makes cut and paste and drag
and drop instant. http://www.nvu.com/download.html

Free Tutorial:
http://www.thesitewizard.com/gettingstarted/nvu1.shtml

Ringo




Reply With Quote
  #3  
Old   
Adrienne
 
Posts: n/a

Default Re: CSS or Tables - 07-16-2005 , 04:00 PM



Gazing into my crystal ball I observed "Dave and Em McCarthy"
<daveNOT (AT) att (DOT) net> writing in
news:%NfAe.407942$cg1.373277 (AT) bgtnsc04-news (DOT) ops.worldnet.att.net:

Quote:
Hello,

I hope someone here can help me solve a requirement I have to display
tabular data in a web page and keep the header row visible at the top
while the viewer scrolls down the page.

I have been trying without success to use a page with 2 frames:

snip
FRAMESET ROWS="10%,*" FRAMEBORDER="0" FRAMESPACING="0"
FRAME SRC="Table2.htm" SCROLLING="no"
FRAME SRC="Table3.htm" SCROLLING="yes"> </FRAMESET

My intent is to use Table2.htm as the static header row and Table3.htm
to display the table data.

I tried to style sheets to control the width of the columns in table to
make the columns line up correctly with no luck.

I don't have a code snippet to show since all attempts have rendered no
results. I did a google search only to find that this is a
controversial issue, but no example code to follow.

Any help to display this data is most appreciated.

Thanks,

Dave


Frames are not your friend here, as you have discovered. You should be
using:

<table summary="Data table">
<caption>Data Table</caption>
<thead>
<tr>
<th scope="col">Header 1</th><th scope="col">Header 2</th><th scope="col">
Header 3</th>
</tr>
</thead>
<tbody>
<tr>
<td>Data 1</td><td>Data 2</td><td>Data 3</td>
</tr>
</tbody>
</table>

<quote cite="http://www.w3.org/TR/html4/struct/tables.html#h-11.2.3">This
division enables user agents to support scrolling of table bodies
independently of the table head and foot. When long tables are printed, the
table head and foot information may be repeated on each page that contains
table data.</quote>
--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.