|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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>
|
|
#2
|
|||
|
|||
|
RE: a anoying table bug
maybe?
<TD WIDTH="100%" BGCOLOR="#648CC6" COLSPAN="3" ALIGN="right"><IMG SRC="clear.gif" height="20" width="1"></TD> |
|
#3
|
|||
|
|||
|
RE: a anoying table bug
no i need that, thats what im trying to conect the buttons to the big bar
|
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
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"
|
|
#6
|
|||||
|
|||||
|
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:
|
|
#7
|
|||
|
|||
|
RE: a anoying table bug
this code after the switch may be problematic as you have a closing </tr> tag but no openening <tr> tag before the next <td> tag so the orphaned table cell might be causing the problem, unless I am reading the tablle tags incorrectly
|
|
#8
|
|||||
|
|||||
|
RE: a anoying table bug
testing....
nope still doesnt work right in IE php Code:
|
|
#9
|
|||
|
|||
|
RE: a anoying table bug
problem with the image not showing up is that percantages you are using for the height and width...remove them and the graphic displays fine. I also noticed som sytax errors in your table tags (orphaned table cells) that could be causing problems.
|
|
#10
|
|||||
|
|||||
|
RE: a anoying table bug
I suggest putting your graphics and links in another table, seems to work best...
here is code for the default of the switch php Code:
just my suggestion |
|
#11
|
|||
|
|||
|
RE: a anoying table bug
ill have to print the code and go through ti line by line...
as for the percentages the problem is that if i dotn set the size in % then when users with smaller then 1280 with rez monitors will get a streched page and using java to detect resolution doesnt seem to deal with that either |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > a anoying table bug |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|