SunQuest
           Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old September 9th, 2004, 05:58 PM
LLX LLX is offline
Contributing User
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Glendale, CA, USA
Posts: 1,121 LLX User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 43 m 44 sec
Reputation Power: 3
Send a message via AIM to LLX Send a message via Yahoo to LLX
a anoying table bug

See below

problem: I dont know where it came from but in my links table i have this anoying horizontal white space anyone have though have to make it so the buttons and the blue bar are "touching" its kinda anoying...

http://celebrity-institute.com/onlineCourses/newtemplate.php

Code:
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR><TD WIDTH="100%">
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH=100% BGCOLOR="#FFFFFF">
<TR>
	<TD WIDTH="281" BGCOLOR="#FFFFFF" VALIGN="top"><img src="http://celebrity-institute.com/images/topbanner copy.jpg"></TD>
	<TD WIDTH="281" ALIGN="left" BGCOLOR="#FFFFFF" NOWRAP></TD>
<TD WIDTH="100%" ALIGN="left" BGCOLOR="#FFFFFF" NOWRAP></TD>
<TD></TD>
</TR><TR>
	<TD WIDTH="100%" COLSPAN="3" VALIGN="bottom">
	<?
switch ($this_page)
{
case "/onlineCourses/newtemplate.php":
print '<img src="http://celebrity-institute.com/images/homeon copy.jpg" border="0">
	<img src="http://celebrity-institute.com/images/homeoff copy.jpg" border="0">
	<img src="http://celebrity-institute.com/images/homeoff copy.jpg" border="0">
	<img src="http://celebrity-institute.com/images/homeoff copy.jpg" border="0">';
break;

default:
print '<img src="http://celebrity-institute.com/images/homeoff copy.jpg" border="0">
	<img src="http://celebrity-institute.com/images/homeoff copy.jpg" border="0">
	<img src="http://celebrity-institute.com/images/homeoff copy.jpg" border="0">
	<img src="http://celebrity-institute.com/images/homeoff copy.jpg" border="0">';
break;
}
?>
	</TD>
</TR><TR>
	<TD WIDTH="100%" BGCOLOR="#648CC6" COLSPAN="3" ALIGN="right"><IMG SRC="clear.gif" height="20" width="1"></TD>
</TR></TABLE>
</TD></TR></TABLE>


Reply With Quote
  #2  
Old September 9th, 2004, 06:34 PM
nawlej nawlej is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Dallas, Tx. USA
Posts: 2,008 nawlej User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 7 m 51 sec
Reputation Power: 4
RE: a anoying table bug

maybe?
<TD WIDTH="100%" BGCOLOR="#648CC6" COLSPAN="3" ALIGN="right"><IMG SRC="clear.gif" height="20" width="1"></TD>

Reply With Quote
  #3  
Old September 9th, 2004, 06:50 PM
LLX LLX is offline
Contributing User
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Glendale, CA, USA
Posts: 1,121 LLX User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 43 m 44 sec
Reputation Power: 3
Send a message via AIM to LLX Send a message via Yahoo to LLX
RE: a anoying table bug

no i need that, thats what im trying to conect the buttons to the big bar

Reply With Quote
  #4  
Old September 9th, 2004, 06:56 PM
LLX LLX is offline
Contributing User
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Glendale, CA, USA
Posts: 1,121 LLX User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 43 m 44 sec
Reputation Power: 3
Send a message via AIM to LLX Send a message via Yahoo to LLX
RE: a anoying table bug

im trying to do something similar to the over head tabs here

http://www.onlinelearning.net/index.html?s=826.1040z441y.079t001k91

but obviously with buttons not a image map

Reply With Quote
  #5  
Old September 9th, 2004, 08:54 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: a anoying table bug

believe it or not, it is the way you have your php code formatted. Instead of having each image on a seperate line, try putting them all in one continous line. Or just put the images inside a table with all spacing set to "0"


Reply With Quote
  #6  
Old September 9th, 2004, 09:50 PM
LLX LLX is offline
Contributing User
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Glendale, CA, USA
Posts: 1,121 LLX User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 43 m 44 sec
Reputation Power: 3
Send a message via AIM to LLX Send a message via Yahoo to LLX
RE: a anoying table bug

oldty i t fixed the problem in netscape but not ie, and now my logo in ie doesnt show up odd

