Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Browser problem or problem of my script ?

Status
Not open for further replies.

panhandle2

Programmer
Joined
Mar 12, 2006
Messages
1
Location
AT
Hi,
I wrote a page
which works fine in Opera and Internet Explorer 7.
But it let crash IE 6 under special conditions, and under Firefox sometimes the tableheader is corrupted.

IE6: The table on the mentioned page is sortable. Just try to sort 4 to 7 times, and IE6 will crash. I believe this is a browser bug, but am not sure.

Firefox: Some tablecolumns are hideable. Just click "unselect all", then sort by "main summit name", and repeat that sequence 2 to 3 times. Suddenly the tableheader will contain an additional white box, which shifts the rest of the header to the right, so corrupting it. I believe that is a browser bug with the "table-cell" display style, especially because this works fine under Opera (IE uses a different display style, no problem there with that).

What do you think, did I run into 2 browserbugs, or is there some problem in my code ?

Thanks for any thoughts, Herbie
 
You have no doctype. You have javascript outside of <html> tags. I'm surprised it works in Opera and IE at all. I would get your page validating to a doctype (maybe 4.01 Transitional) before you try tracking down your problem... since it will most likely be due to badly forned markup.

Cheers,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top