Hi there, I want to modify the width of the form from 740 to 400 pixels, I can see the code in view source but where is the file to be modified exaclty? The file is here: http://www.xuzo.com/ostick/view.php And the source code for that page I want to modify is this: <html> <head> <title>osTicket : Login</title> <link rel="stylesheet" href="stylesheet.css" type="text/css"> <META NAME="ROBOTS" CONTENT="NOINDEX"> <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8"> <script language="JavaScript" type="text/javascript"> <!-- function PopWindow() { window.open('help.php','help','width=400,height=250,menubar=no,scrollbars=no,toolbar=no,location=yes,directories=no,resizable=no,top=200,left=300'); } //--> </script> </head> <body background="images/bg.gif" bgcolor="#FFFFFF" link="#000000" vlink="#000000" text="#000000" leftmargin="0" rightmargin="0" topmargin="10"> <center> <table width="740" bgcolor="#cccccc" cellspacing="1" cellpadding="1"><tr><td bgcolor="#ffffff"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr><td><a href="view.php"><img src="images/logo.jpg" alt="Main" border="0"></a></td></tr> <tr><td bgcolor="#999999"><img src="images/spacer.gif" width="1" height="2"></td></tr> <tr><td align="right" class="TableHeader"> <table cellpadding="0" cellspacing="3" border="0" class="barTxt"> <tr> <td><a class="barTxt" href="view.php"><img src="images/arrow.gif" border="0"></a></td> <td><a class="barTxt" href="view.php">Main</a></td> <td><a class="barTxt" href="JavaScriptopWindow()"><img src="images/arrow.gif" border="0"></a></td> <td><a class="barTxt" href="JavaScriptopWindow()">Help</a></td></tr> </table> </td></tr> </table> <table bgcolor="#FFFFFF" width="100%" cellpadding="10" cellspacing="0" border="0" align="center"> <tr> <td align="center"> <table width="100%" cellspacing="0" cellpadding="5" border="0"> <tr> <td>Please login:</td> </tr> <tr> <td align="center"> <table cellspacing="1" cellpadding="5" border="0" bgcolor="#000000"> <form action="view.php" method="post"> <tr> <td bgcolor="#EEEEEE">E-Mail:</td> <td bgcolor="#EEEEEE"> <input class="inputform" type="text" name="login_email" size="20" value=""> </td> <td bgcolor="#EEEEEE">Ticket Number:</td> <td bgcolor="#EEEEEE"> <input class="inputform" type="text" name="login_ticket" size="10" value=""> </td> <td bgcolor="#EEEEEE"> <input class="inputsubmit" type="submit" value="View Status"> </td> </tr> </form> </table> </td> </tr> </table> <br> </td> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr><td class="TableHeader" align="center"> <table cellpadding="3" cellspacing="0" border="0"> <tr><td align="right" class="barTxt">Support Ticket System</td></tr> </table> </td></tr> <tr><td bgcolor="#000000"><img src="images/spacer.gif" width="1" height="1"></td></tr> </table> <table width="100%" cellpadding="3" cellspacing="0" border="0"> <tr><td><font color="#cccccc"><small> Copyright © 2003-2004 osTicket.com, All Rights Reserved.</small></font></td><td align="right"> <!-- // You can not remove or edit the following copyrights, doing so will void the license and any rights you have to use this script // --> <a href="http://www.osticket.com" target="_blank"><img src="images/powered_by.gif" border="0" alt="osTicket STS v1.2 Copyright © 2003 osTicket.com"></a> <!-- // End of copyright // --> </td></tr></table> </td></tr></table> </body> </html>
Hi, Just change "table width="740" to "table width="400". You can see it below the body tag. Or if it is template based you should look at CSS file... or in the database scripts.
I know this is an old thread but it's pretty hilarious how the colon immediately followed by the letter p in the word pop got interpreted in your code: That could've been avoided by wrapping the code in code tags (Click the Insert button in the editor's toolbar and then click Code.) Thanks for the comic relief! P.S. You never did say whether fcolor's solution worked.