php Code:
Original - php Code
  1.  
  2. <?
  3. ini_set('display_errors',0);
  4. $this_page = $_SERVER['PHP_SELF'];
  5. ?>
  6. <html>
  7.  
  8. <head>
  9. <title>Celebrity Institute</title>
  10. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  11. <link rel=alternate media=print href="printversion.doc">
  12. </head>
  13.  
  14. <BODY BGCOLOR="#990000" alink="#0000FF" vlink="#0000FF" link="#0000FF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  15. <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
  16. <TR><TD WIDTH="100%">
  17. <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH=100% BGCOLOR="#990000">
  18. <TR>
  19.     <TD WIDTH="100%" BGCOLOR="#990000" VALIGN="top"  COLSPAN="3" NOWRAP><center><img src="http://celebrity-institute.com/images/citopbanner copy1280.jpg" width="99%" height="99%" border="0"></center></TD></TR><TR>
  20.     <TD WIDTH="281" BGCOLOR="#990000" VALIGN="top"  COLSPAN="3" NOWRAP><IMG SRC="clear.gif" width="1" height="10" border="0"></TD>
  21. </TR><TR>
  22.     <TD WIDTH="100%" COLSPAN="3" VALIGN="bottom" NOWRAP>
  23.     <?
  24. switch ($this_page)
  25. {
  26. case "/onlineCourses/newtemplate.php":
  27. print '<IMG SRC="clear.gif" width="15" height="1" border="0"><img src="http://celebrity-institute.com/images/homeoff copy.jpg" border="0" hspace="0" vspace="0"><a href="aboutus.php"><img src="http://celebrity-institute.com/images/aboutuson copy.jpg" border="0" hspace="0" vspace="0"></a><a href="contact.php"><img src="http://celebrity-institute.com/images/contacton copy.jpg" border="0" hspace="0" vspace="0"></a><a href="courses.php"><img src="http://celebrity-institute.com/images/courseson copy.jpg" border="0" hspace="0" vspace="0"></a><a href="checkUser.php"><img src="http://celebrity-institute.com/images/regon copy.jpg" border="0" hspace="0" vspace="0"></a>';
  28. break;
  29.  
  30. case "/onlineCourses/aboutus.php":
  31. print '<IMG SRC="clear.gif" width="15" height="1" border="0"><a href="index2.php"><img src="http://celebrity-institute.com/images/homeon copy.jpg" border="0" hspace="0" vspace="0"></a><img src="http://celebrity-institute.com/images/aboutusoff copy.jpg" border="0" hspace="0" vspace="0"><a href="contact.php"><img src="http://celebrity-institute.com/images/contacton copy.jpg" border="0" hspace="0" vspace="0"></a><a href="courses.php"><img src="http://celebrity-institute.com/images/courseson copy.jpg" border="0" hspace="0" vspace="0"></a><a href="checkUser.php"><img src="http://celebrity-institute.com/images/regon copy.jpg" border="0" hspace="0" vspace="0"></a>';
  32. break;
  33.  
  34. case "/onlineCourses/contact.php":
  35. print '<IMG SRC="clear.gif" width="15" height="1" border="0"><a href="index2.php"><img src="http://celebrity-institute.com/images/homeon copy.jpg" border="0" hspace="0" vspace="0"></a><a href="aboutus.php"><img src="http://celebrity-institute.com/images/aboutuson copy.jpg" border="0" hspace="0" vspace="0"></a><img src="http://celebrity-institute.com/images/contactoff copy.jpg" border="0" hspace="0" vspace="0"><a href="courses.php"><img src="http://celebrity-institute.com/images/courseson copy.jpg" border="0" hspace="0" vspace="0"></a><a href="checkUser.php"><img src="http://celebrity-institute.com/images/regon copy.jpg" border="0" hspace="0" vspace="0"></a>';
  36. break;
  37.  
  38. case "/onlineCourses/courses.php":
  39. print '<IMG SRC="clear.gif" width="15" height="1" border="0"><a href="index2.php"><img src="http://celebrity-institute.com/images/homeon copy.jpg" border="0" hspace="0" vspace="0"></a><a href="aboutus.php"><img src="http://celebrity-institute.com/images/aboutuson copy.jpg" border="0" hspace="0" vspace="0"></a><a href="contact.php"><img src="http://celebrity-institute.com/images/contacton copy.jpg" border="0" hspace="0" vspace="0"></a><img src="http://celebrity-institute.com/images/coursesoff copy.jpg" border="0" hspace="0" vspace="0"><a href="checkUser.php"><img src="http://celebrity-institute.com/images/regon copy.jpg" border="0" hspace="0" vspace="0"></a>';
  40. break;
  41.  
  42. case "/onlineCourses/checkUser.php":
  43. print '<IMG SRC="clear.gif" width="15" height="1" border="0"><a href="index2.php"><img src="http://celebrity-institute.com/images/homeon copy.jpg" border="0" hspace="0" vspace="0"></a><a href="aboutus.php"><img src="http://celebrity-institute.com/images/aboutuson copy.jpg" border="0" hspace="0" vspace="0"></a><a href="contact.php"><img src="http://celebrity-institute.com/images/contacton copy.jpg" border="0" hspace="0" vspace="0"></a><a href="courses.php"><img src="http://celebrity-institute.com/images/courseson copy.jpg" border="0" hspace="0" vspace="0"></a><img src="http://celebrity-institute.com/images/regoff copy.jpg" border="0" hspace="0" vspace="0">';
  44. break;
  45.  
  46. default:
  47. print '<IMG SRC="clear.gif" width="15" height="1" border="0">';
  48. print '<a href="index2.php"><img src="http://celebrity-institute.com/images/homeon copy.jpg" border="0" hspace="0" vspace="0"></a><a href="aboutus.php"><img src="http://celebrity-institute.com/images/aboutuson copy.jpg" border="0" hspace="0" vspace="0"></a><a href="contact.php"><img src="http://celebrity-institute.com/images/contacton copy.jpg" border="0" hspace="0" vspace="0"></a><a href="courses.php"><img src="http://celebrity-institute.com/images/courseson copy.jpg" border="0" hspace="0" vspace="0"></a><a href="checkUser.php"><img src="http://celebrity-institute.com/images/regon copy.jpg" border="0" hspace="0" vspace="0"></a>';
  49. break;
  50. }
  51. ?>
  52.     </TD>
  53. </TR>
  54.  <TD WIDTH="100%" BGCOLOR="#D5C36F" COLSPAN="3" ALIGN="right"><IMG SRC="clear.gif" height="20" width="1"></TD>
  55. </TABLE>
  56. </TD></TR></TABLE>
  57.  
  58. <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
  59. <TR><TD>
  60. <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
  61. <TD WIDTH="150" BGCOLOR="#FFD85E" VALIGN=TOP>
  62. <TABLE WIDTH="150" BORDER="0" CELLSPACING="0" CELLPADDING="0" BGCOLOR="#FFD85E">
  63. <TR><TD COLSPAN="2" ALIGN="LEFT" BGCOLOR="#D5C36F">
  64. <TABLE>
  65. <TR><TD WIDTH="5"></TD>
  66.     <TD>Search</TD>
  67. </TR><TR><TD WIDTH="5"></TD>
  68.     <TD>link</TD>
  69. </TR><TR><TD WIDTH="5"></TD>
  70.     <TD>link</TD>
  71. </TR><TR><TD WIDTH="5"></TD>
  72.     <TD>link</TD>
  73. </TR><TR><TD WIDTH="5"></TD>
  74.     <TD>link</TD>
  75. </TR><TR><TD WIDTH="5"></TD>
  76.     <TD></TD></TR></TABLE>
  77. </TD></TR><TR BGCOLOR="#FFD85E">
  78. <TD COLSPAN="2">
  79.           <?php
  80.  
  81.                 $lblEmaiID = '<b> Email </b>';
  82.                 $lblPassword = '<b> Password </b>';
  83.                 $Validpage = false;
  84.                 $errMsg = '<ul>';
  85.                 if(isset($_POST['submitLogin'])){
  86.  
  87.                      $Validpage = true;
  88.                      $EmailID$_POST["emailID"];
  89.                      $Password = $_POST["password"];
  90.                      $errMsg = '';
  91.                      if(strlen($EmailID)<=0){
  92.                            $Validpage = false;
  93.                            $errMsg = $errMsg . "<li>Please enter Email";
  94.                            $lblEmailID = "<font color='red'><b>EmailID</b></font>";
  95.                      }
  96.  
  97.                      else{
  98.                            if(strlen($Password)<=0){
  99.                                  $Validpage = false;
  100.                                  $errMsg = $errMsg . "<li>Please enter Password";
  101.                                  $lblPassword = "<font color='red'><b>Password</b></font>";
  102.                             }
  103.                             else{
  104.  
  105.  
  106.     include ("loginfo.php");
  107.