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

Horizontal Spry Menu Bar links not right in IE

Cow Forums : Adobe Dreamweaver

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>
Horizontal Spry Menu Bar links not right in IE
by Bobbie Scanio on May 29, 2009 at 12:16:19 am

I created a site in dreamweaver and the spry menu bar text color do not show up in IE.

I tried the browsershots.org views and many of the browsers did not read the spry correctly.

Any idea what I did wrong?

Here is the link http://www.bellavillads.com/about.html

Here is the css code

@charset "UTF-8";

/* SpryMenuBarHorizontal.css - Revision: Spry Preview Release 1.4 */

/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */

/*******************************************************************************

LAYOUT INFORMATION: describes box model, positioning, z-order

*******************************************************************************/

/* The outermost container of the Menu Bar, an auto width box with no margin or padding */
ul.MenuBarHorizontal
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
cursor: default;
}
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
{
z-index: 1000;
}
/* Menu item containers, position children relative to this container and are a fixed width */
ul.MenuBarHorizontal li
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 14px;
position: relative;
text-align: center;
cursor: pointer;
width: 16.6667%;
float: left;
color: #FFFFFF;
letter-spacing: 1px;
background-color: #F2EDEA;
font-weight: bold;
text-transform: uppercase;
line-height: normal;
height: 22px;
vertical-align: middle;
clear: none;
background-position: center center;
}
/* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarHorizontal ul
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
z-index: 1020;
cursor: default;
width: 16%;
position: absolute;
left: -1000em;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
{
left: auto;
}
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
{
width: 8.2em;
}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
{
position: absolute;
margin: -5% 0 0 95%;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
{
left: auto;
top: 0;
}

/*******************************************************************************

DESIGN INFORMATION: describes color scheme, borders, fonts

*******************************************************************************/

/* Submenu containers have borders on all sides */
ul.MenuBarHorizontal ul
{
border: 1px solid #CCC;
}
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
{
display: block;
cursor: pointer;
text-decoration: none;
color: #FFFFFF;
background-color: #524131;
height: auto;
width: auto;
}
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
{
background-color: #BDB08E;
color: #524131;
}
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
{
background-color: #BDB08E;
color: #524131;
}

/*******************************************************************************

SUBMENU INDICATION: styles if there is a submenu under a given menu item

*******************************************************************************/

