TinyPortal
Development => Support => Topic started by: sp0di on November 01, 2005, 04:03:45 PM
Okay - not really sure if this is a "bug" or not, but here it goes..
Site - www.globalgamer.net
What it is the "Server Status" block, it shows proper under IE, however Mozilla it's squished.
The code for the block is as follow's
<TABLE align="center" cellpadding="2">
<TR><TD valign="top">
<center><SCRIPT LANGUAGE="JavaScript"
SRC="http://share1.serverspy.net/cgi-bin/monitor.js?mid=111675">
</SCRIPT></center>
</TD></TR></TABLE>
Kinda weird, thinking is a Mozilla based issue, but it shows up fine from a static web page, not within the TP.
Any thoughts?
try a width="100%" in the table there.
nope - made it a little worst...
I wounder if I need to specify a length ?
Might be. I suspect its something in the javascript routine that does this.
hmmm.....try putting your serverstaus code in a seperate static html file.
<html>
<body>
<TABLE align="center" cellpadding="2">
<TR><TD valign="top">
<center><SCRIPT LANGUAGE="JavaScript"
SRC="http://share1.serverspy.net/cgi-bin/monitor.js?mid=111675">
</SCRIPT></center>
</TD></TR></TABLE>
</body>
</html>
Save as serverstatus.html or whatever, and upload it to your webserver.
And use an iframe to display the content in an html block.
<iframe src="serverstatus.html" name="serverstatus" width="100%" height="200" frameborder="0">Your browser doesn't support frames.</iframe>
Put this in your HTML block.