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.

Results 1 to 5 of 5
  1. #1
    Senior Member
    Join Date
    Apr 2005
    Location
    Hatfield, England
    Posts
    855
    Member #
    9790
    OK, i am trying to finish off this site and its the final page on the forums.

    There are 3 tables. My main table, the table in the left column and the table in the right column. For some inexplicable reason the table in the right column sits about 200 px down the page. Can anyone have a quick browse of the following code to see if they can spot something amiss.

    I put borders on so you can actually see what is happening.

    edited for SEO reasons

    HTML Code:
    <table width="100%" cellspacing="0" cellpadding="0" border="1" align="center">
    	<tr> 
    		<th class="thCornerL" colspan="2" height="25" nowrap="nowrap">Viewing profile :: Bigs</th>
    	</tr>
    	<tr> 
    		<td colspan="2" height="25" align="right"><span class="genmed"> <a href="index.php">Forums</a> &nbsp; <a href="../members.php">UNC Clan Profiles</a></span></td>
    	</tr>
    
    	<tr> 
    		<td class="thCornerL" width="60%" align="center"><b><span class="gen">About Bigs</span></b></td>
    		<td class="thCornerL" width="40%" height="28" align="center"><b><span class="gen">Profile Photo</span></b></td>
    	</tr>
     	<tr>
    		<td> 
    			<table width="100%" border="1">
    				<tr> 
    		 			<td align="left" nowrap="nowrap" width="40%"><b><span class="genmed2">Joined:&nbsp;</span></b></td>
    
    					<td width="60%"><span class="genmed2">22 Dec 2006</span></td>
    				</tr>
    				<tr> 
    		  			<td align="left" valign="top" nowrap="nowrap"><b><span class="genmed2">Total posts:&nbsp;</span></b></td>  
    					<td><span class="genmed2">5</span><br /><span class="genmed2">[27.78% of total / 0.36 posts per day]</span> <br /><span class="genmed2"><a href="search.php?search_author=Bigs" class="genmed2">Find all posts by Bigs</a></span></td>
    				</tr>
    				<tr> 
    					<td valign="middle" align="left" width="35%" nowrap="nowrap"><b><span class="genmed2">Name:</span></b></td>
    
    					<td class="row1" valign="middle" width="65%"><span class="genmed2">Jason Stanley</span></td>
    				</tr>
    				<tr> 
    					<td valign="middle" align="left" nowrap="nowrap"><b><span class="genmed2">Age:</span></b></td>
    					<td valign="middle" class="row1" valign="middle"><span class="genmed2">20</span></td>
    				</tr>
    				<tr> 
    		  			<td valign="middle" align="left" nowrap="nowrap"><b><span class="genmed2">Location:&nbsp;</span></b></td>
    
    			        <td valign="middle" class="row1" ><span class="genmed2">England&nbsp;<img src="images/flags/gb.png" alt="gb.png" title="gb.png" border="1" /></span></td>
    				</tr>
    				<tr> 
    		  			<td valign="middle" align="left" nowrap="nowrap"><b><span class="genmed2">Website:&nbsp;</span></b></td>
    		  			<td valign="middle" class="row1" ><span class="genmed2"><a href="http://www.jasonstanley.co.uk" target="_userwww">http://www.jasonstanley.co.uk</a></span></td>
    				</tr>
    				<tr> 
    		  			<td valign="middle" align="left" nowrap="nowrap"><b><span class="genmed2">Occupation:&nbsp;</span></b></td>
    
    		  			<td class="row1" ><span class="genmed2">Student</span></td>
    				</tr>
    				<tr> 
    		  			<td valign="top" align="left" nowrap="nowrap"><b><span class="genmed2">Interests:</span></b></td>
    		  			<td class="row1" > <span class="genmed2">Web Design</span></td>
    				</tr>
    				<tr> 
    				  	<td valign="middle" align="left" nowrap="nowrap"><b><span class="genmed2">Favourite Game:</span></b></td>
    
    				  	<td class="row1" valign="middle" width="100%"><span class="genmed2">Warcraft 3</span></td>
    				</tr>
    				<tr> 
    				  	<td valign="middle" align="left" nowrap="nowrap"><b><span class="genmed2">Favourite Movie:</span></b></td>
    				  	<td class="row1" valign="middle" width="100%"><span class="genmed2">Thank you for smoking</span></td>
    				</tr>
    				<tr> 
    				  	<td valign="middle" align="left" nowrap="nowrap"><b><span class="genmed2">Favourite Book:</span></b></td>
    
    				  	<td class="row1" valign="middle" width="100%"><span class="genmed2">Going Postal</span></td>
    				</tr>	
    				<tr> 
    					<td colspan="2" align="center" class="thCornerL" width="100%"><b><span class="gen">Hardware</span></b></td>
    				</tr>
    				<tr> 
    					<td valign="middle" align="left" nowrap="nowrap"><b><span class="genmed2">Graphics Card:</span></b></td>
    					<td class="row1" valign="middle" width="100%"><span class="genmed2">I don't know</span></td>
    
    				</tr>
    				<tr> 
    					<td valign="middle" align="left" nowrap="nowrap"><b><span class="genmed2">Mother Board:</span></b></td>
    					<td class="row1" valign="middle" width="100%"><span class="genmed2">An old one</span></td>
    				</tr>
    				<tr> 
    					<td valign="middle" align="left" nowrap="nowrap"><b><span class="genmed2">Processor:</span></b></td>
    					<td class="row1" valign="middle" width="100%"><span class="genmed2">1.6 Intel Celeron</span></td>
    
    				</tr>
    				<tr> 
    					<td valign="middle" align="left" nowrap="nowrap"><b><span class="genmed2">Memory:</span></b></td>
    					<td class="row1" valign="middle" width="100%"><span class="genmed2">512Mb</span></td>
    				</tr>
    				<tr> 
    					<td valign="middle" align="left" nowrap="nowrap"><b><span class="genmed2">Hard Drive:</span></b></td>
    					<td class="row1" valign="middle" width="100%"><span class="genmed2">10GB</span></td>
    
    				</tr>
    				<tr> 
    					<td valign="middle" align="left" nowrap="nowrap"><b><span class="genmed2">Case:</span></b></td>
    					<td class="row1" valign="middle" width="100%"><span class="genmed2">Grey</span></td>
    				</tr>
    				<tr> 
    					<td valign="middle" align="left" nowrap="nowrap"><b><span class="genmed2">Power Supply:</span></b></td>
    					<td class="row1" valign="middle" width="100%"><span class="genmed2">Plug</span></td>
    
    				</tr>
    				<tr> 
    					<td valign="middle" align="left" nowrap="nowrap"><b><span class="genmed2">Optical Drive:</span></b></td>
    					<td class="row1" valign="middle" width="100%"><span class="genmed2">My Eyes?</span></td>
    				</tr>
    				<tr> 
    					<td valign="middle" align="left" nowrap="nowrap"><b><span class="genmed2">Monitor:</span></b></td>
    					<td class="row1" valign="middle" width="100%"><span class="genmed2">19&quot;</span></td>
    
    				</tr>
    				<tr> 
    					<td valign="middle" align="left" nowrap="nowrap"><b><span class="genmed2">Keyboard:</span></b></td>
    					<td class="row1" valign="middle" width="100%"><span class="genmed2">QWERTY</span></td>
    				</tr>				
    				<tr> 
    					<td valign="middle" align="left" nowrap="nowrap"><b><span class="genmed2">Mouse:</span></b></td>
    					<td class="row1" valign="middle" width="100%"><span class="genmed2">Microsoft Intellimouse :P</span></td>
    
    				</tr>  
    				<tr> 
    					<td colspan="2" align="center" class="thCornerL" width="100%"><b><span class="gen">Misc</span></b></td>
    				</tr>
    								<tr> 
    					<td valign="top" align="left" nowrap="nowrap"><span class="genmed"><b>Upload Quota:</b></span></td>
    					<td> 
    						<table cellspacing="1" cellpadding="2" border="0" class="bodyline">
    						<tr> 
    							<td colspan="3" width="100%" class="row2">
    
    								<table cellspacing="0" cellpadding="1" border="0">
    									<tr> 
    										<td bgcolor="#FFFFFF"><img src="templates/subSilver/images/spacer.gif" width="1" height="8" alt=
    										"0" /></td>
    									</tr>
    								</table>
    							</td>
    						</tr>
    						<tr> 
    							<td width="33%" class="row1"><span class="gensmall">0%</span></td>
    
    							<td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
    							<td width="33%" align="left" class="row1"><span class="gensmall">100%</span></td>
    						</tr>
    						</table>
    						<b><span class="genmed">[Uploaded: 204.83 KB / Quota: 50 MB / 0% of total]</span> </b><br />
    						<span class="genmed"><a href="./uacp.php?u=2&amp;sid=1773326226c055e493122f1690a7524d" class="genmed">User Attachment Control Panel</a></span>
    
    					</td>
    				</tr>
    							</table>
    		</td>
    					
    		<td>
    			<table width="100%" cellpadding="0" cellspacing="0" border="1">
    				<tr>
    					<td align="center" width="100%" class="row1"><img src="images/photos/502ab6e2459e6aa3a8f45.jpg" alt="" border="0" /></td>
    				</tr>
    
    				<tr> 
    					<td class="thCornerL" align="center" height="28"><b><span class="gen">Contact Details </span></b></td>
    				</tr>
    				<tr> 
    					<td class="row1" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="3">
    					
    						<tr> 
    						  <td valign="left" align="left" nowrap="nowrap"><b><span class="genmed2">E-mail address:</span></b></td>
    						  <td class="row1" valign="middle" width="100%"><span class="genmed2"><a href="mailto:contact@jasonstanley.co.uk"><img src="templates/UNCSkin/images/lang_english/icon_email.gif" alt="Send e-mail" title="Send e-mail" border="0" /></a></span></td>
    						</tr>
    
    						<tr> 
    						  <td valign="left" nowrap="nowrap" align="left"><b><span class="genmed2">Private Message:</span></b></td>
    						  <td class="row1" valign="middle"><span class="genmed2"><a href="privmsg.php?mode=post&amp;u=2"><img src="templates/UNCSkin/images/lang_english/icon_pm.gif" alt="Send private message" title="Send private message" border="0" /></a></span></td>
    						</tr>
    						<tr> 
    						  <td valign="left" nowrap="nowrap" align="left"><b><span class="genmed2">MSN Messenger:</span></b></td>
    						  <td class="row1" valign="middle"><span class="genmed2">&nbsp;</span></td>
    						</tr>
    						<tr> 
    						  <td valign="left" nowrap="nowrap" align="left"><b><span class="genmed2">Yahoo Messenger:</span></b></td>
    
    						  <td class="row1" valign="middle"><span class="genmed2"></span></td>
    						</tr>
    						<tr> 
    						  <td valign="left" nowrap="nowrap" align="left"><b><span class="genmed2">AIM Address:</span></b></td>
    						  <td class="row1" valign="middle"><span class="genmed2">&nbsp;</span></td>
    						</tr>
    						<tr> 
    						  <td valign="left" nowrap="nowrap" align="left"><b><span class="genmed2">ICQ Number:</span></b></td>
    						  <td class="row1"><script language="JavaScript" type="text/javascript"><!-- 
    				
    						if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
    							document.write(' &nbsp;');
    						else
    							document.write('<table cellspacing="0" cellpadding="0" border="0"><tr><td nowrap="nowrap"><div style="position:relative;height:18px"><div style="position:absolute">&nbsp;</div><div style="position:absolute;left:3px;top:-1px">&nbsp;</div></div></td></tr></table>');
    						  
    						  //--></script><noscript>&nbsp;</noscript></td>
    
    						</tr>
    					</table>	
    					</td>
    				</tr>
    				<tr> 
    					<td colspan="2" align="center" class="thCornerL" width="100%"><b><span class="gen">Avatar</span></b></td>
    				</tr>
    				<tr> 
    					<td class="row1" height="6" valign="top" align="center"><br /><span class="postdetails">Site Admin</span></td>
    
      				</tr>
    				<tr> 
    					<td align="right"><span class="nav"><br /><form method="get" name="jumpbox" action="viewforum.php" onSubmit="if(document.jumpbox.f.value == -1){return false;}"><table cellspacing="0" cellpadding="0" border="0">
    	<tr> 
    		<td nowrap="nowrap"><span class="gensmall">Jump to:&nbsp;<select name="f" onchange="if(this.options[this.selectedIndex].value != -1){ forms['jumpbox'].submit() }"><option value="-1">Select a forum</option><option value="-1">&nbsp;</option><option value="-1">United Nations Clan</option><option value="-1">----------------</option><option value="1">Announcements</option><option value="2">ClanBase Wars</option><option value="3">Challenge Us</option><option value="5">Join us</option><option value="6">Servers</option><option value="-1">&nbsp;</option><option value="-1">General</option><option value="-1">----------------</option><option value="10">Call of Duty 2</option><option value="11">Music</option><option value="12">Other Games</option><option value="13">Sport</option><option value="14">World of Warcraft</option></select><input type="hidden" name="sid" value="1773326226c055e493122f1690a7524d" />&nbsp;<input type="submit" value="Go" class="liteoption" /></span></td>
    
    	</tr>
    </table></form>
    </span></td>
      				</tr>		
    			</table>
    		</td>				
    	</tr>
    </table>

  2.  

  3. #2
    Senior Member leprechaun13's Avatar
    Join Date
    May 2005
    Location
    Northampton
    Posts
    487
    Member #
    10058
    Do you mean where the profile Picture is?
    Regards Phil,


  4. #3
    Senior Member Karloff's Avatar
    Join Date
    Oct 2005
    Posts
    744
    Member #
    11702
    could you not set the td which holds that images as valign="top"??

    i also noticed that you have a few valign="left" stuck in there. not sure if that would be valid... or do anything.. maybe i'm wrong tho. thought i'd mention it

  5. #4
    Senior Member raspberryh's Avatar
    Join Date
    Aug 2004
    Location
    Erie, PA
    Posts
    882
    Member #
    7208
    Liked
    1 times
    Yeah you do need the valign="top". That fixes it.
    choosy developers choose gif!
    website | paintings | blog

  6. #5
    Senior Member
    Join Date
    Apr 2005
    Location
    Hatfield, England
    Posts
    855
    Member #
    9790
    ah thank you so much, i don't normally use tables and just couldn't work out what was going on. As for valign="left". As i say i don't normally use tables and it took a while to click that valign and align were 2 different things. i thought i had removed them all but there there were obviously a few floating around. I killed them off with find and replace


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 12:15 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com