File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes fixed header, problem with alignment, must support all browsers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "fixed header, problem with alignment, must support all browsers" Watch "fixed header, problem with alignment, must support all browsers" New topic
Author

fixed header, problem with alignment, must support all browsers

Jay Ganesh
Greenhorn

Joined: Sep 10, 2009
Posts: 4
Hello there,

I have an issue when i try to fix header for my table, i have one table which is surrounded by a div tag. I also used jquery to calculate width and alignment. I'm also using javascript to add and delete rows dynamically for every onclick event. When i try to add rows dynamically, a horizontal scroll bar will appear and my static header alignment changes. I want my static header alignment should match the dynamic header alignment. The header alignment is working in firefox but it wont works with IE 6 and i dont know abt other IE's whether it supports or not. But my problem is that it must support all browsers.

This is my html
-------------------


I also used jquery with this html.

Please help to solve the issue.

Jay Ganesh
Greenhorn

Joined: Sep 10, 2009
Posts: 4
forgot to add one more thing

jquery.fixedheader.js
-------------------------

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: fixed header, problem with alignment, must support all browsers