The good news; the original SpryMenuBar works like a charm in ALL modern browsers.
The bad news; you have mutelated the package to such an extent that you are now seeking advice.
Suggestion:
If, after that, you still have problems, come back here with a URL to your site or (at the very least) a copy of the CSS
Gramps
Don't know how to resurrect the original SpryMenuBarHorizontal.css. So I deleted it and the Spry css dissappeard so I thought it was gone. I inserted a new Menu Bar and it had the format changes I had made to my original.?????? I input some of the links again and it still shifts to the right in Explorer but the dropdowns are working correctly.
I uploaded the new file to my website but have no link to it; here is the link http://www.canyons.edu/departments/ESES/indexNew.html
Here is link to website that has the original home page http://www.canyons.edu/departments/ESES/index.html
Guess I need to know how to fix the shift to the right
and
Once you instruct me how to fix this is there a way to apply it to the other pages without having to rebuild the menubar on each page.
Thank you for your help.
The first set of style rules in the original SpryMenuBarHorizontal.css looks like
ul.MenuBarHorizontal
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
cursor: default;
width: auto;
}
The same rules in your document
ul.MenuBarHorizontal
{
padding: 0;
list-style-type: none;
font-size: 100%;
cursor: default;
width: auto;
text-align: center;
color: #1B213B;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
}
As I have already said, the ORGINAL WORKS! if you decide to leave a left margin out of the equation and to give the text a center alignment, then that is entirely up to you, but you must also suffer the consequences. The above rules tell the browser to not worry about a left margin but the right margin must be zero. Also this is not the place where you center the text. That is best done as
ul.MenuBarHorizontal a {
text-align: center;
}
Have a look here for further info http://labs.adobe.com/technologies/spry/samples/menubar/CenteringHoriz ontalMenuBarSample.html
I have not looked any further because of time constraints. Hopefully there are no other deviations from the orginal that will adversely affect your design.
Gramps
Thank you, Thank you! Menubar no longer shifting to right.
I have one more question if you don't mind. As I said before deleting menubar and creating a new one fixed the submenus dropping down from top of page. Rather than having to create new menubars on each of my pages can I copy the menubar code from the page that works and paste it on the other pages? Or if there is a more correct way to do it please let me know.
I really, really appreciate your help.
North America
Europe, Middle East and Africa
Asia Pacific