HighDots Forums  

Table with fixed header and scroll bar

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Table with fixed header and scroll bar in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Major Geek
 
Posts: n/a

Default Table with fixed header and scroll bar - 03-25-2009 , 02:44 PM






Was able to use Dreamweaver 2004 to set up a table to display data from a MySQL
table. But then the customer wanted to have a scroll bar on one side and fixed
headers at the top "like Excel", because the number of rows retrieved were too
long to fit on a page. This was harder than I thought. I had to use CSS and
Javascript with a lot of help to make this happen. Then it didn't work in IE7,
so I had to use a different approach for IE. I got it to almost work perfectly
in IE7. It just has a tiny bit of the table visible scrolling by above the
header rows. http://www.ykfp.org/php/lyletrap/tabletotalscss13.php Why does
Microsoft make this so difficult? Why aren't web standards good enough for
Microsoft? Is there a better approach to tables with scroll bars?


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

Default Re: Table with fixed header and scroll bar - 03-25-2009 , 05:53 PM






I would just display the number of records that will fit on a page then use
navigation to display the rest of the records.
Next | Previous | Last
I dislike pages with scroll bars myself.
Dave
"Major Geek" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Was able to use Dreamweaver 2004 to set up a table to display data from a
MySQL
table. But then the customer wanted to have a scroll bar on one side and
fixed
headers at the top "like Excel", because the number of rows retrieved were
too
long to fit on a page. This was harder than I thought. I had to use CSS
and
Javascript with a lot of help to make this happen. Then it didn't work in
IE7,
so I had to use a different approach for IE. I got it to almost work
perfectly
in IE7. It just has a tiny bit of the table visible scrolling by above the
header rows. http://www.ykfp.org/php/lyletrap/tabletotalscss13.php Why
does
Microsoft make this so difficult? Why aren't web standards good enough for
Microsoft? Is there a better approach to tables with scroll bars?




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 - 2009, Jelsoft Enterprises Ltd.