954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Fixed table headers problem ..

hello ppl .. :o
I am trying to make the other table stop acting funny since the day before yesterday but i failed :confused: ..

The thing is that I have two tables with "fixed" headers .. and the content of both tables is scrollable .. the problem is that when i move the scoll bar of the first table, the second table's header scrolls as well.. the headers only, not the content .. why is that happening :( please help me ..

Here is an exact example of my tables .. hope it helps you understand the problem more .. THANKS ..

[html]

tables
Name
Major
Sex
English
Japanese
Calculus
Geometry
Student02
Mathematics
male
90
88
100
90

Student06
Mathematics
male
100
99
100
90

Student07
Mathematics
male
85
68
90
90

Student08
Languages
male
100
90
90
85

Student09
Mathematics
male
80
50
65
75

Student10
Languages
male
85
100
100
90

Student11
Languages
male
86
85
100
100

Student12
Mathematics
female
100
75
70
85

Student13
Languages
female
100
80
100
90

Student14
Languages
female
50
45
55
90

Student15
Languages
male
95
35
100
90

Student17
Languages
female
80
100
55
65

Student18
Mathematics
male
30
49
55
75

Student19
Languages
male
68
90
88
70

Student20
Mathematics
male
40
45
40
80

Student21
Languages
male
50
45
100
100


Name
Major
Sex
English
Japanese
Calculus
Geometry
Student02
Mathematics
male
90
88
100
90

Student03
Languages
female
85
95
80
85

Student04
Languages
male
60
55
100
100

Student05
Languages
female
68
80
95
80

Student07
Mathematics
male
85
68
90
90

Student08
Languages
male
100
90
90
85

Student09
Mathematics
male
80
50
65
75

Student12
Mathematics
female
100
75
70
85

Student13
Languages
female
100
80
100
90

Student15
Languages
male
95
35
100
90

Sulley's Boo
Posting Pro in Training
452 posts since Dec 2004
Reputation Points: 529
Solved Threads: 10
 

and yea .. the headers of the second table are not fixed :\

Sulley's Boo
Posting Pro in Training
452 posts since Dec 2004
Reputation Points: 529
Solved Threads: 10
 

hehe :o .. looks like I am talking to myself .. so embarresing :-| .. anyway i did something HIGHLY stupid BUT the problem is GOOOOONE :cool: ..

TC DaniWeb ppl ..


;) back to work ..

Sulley's Boo
Posting Pro in Training
452 posts since Dec 2004
Reputation Points: 529
Solved Threads: 10
 

Could you please let us know, with what modification, your problem was resolved, we are facing the same problem,

Thanks

vishwamg
Newbie Poster
1 post since Jun 2010
Reputation Points: 10
Solved Threads: 0
 

Hi,

I have created fixed header, fixed footer, fixed right and left column table. Fixed header and footer works fine in all browsers(tested in IE, FF and Chrome). Fixed columns seems to have problem in non IE browser.

http://s7u.blogspot.com

Please let me know if you have any suggestions.

Regards,
Shahib

Shahib
Newbie Poster
1 post since Oct 2010
Reputation Points: 10
Solved Threads: 0
 

Is there a reason you guys are using tables for page layouts? Divs are SO much more flexible and easier.
Tables are now meant for displaying tabular/dynamic data, not for page layouts and designs.

teedoff
Posting Pro
599 posts since Jul 2010
Reputation Points: 21
Solved Threads: 60
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You