| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Member Join Date: Jun 2004
Posts: 92
![]() | site not displaying properly in IE when viewing my site in IE one of the rows in the table is too high, it leaves extra space which messes up the design. in Firefox it works fine. its the first row of navigation (you could see abit of gray space under it) baismenachem.com/beta obviously still a work in progress i tried pretty much everything i could think of, and still cant figure out whats going on. any help would be greatly appreciated here is the original source code for that row: Code: <tr>
<td height="25" colspan="6" valign="top" background="images/top-2.jpg"><table width="760" height="25" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="5" colspan="15"></td>
</tr>
<tr>
<td width="3" height="20"></td>
<td width="106">
<?php
if ($_GET['$page']==home){
print '<img src="images/buttons/topnav_home_down.jpg">';
}
elseif (empty ($_GET['$page'])){
print '<img src="images/buttons/topnav_home_down.jpg">';
}
else {
print "<a href=\"index.php\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('home','','images/buttons/topnav_home_down.jpg',1)\"><img src=\"images/buttons/topnav_home_up.jpg\" alt=\"Bais Menachem YDP Home\" name=\"home\" width=\"106\" height=\"20\" border=\"0\"></a>";
}
?>
</td>
<td width="2"></td>
<td width="106">
<?php
if ($_GET['$page']==about){
print '<img src="images/buttons/topnav_about_down.jpg">';
}
else {
print ('<a href="index.php?$page=about" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'About\',\'\',\'images/buttons/topnav_about_down.jpg\',1)"><img src="images/buttons/topnav_about_up.jpg" alt="About Bais Menachem" name="About" width="106" height="20" border="0"></a>');
}
?>
</td>
<td width="2"></td>
<td width="106">
<?php
if ($_GET['$page']==yeshiva){
print '<img src="images/buttons/topnav_yeshiva_down.jpg">';
}
else {
print ('<a href="index.php?$page=yeshiva" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Yeshiva\',\'\',\'images/buttons/topnav_yeshiva_down.jpg\',1)"><img src="images/buttons/topnav_yeshiva_up.jpg" alt="Bais Menachem -the Yeshiva" name="Yeshiva" width="106" height="20" border="0"></a>');
}
?>
</td>
<td width="2"></td>
<td width="106">
<?php
if ($_GET['$page']==community){
print '<img src="images/buttons/topnav_community_down.jpg">';
}
else {
print ('<a href="index.php?$page=community" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'community\',\'\',\'images/buttons/topnav_community_down.jpg\',1)"><img src="images/buttons/topnav_community_up.jpg" alt="Community Events & Programs" name="community" width="106" height="20" border="0"></a>');
}
?>
</td>
<td width="2"></td>
<td width="106">
<?php
if ($_GET['$page']==summer){
print '<img src="images/buttons/topnav_summer_down.jpg">';
}
else {
print ('<a href="index.php?$page=summer" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'summer\',\'\',\'images/buttons/topnav_summer_down.jpg\',1)"><img src="images/buttons/topnav_summer_up.jpg" alt="Bais Menachem Summer Program" name="summer" width="106" height="20" border="0"></a>');
}
?>
</td>
<td width="2"></td>
<td width="106">
<?php
if ($_GET['$page']==donate){
print '<img src="images/buttons/topnav_donate_down.jpg">';
}
else {
print ('<a href="index.php?$page=donate" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'donate\',\'\',\'images/buttons/topnav_donate_down.jpg\',1)"><img src="images/buttons/topnav_donate_up.jpg" alt="Donate to Bais Menachem YDP" name="donate" width="106" height="20" border="0"></a>');
}
?>
</td>
<td width="2"></td>
<td width="106">
<?php
if ($_GET['$page']==contact){
print '<img src="images/buttons/topnav_contact_down.jpg">';
}
else {
print ('<a href="index.php?$page=contact" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'contact\',\'\',\'images/buttons/topnav_contact_down.jpg\',1)"><img src="images/buttons/topnav_contact_up.jpg" alt="Contact Bais Menachem" name="contact" width="106" height="20" border="0"></a>');
}
?>
</td>
<td width="3"></td>
</tr>
</table>
</td>
</tr> |
| |
| | THREAD STARTER #3 (permalink) |
| NamePros Member Join Date: Jun 2004
Posts: 92
![]() | its not a white spot, its a grey spot, i was looking at it again and i noticed that both navigation rows have it, if you look in between the 2 rows of buttons you will notice that in IE there is a space under the top buttons that doesnt belong there. also, under the second row (you have to click one of the buttons, not on the home page) the bg image extends down and doesnt stop where it should. thanks a ton for the help |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Page Rank 5 Site with Banner and Text Links!! MUCH MORE! High Traffic Sites | ebizcraftsman | Advertising & SEO Services | 0 | 12-09-2004 09:43 PM |