Horizontal Menu Bar Width Issues
Hey all,
I'm having some problems getting my menu bar to stretch all the way across the 1000px container it's in. Is there a way to alter the width of individual tabs? It is set to float left, and the width is currently set at auto under ul.MenuBarHorizontal li. I've put a screen shot in for reference. Thanks for any help in advance.
As you can see below, the last tab (gifts) is not quite reaching the edge of the container.
You can change the padding in the following
ul.MenuBarHorizontal a {
display: block;
cursor: pointer;
background-color: #EEE;
padding: 0.5em 0.75em;
color: #333;
text-decoration: none;
Gramps
Similar Messages
-
Horizontal Menu Bar - 2 issues
Hello, I have been here asking questions before and I still
have a couple more.
I am using the horizontal menu bar with the spry 1.5
pre-release files.
LINK
2 things, first:
I want the submenu text to be smaller than the menu text,
i.e. menu text should be 11px and submenu should be 10px, I just
cant seem to rustle it out of the css to make it happen.
ul.MenuBarHorizontal ul li
display: block;
float: none;
width: auto;
white-space: nowrap;
font-size:10px;
the bold addition does not seem to be working.
Secondly:
When this menu is viewed in IE7 it looks as if the border is
sunken/iframe is being used, and there is the text "
false" located inside the submenu.
I have commented out the hacks in the css for IE to no avail.
Wondering why the border looks so weird and the word false is being
imposed on my submenu
Thanks in advanceTo change the font-size, try placing the font-size property
on the <a> element of the submenus.
The IE7 sunken/iframe problem is a hack that is necessary to
make the submenus appear above any native windows (Flash, Selects,
etc) that may be in the browser window. It's showing because you
removed the background color off of the <a> elements. Try
making the <li> or the <a> background color white and
it should hide the iframe.
ul.MenuBarHorizontal ul li {
background-color: white;
border-bottom: solid 1px white; /* Workaround IE Gap bug */
ul.MenuBarHorizontal ul a {
font-size:10px;
I also noticed that your menus were suffering from the
infamous link in list gap IE bug. You can either remove *all*
whitespace in your lists to get around the bug *or* use the bottom
border property like I did above.
--== Kin ==-- -
Spry Horizontal Menu Bar width problem in IE and Safari
Hi Everyone,
I am working on a template and have used Spry Horizontal Menu for quite a few sites now. This one is giving me problems though on the width of the navigation bar. It moves the last right menu item to the next row on the left in Safari and IE and Chrome, but looks perfect in Firefox. I'm using a googlefont for the text. As I have quite a few menu items I have them set to 'auto' width. Is there a fix to make all the others look like it does in Firefox or do I need to shorten my menu items by changing titles/reducing padding, etc.?
Working page can be viewed at www.ikanizi.com/index2.html
Many thanks.Anyone who increases their browser's text size will see the same thing. For wiggle room, reduce top-level links from 11 to no more than 7.
Nancy O. -
Hi, everyone!
I recently inherited a website that I did not originally create that contains a menu bar created in Fireworks. To achieve the desired effects, I probably would have created a Spry menu (and made it a lot less complicated in terms of menu choices), so I'm not as familiar with this.
The client wants some items added to the menu, so I was able to procure the original Fireworks files instead of just the exported ones. (You can view the original site here.) I realize there are some design issues in addition to the site having been done in tables, but I still want to add the desired menu items quickly before doing a site re-design.
If you go to the link, under "Association Documents" there's a "Community Plats" section. I have new plats to add to that section. I added them in the appropriate place in the FW file and made sure the width was set to "auto". When I insert it into Dreamweaver and then preview, however, that area retains its original width (Section 1, Section 2, etc.). The new menu items are wider than the current ones, so the text bleeds out of the menu area. Like I said, I have checked the width for the menu and it is set to auto. Is there something else I need to do differently for the sub-menu? I think this was done in a previous version of FW (I'm in CS4)... could that make a difference?
I'd really appreciate any insight here. Thanks in advance!
Karen
GuppyFish Web DesignYou can change the padding in the following
ul.MenuBarHorizontal a {
display: block;
cursor: pointer;
background-color: #EEE;
padding: 0.5em 0.75em;
color: #333;
text-decoration: none;
Gramps -
Fixing a set width for horizontal menu bar
I'm using the Spry horizontal menu bar at the top of my page and want to put it as a set width that doesn't zoom or shrink in size when someone uses this function on their screen. At the moment, when zooming, the menu wraps to the next line. How can I stop this? Does anyone know how to do this please?
Many thanks,You can set the width of the menuitems as a percentage, you can also set a minimum width for the menubar container (UL).
Gramps -
Auto Width Horizontal Menu Bar
I've browsed the forum to see if anyone else has had this
problem. I didn't find anything, so I apologize if this is a
repeat.
I'm having problems with long submenus that don't wrap. Right
now my submenus look like the second sample in the Auto Width
Horizontal Menu Bar page from Labs. I need them to look like the
last sample at the bottom of the page.
Auto
Width Horizontal Menu Bar Sample
I've tried the suggestions in this page, but when I change
the ul.MenuBarHorizontal ul width to auto, it skews my submenus and
they stretch across the page instead of down in a list. And they
still have the extra white space. Any other suggestions?
I'm sorry, I can't provide a URL, but like I said, my menus
look like the samples in the Labs document.I have the same problem...
-
Recently created this page: http://musicnotes.net/MNI/SPRY.html using Dreamweaver CS3 but it does not look the same in all browsers.
It starts out with the table width set for 100% and then hard sets the
column widths to force the complete heading to something like 1600 pixels
wide. The cell widths should be allowed to set themselves.
In IE 6.0, and probably IE 7.0, the mouse over point to change colors is a
narrow strip between the links. Results in white flashes as you move down.
In IE 8.0, which is now similar to FireFox, the mouseover color changes work
okay but the secondary panels overlap the primary column. It's workable but
doesn't look quite right.
Except for being forced super wide and too big, everything seems to work
okay in Firefox.
Does anyone know if these issues are resolved using CS4.Thanks Gramps, will take a look and get sorted!
Date: Mon, 14 Feb 2011 19:00:03 -0700
From: [email protected]
To: [email protected]
Subject: I am having problems with my spry horizontal menu bar defaulting to the top of page in IE
The structure of your document needs fixing. You will be able to get a lot of information from here http://www.adobe.com/devnet/dreamweaver/css.html
After you have fixed the structure start with a fresh copy of SpryMenuBar. Read this before making any changes http://www.dwcourse.com/dreamweaver/ten-commandments-spry-menubars.php#one
Gramps
> -
Horizontal menu bar height and formating
I'm trying to put a horizontal menu bar into a table cell
that's 507px wide by 21px high. I've run into two issues.
First, adding a Spry MenuBar to this cell causes it to grow
by 1px in height and thus throwing off all of my graphics in other
cells. Setting the height in ul.MenuBarHorizontal to 21px does not
change this (20px, auto, inherit didn't change it either). I've
tried smaller fonts. Any ideas on how to get this work?
Second - if I don't set the height to a pixel value in
ul.MenuBarHorizontal, my background image is only displayed behind
the menu items. That leaves a good bit of white space. My
background image is 1px wide by 21px high and is stretched to fill
the full background. Setting a height will make the background
image cover the complete cell. Is that a feature?
thanks,
DanIf I change the positioning element in ul.MenuBarHorizontal
to absolute, my horizontal menubar fits within the cell and does
not cause it to grow. Any other setting for positioning throws off
the cell size and screws up my sliced graphics in other cells of
the table. I don't understand why the menubar shifts in a fixed
width/height cell. If it's set to static or fixed, the cell grows
by 1px in height. If it is set to relative, it grows much
larger. -
Horizontal menu bar displays grey in IE - Please Help
These are my first websites and i have created it in DW CS4. Everything is working and i have checked in multiply browsers. The one issue i can't work out is that when viewed in IE the horizontal menu bar looks grayed out. The main menu should be transparent with a white border, while submenus have a .gif image gradient background also with a white border.
Please help, I would be very grateful and if you would ever find yourself in the Maldives i'm sure we could repay the favour.....
Please find all the details below
The URLs are
http://www.noonudiversmaldives.com
http://www.noonuislandretreat.com
CSS
@charset "UTF-8";
/* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
/* 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;
width: auto;
/* 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;
text-align: left;
cursor: pointer;
width: 8.5em;
float: left;
border: thin solid #CCC;
/* 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: 8.2em;
position: absolute;
left: -1000em;
border: thin solid #CCC;
/* 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;
background-image: url(../background/Navboxes.gif);
background-repeat: repeat-y;
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
display: block;
cursor: pointer;
padding: 0.5em 0.75em;
color: #CCC;
text-decoration: none;
text-align: center;
border: thin solid #CCC;
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
color: #FFFF33;
font-weight: bold;
border: thin solid #CCC;
/* 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
color: #FFFF33;
border: thin solid #CCC;
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
color: #CCC;
border: thin solid #CCC;
/* 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
border: thin solid #CCC;
/* 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
color: #FFFF33;
border: thin solid #CCC;
/* 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
color: #CCC;
border: thin solid #CCC;
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;
filter:alpha(opacity:0.1);
/* 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;
f\loat: left;
background-color: #999999;Hi,
Before I give you the solution, please be advised that nothing goes above supplying an online URL. This helps us more than anything else. In fact, with an online URL ther is no need for further code.
So, in your case, thank you for the URL.
For the solution to your problem, just remove the red coloured part.
@media screen, projection
ul.MenuBarHorizontal li.MenuBarItemIE
display: inline;
f\loat: left;
background-color: #999999;
I'll see you in the Maldives.
Ben -
Spry Horizontal Menu Bar not working in IE
Hi! I am new to this forum and new to Dreamweaver. I recently used Dreamweaver to build a website to display my digital portfolio. I am not very good at this and don't understand much of this works. I inserted a spry horizontal menu bar for my navigation. I did change the original set up to have the background the colors I wanted and I also changed the size so it would go across the top of my page. This looks fine in Firefox and Safari but in Internet Explorer the bar displays vertically, which does not look good. Can anyone look at my code and tell me how I can fix this problem?
I appreciate any help I can get with this as I have tried everything I know.
This is the link to my site: www.digitaldesignsbymargee.comHi! I am new to this forum. I inserted a spry horizontal menu bar for my navigation but i cannot able veiw a horizontal menubar in IE though it works fine in google chrome and Mozila. Can anyone look at my code and tell me how I can fix this problem?
w@charset "UTF-8";
/* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
/* 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: 0px;
padding: 0px;
list-style-type: none;
font-size: 100%;
cursor: default;
width: auto;
/* 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: 0px;
padding: 0px;
list-style-type: none;
font-size: 100%;
position: relative;
text-align: left;
cursor: pointer;
width: 14em;
float: left;
border-color: white;
border-left-style: solid;
border-left-width: 1px;
border-right-style: none;
border-right-width: 1px;
/* 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: 14em;
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: 14em;
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
position: absolute;
margin: 0 0 0 99%;
/* 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
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
display: block;
cursor: pointer;
padding: 0.9em 0.75em;
color: white;
font-size: 14px;
font-weight: bold;
font-family: Arial, Helvetica, Verdana, sans-serif;
text-decoration: none;
color: white;
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
color: #FFF;
/* 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
color: #FFF;
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: 10px 85%;
/* 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
b/ackground-image: url(SpryMenuBarDownHover.gif);
background-repeat: no-repeat;
background-position: 10px 85%;
/* 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
b/ackground-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;
filter:alpha(opacity:0.1);
/* 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;
/* I have updated and checked the code as mentioned in the forum topic but still it is not working */
ul.MenuBarHorizontal a:visited { color: white;}
ul ul a { background-color: #436d9c; }
ul a.MenuBarItemHover { background-color: #19385a; }
ul .MenuBarItemSubmenu ul li a { border: none; }
ul a.MenuBarItemSubmenu.MenuBarItemSubmenuHover { background-color: #19385a; }
ul.MenuBarSubmenuVisible li { border: none; }
I appreciate any help I can get with this as I have tried everything I know. -
Horizontal Menu Bar Drop Downs Not Displaying
I've had this problem before and here I am grappling with it again. I have a Spry horizontal menu bar with a few drop down menus on it. The drop downs are not displaying above the other layers on the page. http://bakerlake50k.com/draft/index.php
Need help.
JeannetteI get dizzy when I look at your markup. Have a look at the following
<body class="BakerLake_body_design">
<div class="BakerLake">
<!-- (CSSLayouts Begin) #BakerLake #build_version=1.1.276;pack=;category=;layout=;layoutType=page;scheme=;cssSource=file;ass ets=;halign=center;minwidth=964px;maxwidth=964px;width=964px;bc=;bl=-->
<div class='cssLO BakerLake_wrapper_layout'>
<div class='wrapper cssLI BakerLake_wrapper_design'>
<div class='cssLO BakerLake_row_1_layout'>
<div class='row_1 cssLI BakerLake_row_1_design'>
<div class='cssLO BakerLake_row_1_xtdalignwrapper_layout'>
<div class='row_1_xtdalignwrapper cssLI BakerLake_row_1_xtdalignwrapper_design'>
<div class='cssLO BakerLake_row_2_layout'>
<div class='row_2 cssLI BakerLake_row_2_design'>
<!-- row_2 Content Starts Here -->
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<ul id='MenuBar'>
and compare that to
<body>
<div id="header">
</div>
<div id="nav">
</div>
The document looks like
<!DOCTYPE html>
<html>
<head>
<title>Untitled Document</title>
<link href="styles.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="header">
</div>
<div id="nav">
The Spry Menubar goes here
</div>
<div id="content">
<div class="article">
</div>
</div>
</body>
</html>
and the stylesheet
/* CSS Document */
html {
background: #ccc;
height: 100%;
body {
background: #333;
width: 1000px;
margin: auto;
height: 100%;
#header {
background: url(http://bakerlake50k.com/images/bk-header2.gif) no-repeat 30px;
height: 233px;
#nav {
height: 28px;
background: #000;
color: #FFCC00;
width: 900px;
margin: -30px auto 0 auto;
#content {
background: #000;
padding: 30px;
margin-top: 15px;
height: 100%;
#content .article{
width: 750px;
float: left;
background: #FFF;
height: 100%;
If you follow the proposed structure, your SpryMenuBar worries will be a thing of the past
Gramps -
Im fairly new to dreamweaver, and im trying to make a horizontal menu bar with rollover images. Every tutorial I have found online tells me how to make a spry menu bar, or just a rollover image. I know how to do both now, but nobody can seem to tell me how I can customize the spry menu bar with rollover images. So can anyone help me? or is that not even possible? Thanks anyway!
@John
Sorry John, I did not mean real rollover images, only so called rollovers. What I have in mind is an image that changes when the state of the menu item changes as can be seen in the following
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<link href="http://labs.adobe.com/technologies/spry/widgets/menubar/SpryMenuBarHorizontal.css" rel="stylesheet">
<style>
ul.MenuBarHorizontal a, ul.MenuBarHorizontal a.MenuBarItemSubmenu, ul.MenuBarHorizontal ul a.MenuBarItemSubmenu {
background: url(menu_button.png);
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus, ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover {
background: url(menu_button_down.png);
</style>
</head>
<body>
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a class="MenuBarItemSubmenu" href="#">Item 1</a>
<ul>
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
<li><a href="#">Item 2</a></li>
<li><a class="MenuBarItemSubmenu" href="#">Item 3</a>
<ul>
<li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
<ul>
<li><a href="#">Item 3.1.1</a></li>
<li><a href="#">Item 3.1.2</a></li>
</ul>
</li>
<li><a href="#">Item 3.2</a></li>
<li><a href="#">Item 3.3</a></li>
</ul>
</li>
<li><a href="#">Item 4</a></li>
</ul>
<script src="http://labs.adobe.com/technologies/spry/includes_minified/SpryMenuBar.js"></script>
<script>
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body>
</html>
Although the following images do not fit the width of the menu items, they are the nest I have for this illustration.
menu_button.png is:
and menu_button_down.png is :
Just copy and paste the markup into a new document and copy the images to the same directory. Then view in a browser of your choice.
Gramps -
Horizontal Menu Bar Rollover image
I have been slowly piecing together some Horizontal Menu Bars
by learning from the code on this page...
http://labs.adobe.com/technologies/spry/samples/menubar/MenuBarSample.html
keeping that in mind my code is probably wrong in a number of
ways. The problem that I have run into and cant seem to solve on my
own is that I want one of my Horizontal Menu bars to have rollover
images only on the primary level. If you follow the link below you
can see what I have done thus far. The "tabs" are images and I want
them to rollover to another image, which is just the same tab in a
darker shade of grey. The tabbed menu bar is labeled MenuBar2 in
the code
http://www.du.edu/~dborges/test1.html
The other problem I’ve been having with both menu bars
is the way they appear in IE... it looks great in everything else.Hi Beth, I have been going crazy on this end with the Sub Menus showing up at the top of the Internet Explorer Browser. They work fine in FF and Chrome...
I have CS4 and tried reading everything possible.... here is my page. I am normally pretty good at resolving these issues but I'm going nuts.. ha!
http://www.ilovemydogfans.com/index-testdrops
Thank you for any assistance you can provide. I would be forever grateful!
Dave
David Abbott
I Love My Dog
[email protected] -
Problem endering Spry Horizontal Menu Bar in IE7...help.
I have created a horizontal menu bar in DW CS4 using Spry. When I view using live view, everything is working. When I test in Firefox and Nomad, everything renders as expected. I have tested the page www.ridedesigns/newsite/index.htm using IE7 on both a Windows XP and Vista platform. The problem is that the dropdown menu items fall on a layer behind the company logo (or so it appears) and are only partially visible behind that jpg.
What have I done incorrectly, or is this a known bug?Here's how I changed the top of your page. Add these two divs:
#menudiv {
width: 868px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
text-align: center;
#maintable {
width: 868px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
clear: both;
And use them this way:
<BODY>
<PRE> </PRE>
<div id="menudiv">all of your menu markup here, as you have it now</div>
<div id="maintable">
<TABLE width="868" border="0" align="center" cellpadding="5" cellspacing="0" id="template">
<TBODY>
<TR valign="bottom">
<TD height="68" colspan="5" align="left"><IMG src="./index_files/web_banner.gif" width="648" height="73" alt="Ride Designs"></TD>
</TR>
...rest of table as it is now, followed by
</div>
In my analysis, by placing the menubar in the table, it was sinking into the universe of the table and could not rise above it with z-index. In fact, in IE, the list items in the submenus were taking on the height of the <tr> as well as falling down behind lower table rows.
By putting both the menubar and the table into identically-positioned divs...centered by using the margin: auto; on both sides...they will sit adjacent to each other and not interfere. It did not function correctly with both menubar and table in the same div.
Thanks for letting me dig this through you.
Beth -
CS3 Fix for Spry Horizontal Menu bar/drop boxes positioning bug in IE?
I have searched threads to see if there is an "easy" solution for the incorrect positioning of horizontal menu bar drop boxes in IE browser older versions(mine showed up at the top of the screen and mysteriously included the word "false" in older IE ONLY). Is there a downloadable patch or quick fix for this problem at this point in time? I saw an available download for a newer version of Spry but seems like overkill for this small issue. I am not an experienced web designer or computer geek, but can follow specific directions I am given. The horz bar with drop boxes showed correctly in Firefox and other browsers but not in older(?) IE. For now, I've simply removed the drop boxes to make the page look respectable, but boy did it look good with those boxes. I am hoping somebody can talk to me without lots of teckkie terms. Though I appreciate and love all of you tecs out there.
You really should install the Spry update as it fixes some IE issues that the earlier versions of Spry had. Then use the Dreamweaver Command menu to update your Spry files within your site and you should have the latest and be ready to go. If you're still having issues you may want to also check out the Spry forum: http://forums.adobe.com/community/labs/spry
Let us know if the update doesn't solve your particular problem.
Maybe you are looking for
-
How to get the field name of an internal table during runtime?
How to get the field name of an internal table during runtime?
-
Question regarding JDBC - XI -RFC
Hi all, I have a scenario which XI will get data from database (using jdbc adpater) then send data to execute in RFC. This is an asynchronous call. My question is that. 1. If XI can get many records from database in 1 select, will it send many record
-
FCP 5.0.1 Crashes at start up
I was trying to open FCP on my powerbook G4 10.4.6. I changed the scratch Disk to a different external hard drive that I use all the time and then FCP crashed. I tried over and over and it tries to startup, but then crashes after it tries to open ( s
-
Hi All, Any one can send the <b>list of Events in ABAP.</b> Thanks in Advance. -Muraly.
-
SD List viewer (transaction va05)
HI, In transaction VA05 (our version is 4.0b), the sales org/dist chnl/div is mandatory. I understand that you can create a list viewer - so these fields are not mandatory. Does anyone know how and can guide me? Since I am setting up customer hierarc