Jump to content

Iframe skips code in firefox


toxicious

Recommended Posts

This is my website:http://toxicious.no-ip.org/CS/Simple and clear (sorry if it is slow, just testing on home server for now).Please visit it with Firefox (haven't tested chrome) and then visit it with Internet Explorer (8 and 9 tested).The differences are easy to notice. IE reads the page as it should be read, the colors are right and you can click the headers of the table to sort them (javascript).But Firefox doesn't put the right color (if you mark the table with your mouse you will notice that the text is there) and it doesn't make the headers clickable.The webpage consists of an Iframe which holds the main content. The page that displays as default and doesn't work properly is this:http://toxicious.no-ip.org/CS/stats/playerrank.phpIf you visit it with the link above, everything looks as it should. But if you visit it via the Iframe on the front page it doesn't look alright in Firefox.Something is wrong with the iframe, but I have no clue to what as I am not a pro in web coding :)Here is the code for the Iframe:

<iframe id="main" src="stats\playerrank.php" name="main" scrolling="auto" frameborder="0" align="middle" height = "100%" width = "100%"></iframe>

(Note the height is set by another javascript to fill the page, so the one in the code above doesn't really mean anything, and yes, I have tested without the script but the page still looks the same.)All help is appreciated :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...