| spry in ie6
• | | | |
Hi all,
I have a couple of questions.
First, my spry nav bar doesn't look correct in IE 6 (works in all other IE, FF, Chrome, etc). The last menu item wraps below the others. If I adjust the width of the menu bar, the nav bar is not centered in the div. How can I fix this?
Second, Due to the length of different menu items (e.g., "government" vs "home") the spacing between the items is not the same across the main menu bar. I would like to make the spacing between the items look the same. How can I adjust this (again I messed with widths and the centering went away)?
The site is http://www.auburnillinois.us
Thanks in advance
Chris
| | | | |
• | | | |
Chris,
I have a bit of an issue with this post, i have already answered this issue in a previous post, but you say that by altering the ul.MenuBarHorizontal width setting alters your positioning.
The point is that positioning the menu by setting the width of the menu is not the way to position it... you should be positioning the menu centrally by setting the containing div margins to auto, what you have got here is a style that is working, but more by luck than judgement unfortunately. Because of this your site cant be future proof, there is nothing to say that an update or something in the future might not send the design out, in the same way that IE6 is messing with the design now.
For now, you can try altering the ul.MenuBarHorizontal li width to auto instead or the ul.MenuBarHorizontal setting. then alter the ul.MenuBarHorizontal a left and right padding setting to space them out a little better.
You may then need to add a rule
ul.MenuBarHorizontal li ul li{
clear: left;
}
to the spry menu css to correct the submenu if they suddenly go horizontal.
Richard Williams
p.s. Please remember to rate our post replies and tick if solved. Also, please remember that we here are NOT employed by Adobe, we do this out of love and fun, so its always nice to recieve a Please and Thank You! :o)
| | | | |
• | | | |
Richard,
You are correct that I had posted this before and you answered. However, I responded indicating that the centering became a problem when I made the adjustments. There was no response to my post (regarding the centering issue)so I posted the question again.
Thanks, I will try the suggestions you gave. Also, do you think I should even worry about the issue with IE6? All other browsers work and you are correct that future browser updates may effect sites in other ways.
Thanks again
Chris
| | | | |
• | | | |
i strongle suspect that The pure issue with IE6 is down to the width of either
a) The containing DIV
b) The Spry Menu.
The chances are that making this slight adjustment might sort it out, if not you could try setting the width of the DIV surrounding the spry menu, to a size slightly largert than that of the spry menu, this might sort it out. ( i cant test in IE6 anymore unless i upload a site so i cant give you the exact answer.
What i would point out however though is this...
Im not sure how it looks in Dreamweaver to you, but to me in CS3, your page content looks nothing like how it should in Dreamweaver design view, Your Header DIV is not set at the correct height to contain the Headerlink DIV, and so your navcontainer2 DIV, although set at 100% width, only goes so far as the start of the headerlink div...
If this is happening with the way that your design software is rendering it, then it aught to set of alarm bells in your head that is all i was trying to point out.. I commend you for your effors on this site using the cascading stlye sheet, but there are some quite clear errors
If you altered the height of the header div, and then added padding left auto padding right auto, to the ul.MenuBarHorizontal then this would center the menu for you so long as there is a width setting in this rule... ie, not auto, and then if you use a px setting for the width rather than ems that will also help to ensure the look is universal.
I agree with what you are saying about IE6, but sometimes older versions are good for pointing out that there are errors... and ok, newer versions can cope with these errors, but there is nothing to say that future issue will be so forgiving, so if something does not work in a lower browser setting, it is still good to examine why this is, as it could rear up again in the future.
Richard Williams
p.s. Please remember to rate our post replies and tick if solved. Also, please remember that we here are NOT employed by Adobe, we do this out of love and fun, so its always nice to recieve a Please and Thank You! :o)
| | | | |
• | | | |
Richard,
Now that you mention how it looks in dreamweaver. I have CS4 and in design view it looks fine (just like it should) but in live view the main content is a little off. However, a coworker has CS4 as well and is going to do some content updating, so I downloaded the site onto their system and WOW...in design view it looks nothing like it should. Why on my system it looks fine and on theirs it looks terrible? I thought it was having a problem finding with css to adjust everything properly but I don't know. I suspect it is showing the same problems on your system with CS3. I have no idea what is going on there.
I am going to try your suggestions and see what happens.. I am new to css and figured there is alot of errors with it.
Thanks
Chris
| | | | |
• | | | |
yes it will be all the style sheet links, and no thats not the issue i am having.
It looks like it should, but if you click on the div containers, and the highlight appears around them, you can see they are not doing what they are supposed to thats all... the site itself looks the same.
See how the DIV navcontainer2 looks, it has stopped, bumped into the headerlinks DIV
When you donwload the code to a new computer, you have to include the CSS and all the other links your site includes, OR you can alter the code to look at the existing ones... by adding the root directory http://www address to it.
Richard Williams
p.s. Please remember to rate our post replies and tick if solved. Also, please remember that we here are NOT employed by Adobe, we do this out of love and fun, so its always nice to recieve a Please and Thank You! :o)
| | | | |
• | | | |  | Re: spry in ie6 by Tom Vituccio on Dec 22, 2009 at 9:15:54 pm |
Hello Folks,
This is my first post to this forum. I have a SpryMenuBar issue with IE6. I created a horizontal menu that has several top-level items with submenus under them. Whenever you hover over a top-level item, the submenu appears properly below it and stays visible as long as you keep the mouse hovering over the top-level item. The submenu will also stay visible if you move your mouse over the items and keep moving the mouse up and down over the items. However, as soon as you stop over one of the sub-items, all of the sub-items disappear after about one second. A second, and probably related, issue is that when you try clicking one of the sub-items before it disappears, often nothing happens and you have to try again before you get to the desired page.
A third issue is only happening on one of two IE6 installations we have in our office. A particular page's main content only appears below the level of the sidebar content on one of the computers with IE6. All other pages appear properly on both computers and on all other browsers I have tested.
Thanks in advance for any help you can give me. Here is the link to the site and problem page: http://www.augustrs.com/materialstmpl.html
| | | | |
• | | | |
Hi Tom,
The problem is that you have, at some point, lost a zero in your SpryMenuBarHorizontal.css rule for ul.MenuBarHorizontal ul
You have the z-index: 120;
The should be z-index: 1020;
Richard Williams
p.s. Please remember to rate our post replies and tick if solved. Also, please remember that we here are NOT employed by Adobe, we do this out of love and fun, so its always nice to recieve a Please and Thank You! :o)
| | | | |
• | | | |  | Re: spry in ie6 by Tom Vituccio on Dec 23, 2009 at 3:14:29 am |
Richard,
I had the z-index set to 1020 and had the same problem. I changed it to 120 on advise I was given by someone else. It didn't seem to make any difference whether it was 120 or 1020. What does the z-index represent?
Tom
| | | | |
• | | | |  | Re: spry in ie6 by Tom Vituccio on Dec 23, 2009 at 4:24:13 pm |
Richard,
Now that I'm back in the office, I set the z-index back to 1020 and the submenus are now behaving properly. They stay visible until you click one of the items. I originally had float = none and z-index set to 1020 in the ul.MenuBarHorizontal ul style and was advised to remove the float parameter and change z-index to 120. I did them both at the same time and the problem didn't seem to change at all. Apparently, all I had to do to correct the menu issue was to remove the float parameter.
I still have the third problem I mentioned. On one installation of IE6, one particular page's main content starts below the level of the sidebar content. On another installation of IE6, that same page displays properly.
Thanks,
Tom
| | | | |
• | | | |  | Re: spry in ie6 by Tom Vituccio on Dec 23, 2009 at 6:05:31 pm |
Richard,
I resolved the last problem by resizing the large graph in the main content. I reduced its size to 99% of its original. I changed it from width=672, height=450 to width=665, height=446. It now displays proper;y on bath IE6 installations we have. Thanks for your help.
Tom
| | | | |
• | | | |
Ah, I see the problem. On my machine the navcontainer2 shows up in the correct position below the header...it makes it hard to adjust what I need when I see something different... I am going to print my code as is now (for reference) and start adjusting and see what I come up with.
Thanks for your help
| | | | |
• | | | |
Richard,
Heres some adjustments I tried.
ul.menubarhorizontal width to auto and margins; 0 auto
div containing menu bar width; auto (and fixed width size of image) margin; 0 auto
When I made adjustment to both of these seperately and together the menu bar stayed to the left side of the div containing the menu bar.
Is there another item I need to adjust to get centering?
Thanks
Chris
| | | | |
• | | | |
Hi Chris,
Looking at your CURRENT pages online NOW...
No the Ul.MenuBarHorizontal MUST have a setting, not auto, as i said in one of the last posts, for the menu to center.
The width 40ems in not enough for IE6, set it to 43 em, or better still, use pixles.
Set the #header height to 100px
ul.MenuBarHorizontal li width to auto
ul.MenuBarHorizontal a Padding 0.5em and 1.6em
Now the menu should be full on every browser, should be evenly spaced between menu items and hopefully look how you want it.. fingers crossed
Richard Williams
p.s. Please remember to rate our post replies and tick if solved. Also, please remember that we here are NOT employed by Adobe, we do this out of love and fun, so its always nice to recieve a Please and Thank You! :o)
| | | | |
• | | | |
Richard,
Thank you..I think you have fixed it..again. I made all of the changes you indicated. To get it to be centered the best I adjusted the Ul.MenuBarHorizontal to 420px. The spacing between looks great.
I have been using https://browserlab.adobe.com/ to check the site in different browsers. The only issue I see with IE 6 is the the font color of the menu bar. The home button is correct but the others seem to have no color. I will tackle that next.
Thanks
Chris
| | | | |
• | | | |
As far as i tested, this was an issue in IE 5.5 but not IE6.
I suspect it is a conflict with the a, a:link rule or something like that... in other words the text is there... its just the wrong colour...
The best way to test this is change the colour of this first, then see if thats the colour that is now taken on in your browser checks... if it is, then thats the reason.
Ie 5.5 does not support the new CSS rules anyway, so i wouldnt worry about it, it wont look the same anyway because it does not recognise the margin auto stuff... so ignore 5.5 imo
Richard Williams
p.s. Please remember to rate our post replies and tick if solved. Also, please remember that we here are NOT employed by Adobe, we do this out of love and fun, so its always nice to recieve a Please and Thank You! :o)
| | | | |
• | | | |  | Re: spry in ie6 by Remus Stoian on Apr 16, 2011 at 1:22:04 pm |
Hi all,
I'm building a website for my school and this is my problem: the spry menu bar works correctly in FF 4 and IE 9 (the ones that I use at home), but in IE 6 (which is on the school's computers), the menu bar won't work. More specifically, when I click on it, the submenus don't appear. Accidentally, while moving the other elements under the bar (a sidebar and a spry image slide show), I could see that the submenus actually drop, but it happens behind those elements. Since I am rather new to building websites, the problem seems too difficult for me. I would appreciate any help, because I really need to go on with this website.
Thank you,
Remus
| | | | |
• | | | |  | Re: spry in ie6 by Remus Stoian on Apr 16, 2011 at 1:29:12 pm |
Hi all,
I'm building a website for my school and this is my problem: the spry menu bar works correctly in FF 4 and IE 9 (the ones that I use at home), but in IE 6 (which is on the school's computers), the menu bar won't work. More specifically, when I click on it, the submenus don't appear. Accidentally, while moving the other elements under the bar (a sidebar and a spry image slide show), I could see that the submenus actually drop, but it happens behind those elements. Since I am rather new to building websites, the problem seems too difficult to me. I would appreciate any help, because I need to go on with thsi website.
Thank you,
Remus
| | | | |
| |
|