/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenu
{
background-image: url(SpryMenuBarDown.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
{
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
{
background-image: url(SpryMenuBarDownHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
{
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}

/*******************************************************************************

BROWSER HACKS: the hacks below should not be changed unless you are an expert

*******************************************************************************/

/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarHorizontal iframe
{
position: absolute;
z-index: 1010;
}
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
{
ul.MenuBarHorizontal li.MenuBarItemIE
{
display: inline;
float: left;
background: #FFF;
}
}


Respond to this post   •   Return to posts index

Re: Horizontal Spry Menu Bar links not right in IE
by sandra schmitt on Jun 1, 2009 at 8:22:59 pm

Hello,

I am new to working in Dreamweaver CS3, so please bare with me :) I have set-up a Horizontal Spry Menu Bar and looks fine in Firefox and Safari, but The buttons on the submenu underneath no not line up left-aligned in IE. They appear to be centered under the little pull-down arrow.


Thank you in advance!
Sandra


Here is the link:

http://www.papercutz.com/home_testspry.html

Here is the code:

@charset "UTF-8";

/* SpryMenuBarHorizontal.css - Revision: Spry Preview Release 1.4 */

/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */

/*******************************************************************************

LAYOUT INFORMATION: describes box model, positioning, z-order

*******************************************************************************/

/* The outermost container of the Menu Bar, an auto width box with no margin or padding */
ul.MenuBarHorizontal
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 11pt;
cursor: default;
width: 612px;
font-family: Arial, Helvetica, sans-serif;
background-image: url(../papercutz/assets/images/comics1.gif);
}
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
{
z-index: 1000;
}
/* Menu item containers, position children relative to this container and are a fixed width */
ul.MenuBarHorizontal li
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
position: relative;
cursor: pointer;
width: 25%;
float: left;
border-bottom: 5;
border-color: #FF9900;
border-width: 5;
background-image: url(../papercutz/assets/images/comics1.gif);
}
/* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarHorizontal ul
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
z-index: 1020;
cursor: default;
width: 150px;
position: absolute;
left: -1000em;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
{
left: auto;
}
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
{
width: 150px;
font-size: 9px;
}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
{
position: absolute;
margin: -5% 0 0 95%;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
{
left: auto;
top: 0;
}

/*******************************************************************************

DESIGN INFORMATION: describes color scheme, borders, fonts

*******************************************************************************/

/* Submenu containers have borders on all sides */
ul.MenuBarHorizontal ul
{
border: 1px solid #ff9900;
}
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
{
display: block;
cursor: pointer;
background-color: #FF6600;
padding: 0.5em 0.75em;
color: #FFFFFF;
text-decoration: none;
border: solid 1px #ff9900;
height: 16px;
text-align: center;
}
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
{
background-color: #FF0000;
color: #000000;
}
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
{
background-color: #FF0000;
color: #000000;
}

/*******************************************************************************

SUBMENU INDICATION: styles if there is a submenu under a given menu item

*******************************************************************************/

/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenu
{
background-image: url(SpryMenuBarDown.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
{
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
{
background-image: url(SpryMenuBarDownHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
{
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}

/*******************************************************************************

BROWSER HACKS: the hacks below should not be changed unless you are an expert

*******************************************************************************/

/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarHorizontal iframe
{
position: absolute;
z-index: 1010;
}
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
{
ul.MenuBarHorizontal li.MenuBarItemIE
{
display: inline;
float: left;
background: #FFF;
}
}


Respond to this post   •   Return to posts index

Re: Horizontal Spry Menu Bar links not right in IE
by Richard Williams on Jun 1, 2009 at 8:59:48 pm

Hi sandra,

in the ul.MenuBarHorizontal li in your css, add text-align:left and all should then be ok.

Richard Williams

Respond to this post   •   Return to posts index


Re: Horizontal Spry Menu Bar links not right in IE
by sandra schmitt on Jun 1, 2009 at 11:20:53 pm

I made this change but unfortunately I cant see if it worked until tomorrow when my friend checks it for me on her pc. I hope it worked, if not I will be back :)

Thank you for such a quick response, I am spent and I needed it.

sandra

Respond to this post   •   Return to posts index

Re: Horizontal Spry Menu Bar links not right in IE
by Richard Williams on Jun 2, 2009 at 7:47:48 am

Yeh, all better in IE now, nice site BTW :o)

Richard Williams

Respond to this post   •   Return to posts index

Re: Horizontal Spry Menu Bar links not right in IE
by sandra schmitt on Jun 2, 2009 at 11:59:25 am

Thanks for all your help!! As you can see I had couple other questions that I thought of... I think i figured out one though... Trying to make the main/top navbar a little thinner. I did this by changing the padding in the MenuBarHorizontal a... Does this look ok in IE

http://www.papercutz.com/home_test.html

Also do you know why the buttons cut-off over the flash on this page in IE?...

http://www.papercutz.com/stilton/index.html

Looks ok in Firefox/Safari mac.

One last thing...
I couldn't get any of these to work in the newest Firefox for pc....

UGH!!! I figure one thing out, then more stuff crops up.

Your help so much appreciated, I have benn scouring google for days before I found you guys.

Thanks

sandra

Respond to this post   •   Return to posts index


Re: Horizontal Spry Menu Bar links not right in IE
by Richard Williams on Jun 2, 2009 at 8:21:01 pm

OK...

the Wrapping... You can increase the text size, and then put in Height:auto into your ul.menubarhorizontal a.

This will make the tales from the crypt cal spread to two lines, whereas all others will be 1 line high

the problem with your swf is a transparency issue.

see if this post can help you out, if not, come back and i will help you do it.(read sharons response here too as she actually used opaque setting).

Richard Williams

Respond to this post   •   Return to posts index

Re: Horizontal Spry Menu Bar links not right in IE
by Richard Williams on Jun 2, 2009 at 8:23:17 pm

DOH!!! The post link...
http://forums.creativecow.net/readpost/191/858643

Richard Williams

Respond to this post   •   Return to posts index

Re: Horizontal Spry Menu Bar links not right in IE
by sandra schmitt on Jun 3, 2009 at 12:24:10 am

Thanks! I got the wrapping issue solved. I will check out this post and get that working.

Thanks again for your help so appreciated!!

sandra

Respond to this post   •   Return to posts index


Re: Horizontal Spry Menu Bar links not right in IE
by sandra schmitt on Jun 3, 2009 at 3:46:25 pm

I want the same spry menu that I have at the top of the page also on the bottom. I copy and pasted code but the pasted version on the bottom drop-down button doesn't work? I looked at code and can't see what's missing.

here is link:

http://www.papercutz.com/stilton/meetmycrew4.html

here is code:





PAPERCUTZ :: Geronimo Stilton











 


















Meet My Crew






 


 


Papercutz • 40 Exchange Place, Suite 1308 • New York, NY 10005 • 800 886 1223


Geronimo Stilton © Atlantyca S.p.A.

©2006 Papercutz. All rights reserved


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 








Respond to this post   •   Return to posts index

Re: Horizontal Spry Menu Bar links not right in IE
by Richard Williams on Jun 3, 2009 at 9:04:46 pm

"i want" "I Want"... If i said the words Server Side Includes to you, what would you say?

Richard Williams

Respond to this post   •   Return to posts index

Re: Horizontal Spry Menu Bar links not right in IE
by sandra schmitt on Jun 3, 2009 at 9:08:32 pm

he-he I think... i would say I really dont know what that is but I have heard of it and that maybe you are tired of me and my novice self :)

i will google what that is.... in the meantime is there a post you could direct me too? i am in over my head and had no idea these little widgets would be so complicated.... now I know...

thx s

Respond to this post   •   Return to posts index


Re: Horizontal Spry Menu Bar links not right in IE
by Richard Williams on Jun 3, 2009 at 9:18:03 pm

No No No, not at all, i just wanted to know if you had used them before thats all... its ok, i'll take a look now



Richard Williams

Respond to this post   •   Return to posts index

Re: Horizontal Spry Menu Bar links not right in IE
by Richard Williams on Jun 3, 2009 at 9:20:36 pm

Try this my friend...

What i did, was highlight the menu, by clicking on the blue tab sprymenu in the design view, then copying it. then i pasted it at the bottom, (after i deleted the span you had there). This then recreates it, as menubar2, and installs another link at the top of the code to the actual spry css folder, so i then deleted this line and hey ho, the monkey can rest easy again tonight.

(not that i'm calling YOU a monkey) :o)

<!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" />
<title>PAPERCUTZ :: Geronimo Stilton</title>
<style type="text/css">
<!--
body {
background-color: #006600;
margin-left: 0px;
margin-top: 0px;
background-image: url();
}
a:link {
color: #FF3300;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #FF3300;
}
a:hover {
text-decoration: underline;
color: #006600;
}
a:active {
text-decoration: none;
}
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FF3300;
font-weight: bold;
}
.style2 {
font-size: 10px;
color: #000000;
font-family: Arial, Helvetica, sans-serif;
}
-->
</style>
<script src="http://www.papercutz.com/Scripts_new/AC_RunActiveContent.js" type="text/javascript"></script>
<script src="http://www.papercutz.com/SpryAssets_new/SpryMenuBar.js" type="text/javascript"></script>
<link href="nmn.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style4 { font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
color: #000066;
font-weight: bold;
}
.style5 { color: #006600;
font-size: 13px;
}
body,td,th {
font-family: Arial, Helvetica, sans-serif;
}
-->
</style>

<link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
</head>

<body>
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0" background="../assets/images/backtile.gif" bgcolor="#FFCC33">
<tr>
<td align="center"><p>&nbsp;</p>
<table width="650" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="../assets/images/logonew.gif" width="251" height="45" /></td>
</tr>
</table>
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a class="MenuBarItemSubmenu" href="#">COMICS HOME</a>
<ul>
<li><a href="http://www.papercutz.com/bionicle/index.html">BIONICLE</a></li>
<li><a href="http://www.papercutz.com/classics/windwillow/willowhome.html">Classics Illus.</a></li>
<li><a href="http://www.papercutz.com/nd/nd.html">Nancy Drew</a></li>
<li><a href="http://www.papercutz.com/stilton/index.html">Geronimo Stilton</a></li>
<li><a href="http://www.papercutz.com/hb/hb.html">Hardy Boys</a></li>
<li><a href="http://www.papercutz.com/pope/pope_moreinfo.html">John Paul II</a></li>
<li><a href="http://www.papercutz.com/tc/tc.html">Tales from the Crypt</a></li>
<li><a href="http://www.papercutz.com/ts/ts.html">Totally Spies</a></li>
<li><a href="http://www.papercutz.com/zrr/zrr.html">Zorro</a></li>
</ul>
</li>
<li><a href="http://www.papercutz.com/news.html">MORE GS INFO</a></li>
<li><a href="http://www.papercutz.com/order.html">MEET MY CREW</a> </li>
<li><a href="http://www.papercutz.com/about.html">READ THE COMICS</a> </li>
<li><a href="#">WHERE TO FIND</a></li>
</ul>

<table width="612" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#006600">
<tr>
<td align="center"><p><img src="../assets/images/stiltonlogo1.gif" width="221" height="173" /></p>
<table width="556" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="570" height="1795" align="center" valign="middle" bgcolor="#FF3300"><img src="crew.jpg" alt="Meet My Crew" width="548" height="1787" /></td>
</tr>
</table> </td>
</tr>
</table>
<br />
<br />
<ul id="MenuBar2" class="MenuBarHorizontal">
<li><a class="MenuBarItemSubmenu" href="#">COMICS HOME</a>
<ul>
<li><a href="http://www.papercutz.com/bionicle/index.html">BIONICLE</a></li>
<li><a href="http://www.papercutz.com/classics/windwillow/willowhome.html">Classics Illus.</a></li>
<li><a href="http://www.papercutz.com/nd/nd.html">Nancy Drew</a></li>
<li><a href="http://www.papercutz.com/stilton/index.html">Geronimo Stilton</a></li>
<li><a href="http://www.papercutz.com/hb/hb.html">Hardy Boys</a></li>
<li><a href="http://www.papercutz.com/pope/pope_moreinfo.html">John Paul II</a></li>
<li><a href="http://www.papercutz.com/tc/tc.html">Tales from the Crypt</a></li>
<li><a href="http://www.papercutz.com/ts/ts.html">Totally Spies</a></li>
<li><a href="http://www.papercutz.com/zrr/zrr.html">Zorro</a></li>
</ul>
</li>
<li><a href="http://www.papercutz.com/news.html">MORE GS INFO</a></li>
<li><a href="http://www.papercutz.com/order.html">MEET MY CREW</a> </li>
<li><a href="http://www.papercutz.com/about.html">READ THE COMICS</a> </li>
<li><a href="#">WHERE TO FIND</a></li>
</ul>
<p>&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2"><strong>Papercutz</strong> • 40 Exchange Place, Suite 1308 • New York, NY 10005 • 800 886 1223</p>
<p class="style2">Geronimo Stilton © Atlantyca S.p.A.<br />
©2006 Papercutz. All rights reserved</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p> </tr>
<tr>
<td align="center">
</tr>
</table>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>



Richard Williams

Respond to this post   •   Return to posts index

Re: Horizontal Spry Menu Bar links not right in IE
by sandra schmitt on Jun 3, 2009 at 9:55:01 pm

YOU ARE THE BEST!!! So I should have my code match this, correct? I am working on it tonight.

My strength is in design if you ever need anything.

thx s

Respond to this post   •   Return to posts index


Re: Horizontal Spry Menu Bar links not right in IE
by Richard Williams on Jun 3, 2009 at 9:41:41 pm

yeh just copy and paste it

Richard Williams

Respond to this post   •   Return to posts index

Re: Horizontal Spry Menu Bar links not right in IE
by Richard Williams on Jun 3, 2009 at 10:00:43 pm

yeh, thats my weakest point, not an artistic bone in my body... together we'd go far eh!

Richard Williams

Respond to this post   •   Return to posts index

Re: Horizontal Spry Menu Bar links not right in IE
by sandra schmitt on Jun 4, 2009 at 1:00:04 am

We are :)

I put the code in and it is working on my mac, have to have a friend check on her pc... yes another kink in my set-up... no pc readily available.

Here is the link:

http://www.papercutz.com/stilton/meetmycrew2.html

Really... thank you for all of your help, I never would have gotten this on my own.

sandra

Respond to this post   •   Return to posts index


Re: Horizontal Spry Menu Bar links not right in IE
by Richard Williams on Jun 4, 2009 at 9:27:23 am

Checked on IE, all looks good, but then it would wouldn't it! :o)

Well done, hopefully you understood the explaination of the process too.

You are very welcome, speak to you soon.

Richard Williams

Respond to this post   •   Return to posts index

Re: Horizontal Spry Menu Bar links not right in IE
by sandra schmitt on Jun 4, 2009 at 2:56:13 pm

Hello!

Do you have any idea why this wont work for the new Firefox on pc/windows? It works in Firefox for my mac. This is the one browser that I haven't been checking. Same pages I have been working on.

Here are some of the links:

http://www.papercutz.com/index2.html

http://www.papercutz.com/stilton/index.html

http://www.papercutz.com/stilton/stilton_moreinfo.html

thx again!
sandra

Respond to this post   •   Return to posts index

Re: Horizontal Spry Menu Bar links not right in IE
by sandra schmitt on Jun 4, 2009 at 3:42:54 pm

recap... worksin all browsers but windows firefox...

link again:

http://www.papercutz.com/index2.html

Sorry here is the code for this problem....

@charset "UTF-8";

/* SpryMenuBarHorizontal.css - Revision: Spry Preview Release 1.4 */

/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */

/*******************************************************************************

LAYOUT INFORMATION: describes box model, positioning, z-order

*******************************************************************************/

/* The outermost container of the Menu Bar, an auto width box with no margin or padding */
ul.MenuBarHorizontal
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 9pt;
cursor: default;
width: 700px;
font-family: Arial, Helvetica, sans-serif;
background-image: url(../papercutz/assets/images/comics1.gif);
}
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
{
z-index: 1000;
}
/* Menu item containers, position children relative to this container and are a fixed width */
ul.MenuBarHorizontal li
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
position: relative;
cursor: pointer;
width: 20%;
float: left;
border-color: #FF9900;
background-image: url(../papercutz/assets/images/comics1.gif);
text-align: left;
}
/* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarHorizontal ul
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
z-index: 1020;
cursor: default;
width: 140px;
position: absolute;
left: -1000em;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
{
left: auto;
}
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
{
width: 150px;
font-size: 9pt;
}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
{
position: absolute;
margin: -5% 0 0 95%;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
{
left: auto;
top: 0;
}
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
{
display: block;
cursor: pointer;
background-color: #FF6600;
padding: .2em .5em;
color: #FFFFFF;
text-decoration: none;
border: solid 1px #ff9900;
height: 16px;
text-align: center;
}
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
{
background-color: #FF0000;
color: #000000;
}
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
{
background-color: #FF0000;
color: #000000;
}

/*******************************************************************************

SUBMENU INDICATION: styles if there is a submenu under a given menu item

*******************************************************************************/

