Jump to content

freezerburned

Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

freezerburned's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. The page I built pushes the menu down leaving a blank space of white. Any ideas to fix this? [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]<html> <head> <title>Highland Tech High</title> <link href="main.css" rel="stylesheet" type="text/css"> </head> <style> body { margin: 0; padding: 0; background-color: #e5e5e7; color: black; } table.root { width: 100%;} td { vertical-align: top; } td.header { background-color: #e5e5e7; } td.nav { background-color: #828081; color: white; width: 150px; min-height: 671px; vertical-align: top;} td.nav a { border-top: 1px solid #cacaca; width: 144px; color: #cacaca; display: block; text-decoration: none; padding-left: 6px;} td.nav a:hover { background-color: #A3A3A3; color: black; } .nav {vertical-align: top;} td.rcol { background-color: #e9e2ae; } img { border: none; margin: 0; padding: 0; } </style> <body> <table cellspacing="0" cellpadding="0"> <tr> <!-- Header --> <td colspan="3" class="header"><img src="../images/logo.jpg" width="146" height="97"><img src="../images/header_top_center.jpg" width="396" height="97"> <td width="35"> <!-- Right column --> <td width="283" rowspan="2" class="rcol"><img src="../images/hm_virtual_tour.jpg" width="282" height="203"><br> <img src="../images/hm_centered_achievements.jpg" width="282" height="217"></td> </tr> <tr> <!-- Left Column --> <td valign="top" class="nav"> <a href="#"> Home</a> <a href="#"> About HTH</a> <a href="#"> Partnerships</a> <a href="#"> Staff</a> <a href="#"> Curricular Life</a> <a href="#"> Student Home</a> <a href="#"> School Info</a> <a href="#"> Events</a> <a href="#"> Sitemap</a> <a href="#"> Links</a> </td> <td width="828" id="bodytext"> <table width=\"100%\" border="0" cellpadding=\"0\" > <tr> <td style='padding-left: 20px; padding-right: 15px;'><p>asdfasdfasdfasdf</p> <p>asdfasdf</p> <p>asdfasdf</p></td> </tr> </table> <div align="center" id="copyrighttext" style="border-top: 1px solid #999999;"> Copyright &copy; 2005 Highland Tech High, All rights reserved.<Br> Designed by: <a href="http://www.sundogmedia.com">Sundog Media</a> & <a href="http://alaskainternet.com">Alaska Internet Services</a> </div> </td> </tr> </table> <div id="text3" style="position:absolute; width:400px; height:335px; z-index:1; left: 156px; top: 100px;"></div> </body> </html>[/quote]
  2. I'm trying to create a script to delete templates from my database, but I want to make it so that the default template can't be delete (making the checkbox unclickable). [code]     while($template = mysql_fetch_array($info)){                     $num = count($template['id']) -1;                     $last = $template['id'][$num];                     //if($template['id'][$i] ==0){$disable = "disabled";}else{$disabled = "";}                     $object[] = "<tr>                             <td width=50'>{$template['name']}</td>                             <td width='50'>{$template['id']} &nbsp;&nbsp;Delete: </td>                             <td><input name='template{$template['id']}' type='checkbox' $disabled value='{$template['id']}'/></td>";                             } [/code] Basically I have the code the code ready, but I can't figure out a way of parsing the results so that when it is displayed it outputs all the data correctly. If anyone has any Ideas let me know. I'm up to anything as long as it works. My methods are just what I know. Thanks.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.