Solved

how to freeze header cell in a table.

Posted on 2009-04-13
6
632 Views
Last Modified: 2013-11-19
im trying to freeze my header cell so if you scroll down the page, the header will stay in the same position. but it doesn't work.
this is what i have. i do have a div tag outside of the table.
<td style="position:relative;">test</td>

Open in new window

0
Comment
Question by:StewSupport
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 30

Expert Comment

by:LZ1
ID: 24131810
You would need to add this to your CSS:
	position: fixed;
	top: 0px;

Open in new window

0
 
LVL 42

Accepted Solution

by:
David S. earned 500 total points
ID: 24132220
0
 
LVL 42

Expert Comment

by:David S.
ID: 24180686
Thanks, b0lsc0tt.

It seems that many people give B grades and no comment. Perhaps it would help if someone mentioned the issue in the next newsletter.
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logiā€¦
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question