/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenu
{
background-image: url(SpryMenuBarDown.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
{
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
{
background-image: url(SpryMenuBarDownHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
{
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}

/*******************************************************************************

BROWSER HACKS: the hacks below should not be changed unless you are an expert

*******************************************************************************/

/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarHorizontal iframe
{
position: absolute;
z-index: 1010;
}
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
{
ul.MenuBarHorizontal li.MenuBarItemIE
{
display: inline;
float: left;
background: #FFF;
}
}



thanks! sandra


Respond to this post   •   Return to posts index


Re: Horizontal Spry Menu Bar links not right in IE
by sandra schmitt on Jun 4, 2009 at 5:47:16 pm

This page also goes over a flash movie, maybe that has something to do with it?

this link:
http://www.papercutz.com/index2.html


uses this code:

@charset "UTF-8";

/* SpryMenuBarHorizontal.css - Revision: Spry Preview Release 1.4 */

/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */

/*******************************************************************************

LAYOUT INFORMATION: describes box model, positioning, z-order

*******************************************************************************/

/* The outermost container of the Menu Bar, an auto width box with no margin or padding */
ul.MenuBarHorizontal
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 11pt;
cursor: default;
width: 612px;
font-family: Arial, Helvetica, sans-serif;
background-image: url(../papercutz/assets/images/comics1.gif);
}
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
{
z-index: 1000;
}
/* Menu item containers, position children relative to this container and are a fixed width */
ul.MenuBarHorizontal li
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
position: relative;
cursor: pointer;
width: 25%;
float: left;
border-color: #FF9900;
background-image: url(../papercutz/assets/images/comics1.gif);
text-align: left;
}
/* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarHorizontal ul
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
z-index: 1020;
cursor: default;
width: 150px;
position: absolute;
left: -1000em;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
{
left: auto;
}
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
{
width: 150px;
font-size: 9pt;
}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
{
position: absolute;
margin: -5% 0 0 95%;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
{
left: auto;
top: 0;
}
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
{
display: block;
cursor: pointer;
background-color: #FF6600;
padding: .2em .5em;
color: #FFFFFF;
text-decoration: none;
border: solid 1px #ff9900;
height: 16px;
text-align: center;
}
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
{
background-color: #FF0000;
color: #000000;
}
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
{
background-color: #FF0000;
color: #000000;
}

/*******************************************************************************

SUBMENU INDICATION: styles if there is a submenu under a given menu item

*******************************************************************************/

/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenu
{
background-image: url(SpryMenuBarDown.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
{
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
{
background-image: url(SpryMenuBarDownHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
{
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}

/*******************************************************************************

BROWSER HACKS: the hacks below should not be changed unless you are an expert

*******************************************************************************/

/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarHorizontal iframe
{
position: absolute;
z-index: 1010;
}
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
{
ul.MenuBarHorizontal li.MenuBarItemIE
{
display: inline;
float: left;
background: #FFF;
}
}


Respond to this post   •   Return to posts index

Re: Horizontal Spry Menu Bar links not right in IE
by sandra schmitt on Jun 5, 2009 at 1:29:43 am

I got it!! I found another question similar :)

sandra

Respond to this post   •   Return to posts index

Re: Horizontal Spry Menu Bar links not right in IE
by sandra schmitt on Jun 1, 2009 at 11:56:15 pm

One more question for this same post....

In the drop down menu, one of the titles (Tales from the Crypt)is quite a bit longer than the rest. When I make the font bigger it wraps to 2 lines and then cuts off. Meaning the box doesn't get any longer. How can I let a submenu item wrap (meaning be 2 lines) without cutting off? Can you make just one button be 2 lines and the rest only one? OR do they all have to be 2 lines OR all 1 line.

Thanks I hope I explained this well.

sandra

Respond to this post   •   Return to posts index


Re: Horizontal Spry Menu Bar links not right in IE
by Richard Williams on Jun 1, 2009 at 8:46:55 pm

Hi,

the proble is you have these codes in your page which are fighting the spry css rules in IE6.


a:link {
color: #AE9D83;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #999999;
}
a:hover {
text-decoration: underline;
color: #BDB08E;
}
a:active {
text-decoration: none;
color: #996633;
}


also, the spry menu is not displaying correctly becase the SprymenuBarHorizontal.css has been altered beyond recognition. You need to update the spry files with a new one and then work from there.



Richard Williams

Respond to this post   •   Return to posts index

Re: Horizontal Spry Menu Bar links not right in IE
by sandra schmitt on Jun 1, 2009 at 11:38:42 pm

I couldn't find this in my code that i posted, but i did make the previous change, thanks!

sandra

Respond to this post   •   Return to posts index

Re: Horizontal Spry Menu Bar links not right in IE
by Richard Williams on Jun 2, 2009 at 7:47:11 pm

yeh, sorry, the above post was meant for the other person, Bobbie who posted.

Richard Williams

Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]