Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
  1. #1
    Junior Member Nameless's Avatar
    Join Date
    Apr 2004
    Location
    UK
    Posts
    19
    Member #
    5804
    Hello im currently working on my site with a new cms however i have seemed to have messed the online users box it has a black box under it? im using foirefox and heres the code

    Code:
       <td valign="top" width="160" bgcolor="#ffffff">
                       <table cellspacing="0" cellpadding="0" width="160" bgcolor="#000000" border="0">
                           <tr>
                               <td>
       
       
           <table cellspacing="0" cellpadding="0" width="160" bgcolor="#000000" border="0">
                           <tr>
                               <td>
                               <table cellspacing="1" cellpadding="3" width="100%" border="0">
                                   <tr>
                                       <td bgcolor="#2152bd">
      <font face="Arial" color="#ffffff" size="2"><b>Online Users</b></font></td>
                                   </tr>
                                   <tr>
                                       <td bgcolor="#ffffff"><font size="2">
      <iframe frameborder="0" src="usersonline.php" name="usersonline" width="160" height="40" scrolling="no"></iframe>
       
                                   
                                       </font></td>
                                   </tr>
                               </table>
                               </td>
                           </tr>
                       </table>
                       <br />

    Thanks in advance

  2.  

  3. #2
    Senior Member jf1288's Avatar
    Join Date
    Sep 2003
    Posts
    215
    Member #
    3300
    I made some changes, and i hope that helps.
    1. There were 3 tables that opened, but only 2 that closed
    2. In the beginning there is a cell that starts, but doesn't have a table or row opened before it
    3. changed black backgrounds to 1 pixel black border (got rid of big black box which was empty table space that had a black background)


    HTML Code:
    <table style="border: 1px solid #000000;"><tr><td valign="top" width="160" bgcolor="#ffffff">
                       <table cellspacing="0" cellpadding="0" width="160" bgcolor="#ffffff" border="0">
                           <tr>
                               <td>
       
       
           <table cellspacing="0" cellpadding="0" width="160" bgcolor="#ffffff" border="0">
                           <tr>
                               <td>
                               <table cellspacing="1" cellpadding="3" width="100%" border="0">
                                   <tr>
                                       <td bgcolor="#2152bd">
      <font face="Arial" color="#ffffff" size="2"><b>Online Users</b></font></td>
                                   </tr>
                                   <tr>
                                       <td bgcolor="#ffffff"><font size="2">
      <iframe frameborder="0" src="usersonline.php" name="usersonline" width="160" height="40" scrolling="no" style="overflow: hidden;"></iframe>
       
                                   
                                       </font></td>
                                   </tr>
                               </table>
                               </td>
                           </tr>
                       </table></td><tr></table></td><tr></table>
                       <br />
    If its not in Family Guy its not worth it.

  4. #3
    Junior Member Nameless's Avatar
    Join Date
    Apr 2004
    Location
    UK
    Posts
    19
    Member #
    5804
    still there full template

    Code:
    <?php
    global $insert;
    $EST_TEMPLATE = <<<TEMPLATE
    <!-- Template site_header -->
    
    <html>
    
    <head>
    <title>$insert[page_title]</title>
    
    <meta name="GENERATOR" content="Xtremecomputing #1 For Hardware News And Reviews- http://www.xtremecomputing.com" />
    <meta name="KEYWORDS" content="$insert[page_keywords]" />
    <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
    
    <style type="text/css">
    TD {
    	FONT-SIZE: 10pt; FONT-FAMILY: Verdana,Arial,Helvetica
    }
    BODY {
    	FONT-SIZE: 10pt; FONT-FAMILY: Verdana,Arial,Helvetica
    }
    </style>
    
    </head>
    
    <body text="#000000" vlink="#000000" alink="#000000" link="#000000" bgcolor="#314252" leftmargin="0" topmargin="5" rightmargin="0">
    
    <script language="JavaScript">
    <!--
    function FullWin(tag) {
       var newWinObj = window.open(tag,'newWin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=0,width=950,height=680')
    } 
    function addNetscapePanel() { 
       if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")) 
       { 
           window.sidebar.addPanel ("$insert[site_name]", "$insert[site_url]/sidebar.php",""); 
       } 
       else 
       { 
           var rv = window.confirm ("This page is enhanced for use with Mozilla.  " + "Would you like to upgrade now?"); 
       if (rv) 
           document.location.href = "http://www.mozilla.org";
       } 
       } 
    //--> 
    </script>   
    
    <br />
    <br />
    <table cellspacing="0" cellpadding="3" width="100%" align="center" bgcolor="#d5d6d7" border="0">
    	<tr>
    		<td>
    		<table cellspacing="0" cellpadding="1" width="100%" bgcolor="#d5d6d7" border="0">
    			<tr>
    				<td>
    				<table cellspacing="0" cellpadding="2" width="100%" bgcolor="#d5d6d7" border="0">
    					<tr>
    						<td>
    						<img src="images/xtremecomputer.gif" alt="Xtremecomputing" border="0" /></a>
    						</td>
    					</tr>
    				</table>
    				</td>
    			</tr>
    		</table>
    		</td>
    	</tr>
    	<tr bgcolor="#000000">
    		<td bgcolor="#455a99" colspan="2">
    		<font face="Arial" color="#ffffff" size="2"><b>Xtremecomputing</b></font></td>
    	</tr>
    	<tr>
    		<td valign="top" width="100%" bgcolor="#ffffff"> 
    		<table cellspacing="0" cellpadding="2" width="100%" border="0">
    			<tr>
    				<td valign="top" width="160" bgcolor="#ffffff">
    				<table cellspacing="0" cellpadding="0" width="160" bgcolor="#000000" border="0">
    					<tr>
    						<td>
    
    
    	<table style="border: 1px solid #000000;"><tr><td valign="top" width="160" bgcolor="#ffffff">
                       <table cellspacing="0" cellpadding="0" width="160" bgcolor="#ffffff" border="0">
                           <tr>
                               <td>
       
       
           <table cellspacing="0" cellpadding="0" width="160" bgcolor="#ffffff" border="0">
                           <tr>
                               <td>
                               <table cellspacing="1" cellpadding="3" width="100%" border="0">
                                   <tr>
                                       <td bgcolor="#2152bd">
      <font face="Arial" color="#ffffff" size="2"><b>Online Users</b></font></td>
                                   </tr>
                                   <tr>
                                       <td bgcolor="#ffffff"><font size="2">
      <iframe frameborder="0" src="usersonline.php" name="usersonline" width="160" height="40" scrolling="no" style="overflow: hidden;"></iframe>
       
                                   
                                       </font></td>
                                   </tr>
                               </table>
                               </td>
                           </tr>
                       </table></td><tr></table></td><tr></table>
                       <br />
    
    
    
    						<table cellspacing="1" cellpadding="3" width="100%" border="0">
    							<tr>
    								<td bgcolor="#2152bd">
    								<font face="Arial" color="#ffffff" size="2"><b>Main Menu</b></font></td>
    							</tr>
    							<tr>
    								<td bgcolor="#ffffff"><font size="2">
    								<li><a href="index.php">Home Page</a><br /></li>
    								<li><a href="category.php">News Categories</a><br /></li>
    								<li><a href="archive.php">News Archive</a><br /></li>
    								<li><a href="mailinglist.php">Mailing List</a><br /></li>
    								<li><a href="forums.php">Forums</a><br /></li>										
    								<li><a href="comments.php">Comments</a><br /></li>								
    								<li><a href="review.php">Reviews</a></li>
    								<li><a href="faq.php">FAQ</a><br /></li>
    								<li><a href="poll.php">Polls</a></li>
    								<li><a href="download.php">Downloads</a></li>
    								<li><a href="glossary.php">Glossary</a></li>
    								<li><a href="link.php">Web Links</a><br /></li>
    								<li><a href="search.php">Search</a></li>
    								<li><a href="ticket.php">Trouble Ticket</a></li>
    								<li><a href="submitstory.php">Submit News</a></li>
    								<li><a href="submitdownload.php">Submit File</a></li>
    								<li><a href="page.php">Pages</a></li>
    								<li><a href="plan.php">Plans</a></li>
    								</font></td>
    							</tr>
    						</table>
    						</td>
    					</tr>
    				</table>
    				<br />
    				<table cellspacing="0" cellpadding="0" width="160" bgcolor="#000000" border="0">
    					<tr>
    						<td>
    						<table cellspacing="1" cellpadding="3" width="100%" border="0">
    							<tr>
    								<td bgcolor="#2152bd">
    								<font face="Arial" color="#ffffff" size="2"><b>User</b></font></td>
    							</tr>
    							<tr>
    								<td bgcolor="#ffffff"><font size="2">
    								<li><a href="register.php">Register</a><br /></li>
    								<li><a href="login.php">Login</a><br /></li>
    								<li><a href="logout.php">Logout</a><br /></li>
    								<li><a href="upanel.php">Control Panel</a><br /></li>
    								<li><a href="pm.php">Private Messages</a><br /></li>
    								</font></td>
    							</tr>
    						</table>
    						</td>
    					</tr>
    				</table>
    				<br />
    				<table cellspacing="0" cellpadding="0" width="160" bgcolor="#000000" border="0">
    					<tr>
    						<td>
    						<table cellspacing="1" cellpadding="3" width="100%" border="0">
    							<tr>
    								<td bgcolor="#2152bd">
    								<font face="Arial" color="#ffffff" size="2"><b>News Feeds</b></font></td>
    							</tr>
    							<tr>
    								<td bgcolor="#ffffff"><font size="2">
    								<li><a href="mobile.php">Handheld/PDA</a><br /></li>
    								<li><a href="backend.php?action=help">XML News Feeds</a><br /></li>
    								<li><a href="sidebar.php" target="_blank">View Sidebar</a><br /></li>
    								<li><a href="javascript:addNetscapePanel();">Mozilla Sidebar</a><br /></li>								
    								</font></td>
    							</tr>
    						</table>
    						</td>
    					</tr>
    				</table>
    		
    			</td>
    			<td>&nbsp; </td>
    			<td valign="top" width="85%">
    
    TEMPLATE;
    ?>
    see anything wrong?

  5. #4
    Senior Member jf1288's Avatar
    Join Date
    Sep 2003
    Posts
    215
    Member #
    3300
    I'm not sure how your template system works, is there a link to that page?
    If its not in Family Guy its not worth it.

  6. #5
    Junior Member Nameless's Avatar
    Join Date
    Apr 2004
    Location
    UK
    Posts
    19
    Member #
    5804
    www.xtremecomputing.co.uk its the header template but also carries the menus etc

  7. #6
    Senior Member jf1288's Avatar
    Join Date
    Sep 2003
    Posts
    215
    Member #
    3300
    Change the line that opens the cell that the first table is in, from just <TD> to <TD valign="top"> and that should do it

    HTML Code:
       
           <table cellspacing="0" cellpadding="0" width="160" bgcolor="#ffffff" style="border: 1px solid #000000;">
                           <tr>
                               <td>
                               <table cellspacing="1" cellpadding="3" width="100%" border="0">
                                   <tr>
                                       <td bgcolor="#2152bd">
      <font face="Arial" color="#ffffff" size="2"><b>Online Users</b></font></td>
                                   </tr>
                                   <tr>
                                       <td bgcolor="#ffffff"><font size="2">
      <iframe frameborder="0" src="usersonline.php" name="usersonline" width="160" height="40" scrolling="no" style="overflow: hidden;"></iframe>
       
                                   
                                       </font></td>
                                   </tr>
                               </table>
                               </td>
                           </tr>
                       </table></td><tr></table></td><tr></table>
    Removed line break from ater table.
    If its not in Family Guy its not worth it.

  8. #7
    Junior Member Nameless's Avatar
    Join Date
    Apr 2004
    Location
    UK
    Posts
    19
    Member #
    5804
    hmm could you add it to the template i posted? cant quite get it would really appriciate it chhers

  9. #8
    Senior Member jf1288's Avatar
    Join Date
    Sep 2003
    Posts
    215
    Member #
    3300
    This should work
    Code:
    <?php
    global $insert;
    $EST_TEMPLATE = <<<TEMPLATE
    <!-- Template site_header -->
    
    <html>
    
    <head>
    <title>$insert[page_title]</title>
    
    <meta name="GENERATOR" content="Xtremecomputing #1 For Hardware News And Reviews- http://www.xtremecomputing.com" />
    <meta name="KEYWORDS" content="$insert[page_keywords]" />
    <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
    
    <style type="text/css">
    TD {
    	FONT-SIZE: 10pt; FONT-FAMILY: Verdana,Arial,Helvetica
    }
    BODY {
    	FONT-SIZE: 10pt; FONT-FAMILY: Verdana,Arial,Helvetica
    }
    </style>
    
    </head>
    
    <body text="#000000" vlink="#000000" alink="#000000" link="#000000" bgcolor="#314252" leftmargin="0" topmargin="5" rightmargin="0">
    
    <script language="JavaScript">
    <!--
    function FullWin(tag) {
       var newWinObj = window.open(tag,'newWin','toolbar=0,location=0,directorie  s=0,status=0,menubar=0,scrollbars=1,resizable=1,co  pyhistory=0,width=950,height=680')
    } 
    function addNetscapePanel() { 
       if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")) 
       { 
           window.sidebar.addPanel ("$insert[site_name]", "$insert[site_url]/sidebar.php",""); 
       } 
       else 
       { 
           var rv = window.confirm ("This page is enhanced for use with Mozilla.  " + "Would you like to upgrade now?"); 
       if (rv) 
           document.location.href = "http://www.mozilla.org";
       } 
       } 
    //--> 
    </script>   
    
    <br />
    <br />
    <table cellspacing="0" cellpadding="3" width="100%" align="center" bgcolor="#d5d6d7" border="0">
    	<tr>
    		<td>
    		<table cellspacing="0" cellpadding="1" width="100%" bgcolor="#d5d6d7" border="0">
    			<tr>
    				<td>
    				<table cellspacing="0" cellpadding="2" width="100%" bgcolor="#d5d6d7" border="0">
    					<tr>
    						<td>
    						<img src="images/xtremecomputer.gif" alt="Xtremecomputing" border="0" /></a>
    						</td>
    					</tr>
    				</table>
    				</td>
    			</tr>
    		</table>
    		</td>
    	</tr>
    	<tr bgcolor="#000000">
    		<td bgcolor="#455a99" colspan="2">
    		<font face="Arial" color="#ffffff" size="2"><b>Xtremecomputing</b></font></td>
    	</tr>
    	<tr>
    		<td valign="top" width="100%" bgcolor="#ffffff"> 
    		<table cellspacing="0" cellpadding="2" width="100%" border="0">
    			<tr>
    				<td valign="top" width="160" bgcolor="#ffffff">
    				<table cellspacing="0" cellpadding="0" width="160" border="0">
    					<tr>
    						<td valign="top">
    
    
    	<table style="border: 1px solid #000000;"><tr><td valign="top" width="160" bgcolor="#ffffff">
                       <table cellspacing="0" cellpadding="0" width="160" bgcolor="#ffffff" border="0">
                           <tr>
                               <td>
       
       
           <table cellspacing="0" cellpadding="0" width="160" bgcolor="#ffffff" border="0">
                           <tr>
                               <td>
                               <table cellspacing="1" cellpadding="3" width="100%" border="0">
                                   <tr>
                                       <td bgcolor="#2152bd">
      <font face="Arial" color="#ffffff" size="2"><b>Online Users</b></font></td>
                                   </tr>
                                   <tr>
                                       <td bgcolor="#ffffff"><font size="2">
      <iframe frameborder="0" src="usersonline.php" name="usersonline" width="160" height="40" scrolling="no" style="overflow: hidden;"></iframe>
       
                                   
                                       </font></td>
                                   </tr>
                               </table>
                               </td>
                           </tr>
                       </table></td><tr></table></td><tr></table>
                       <br />
    
    
    
    						<table cellspacing="1" cellpadding="3" width="100%" border="0">
    							<tr>
    								<td bgcolor="#2152bd">
    								<font face="Arial" color="#ffffff" size="2"><b>Main Menu</b></font></td>
    							</tr>
    							<tr>
    								<td bgcolor="#ffffff"><font size="2">
    								<li><a href="index.php">Home Page</a><br /></li>
    								<li><a href="category.php">News Categories</a><br /></li>
    								<li><a href="archive.php">News Archive</a><br /></li>
    								<li><a href="mailinglist.php">Mailing List</a><br /></li>
    								<li><a href="forums.php">Forums</a><br /></li>										
    								<li><a href="comments.php">Comments</a><br /></li>								
    								<li><a href="review.php">Reviews</a></li>
    								<li><a href="faq.php">FAQ</a><br /></li>
    								<li><a href="poll.php">Polls</a></li>
    								<li><a href="download.php">Downloads</a></li>
    								<li><a href="glossary.php">Glossary</a></li>
    								<li><a href="link.php">Web Links</a><br /></li>
    								<li><a href="search.php">Search</a></li>
    								<li><a href="ticket.php">Trouble Ticket</a></li>
    								<li><a href="submitstory.php">Submit News</a></li>
    								<li><a href="submitdownload.php">Submit File</a></li>
    								<li><a href="page.php">Pages</a></li>
    								<li><a href="plan.php">Plans</a></li>
    								</font></td>
    							</tr>
    						</table>
    						</td>
    					</tr>
    				</table>
    				<br />
    				<table cellspacing="0" cellpadding="0" width="160" bgcolor="#000000" border="0">
    					<tr>
    						<td>
    						<table cellspacing="1" cellpadding="3" width="100%" border="0">
    							<tr>
    								<td bgcolor="#2152bd">
    								<font face="Arial" color="#ffffff" size="2"><b>User</b></font></td>
    							</tr>
    							<tr>
    								<td bgcolor="#ffffff"><font size="2">
    								<li><a href="register.php">Register</a><br /></li>
    								<li><a href="login.php">Login</a><br /></li>
    								<li><a href="logout.php">Logout</a><br /></li>
    								<li><a href="upanel.php">Control Panel</a><br /></li>
    								<li><a href="pm.php">Private Messages</a><br /></li>
    								</font></td>
    							</tr>
    						</table>
    						</td>
    					</tr>
    				</table>
    				<br />
    				<table cellspacing="0" cellpadding="0" width="160" bgcolor="#000000" border="0">
    					<tr>
    						<td>
    						<table cellspacing="1" cellpadding="3" width="100%" border="0">
    							<tr>
    								<td bgcolor="#2152bd">
    								<font face="Arial" color="#ffffff" size="2"><b>News Feeds</b></font></td>
    							</tr>
    							<tr>
    								<td bgcolor="#ffffff"><font size="2">
    								<li><a href="mobile.php">Handheld/PDA</a><br /></li>
    								<li><a href="backend.php?action=help">XML News Feeds</a><br /></li>
    								<li><a href="sidebar.php" target="_blank">View Sidebar</a><br /></li>
    								<li><a href="javascript:addNetscapePanel();">Mozilla Sidebar</a><br /></li>								
    								</font></td>
    							</tr>
    						</table>
    						</td>
    					</tr>
    				</table>
    		
    			</td>
    			<td>&nbsp; </td>
    			<td valign="top" width="85%">
    
    TEMPLATE;
    ?>
    If its not in Family Guy its not worth it.

  10. #9
    Junior Member Nameless's Avatar
    Join Date
    Apr 2004
    Location
    UK
    Posts
    19
    Member #
    5804

  11. #10
    Junior Member Nameless's Avatar
    Join Date
    Apr 2004
    Location
    UK
    Posts
    19
    Member #
    5804
    i reverted it back for now


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 07:07 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com