Old 28-07-2004, 05:35   #1 (permalink)
Tot
Registered User
 
Join Date: May 2004
Location: Loughborough
Posts: 69
Table Headers

Is there any way to code a table with a fixed header and scrollable table body without putting them in separate div’s?

I have used the old trick to put a div inside the table for the body before. But its a nightmare lining it up. This is for an online application and only need to work in IE. I’m really looking for a solution that’s NOT JavaScript, yet any help would be great.
  Reply With Quote
Old 28-07-2004, 05:48   #2 (permalink)
hartland
Registered User
 
Join Date: Jul 2004
Posts: 2
try this

i think <iframe ></frame>
wil help you..try it out...


click the link if ur interested ...

http://www.cs.tut.fi/~jkorpela/html/iframe.html

chow,...
  Reply With Quote
Old 28-07-2004, 05:51   #3 (permalink)
Stickman
Dr. Lucien Sanchez
 
Stickman's Avatar
 
Join Date: Mar 2003
Location: UK
Posts: 5,624
Or don't use tables or frames at all.
Just position a scrolling div below a header div.

Mac IE scrollbar issue?
  Reply With Quote
Old 28-07-2004, 05:51   #4 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,237
Quote:
Originally Posted by hartland
i think <iframe ></frame>
wil help you..
or not.

quick google brought this up - http://www.ssi-developer.net/css/non...able-hdr.shtml

The whole table's nested in a scrolling div. They say it needs tweaking for decent browsers but then you say it only needs to work in IE.
__________________
That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
  Reply With Quote
Old 28-07-2004, 06:02   #5 (permalink)
Tot
Registered User
 
Join Date: May 2004
Location: Loughborough
Posts: 69
ahh... I see! So by not setting the last td, it uses this space for a scroll bar. Not messing the line up of everything else.

Thanks Guy's
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8