Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE DREAMWEAVER: HomeDreamweaver ForumDreamweaver TutorialsFAQAdobe FlashWeb Design

Re: Spry Menu Bar works great in Firefox but Messed up in IE

Cow Forums : Adobe Dreamweaver
FAQ   •   VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Respond to this post   •   Return to posts index   •   Read entire thread


Re: Spry Menu Bar works great in Firefox but Messed up in IE
by Matthew Redding on Jul 16, 2009 at 10:10:43 pm

Hi,

Thank you for your reply.

The no repeat on the container did stop it repeating but then there was white space at the bottom with a border around it all. So then I added the div background and put the Nav bar div inside this along with the table containing the heading, copy & right side txt but with the background image in the div background now it just did the same thing.

I deleted an extra row at the bottom of the table and this seemed to bring everything up without showing the repeating image. But now if I position the bottom edge of the table just inside the div background when I test the site in any browser (ie6/7, FF, etc...) the table has jumped up out of position.

You can view this in IE7 or FF here... http://www.primepltd.com/TEST.html

Thanks for your help again.

Here is my latest code...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Prime Procurement - Creating Value Where It Counts</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<link href="oneColElsCtr.css" rel="stylesheet" type="text/css" />

<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<style type="text/css">
<!--
body {
background-color: #FFFFFF;
}
body,td,th {
color: #33CCFF;
}
a:link {
text-decoration: none;
color: #636D68;
}
a:visited {
text-decoration: none;
color: #636D68;
}
a:hover {
text-decoration: none;
color: #636D68;
}
a:active {
text-decoration: none;
color: #636D68;
}


-->
</style>

<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
</head>

<body class="oneColElsCtr" onload="MM_preloadImages('buttons/bigger_buttons_5_linkmenu/menu_button_home_roll.png','buttons/bigger_buttons_5_linkmenu/menu_button_about_us_roll.png','buttons/bigger_buttons_5_linkmenu/menu_button_services_roll.png','buttons/bigger_buttons_5_linkmenu/menu_button_primemenu_roll.png','buttons/bigger_buttons_5_linkmenu/menu_button_approach_roll.png','buttons/bigger_buttons_5_linkmenu/menu_button_boutique_roll.png','buttons/bigger_buttons_5_linkmenu/menu_button_contact_roll.png')">

<div id="container">

<div id="background">

<div id="Nav">

<ul id="MenuBar1" class="MenuBarHorizontal">

<li><a href="#"></a><a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('rollover home','','buttons/button_home_roll.gif',1)"><img src="buttons/button_home.gif" name="rollover home" width="51" height="11" border="0" id="rollover home" /></a></li>

<li><a href="#"></a><a href="about_us.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('rollover aboutus','','buttons/button_aboutus_roll.gif',1)"><img src="buttons/button_aboutus.gif" name="rollover aboutus" width="79" height="11" border="0" id="rollover aboutus" /></a></li>

<li><a class="MenuBarItemSubmenu" href="#"></a><a href="services.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('rollover services','','buttons/button_services_roll.gif',1)"><img src="buttons/button_services.gif" name="rollover services" width="75" height="11" border="0" id="rollover services" /></a>
<ul>
<li><a class="MenuBarItemSubmenu" href="#"></a><a href="prime_menu.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('rollover primemenu','','buttons/button_primemenu_roll.gif',1)"><img src="buttons/button_primemenu.gif" name="rollover primemenu" width="97" height="11" border="0" id="rollover primemenu" /></a></li>
</ul>
</li>

<li><a class="MenuBarItemSubmenu" href="#"></a><a href="approach.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('rollover approach','','buttons/button_approach_roll.gif',1)"><img src="buttons/button_approach.gif" name="rollover approach" width="86" height="11" border="0" id="rollover approach" /></a>
<ul>
<li><a class="MenuBarItemSubmenu" href="#"></a><a href="boutique.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('rollover boutique','','buttons/button_boutique_roll.gif',1)"><img src="buttons/button_boutique.gif" name="rollover boutique" width="80" height="11" border="0" id="rollover boutique" /></a></li>
</ul>
</li>

<li><a href="#"></a><a href="contact.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('rollover contact','','buttons/button_contact_roll.gif',1)"><img src="buttons/button_contact.gif" name="rollover contact" width="75" height="11" border="0" id="rollover contact" /></a></li>
</ul>
</div>

<table width="1019" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="15" height="99" scope="row">&nbsp;</th>
<td width="575">&nbsp;</td>
<td colspan="2" rowspan="3">&nbsp;</td>
<td width="378" rowspan="3" align="right" valign="bottom"><img src="images/rightTxt_welcome.gif" width="378" height="201" align="right" /></td>
</tr>
<tr>
<th height="30" scope="row">&nbsp;</th>
<td><img src="images/heading_welcome.gif" width="300" height="30" /></td>
</tr>
<tr>
<th height="188" scope="row">&nbsp;</th>
<td><img src="images/copy_welcome.gif" width="555" height="188" /></td>
</tr>
</table>
</div>
</div>

<div id="footer">prime procurement ltd. &copy;2009</div>
<p class="style2"></p>

<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>





Respond to this post   •   Return to posts index   •   Read entire thread


Current Message Thread:




Note: If you are a registered user please click here to login before posting.

Your post will not be accepted if your name and email address are not registered in our database. Click here if you do not have an account.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  

Message:



Note: The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key. Read more...



Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]