DHTML Menu - Another question... -...

User 1907442 Photo


Registered User
9 posts

First of all, thanks to everyone who helped me on Friday with my menu issue.

Now I have another little issue.

Thanks to your help, I got the menu centered just where I wanted it. It looks great in Firefox. However, this morning I wanted to make sure it looked good in explorer as well. But it doesn't, for some reason its off center.

www.shagworks.com

Any suggestions? This menu just doesn't seem to want to sit still! :)
User 117361 Photo


Ambassador
6,076 posts

I just took a look. Do you mean those couple of pixels extra (on the right I think)?? The mathematics of the issue (quite apart from IE often showing things up differently) are against us.

Write the words of your menu in a line. Add 10 pixels on each side. This obviously means that in some places there are 20 pixels and in others only 10. Then think that a specific space has been reserved for a word in the layout of the horizontal bar. Then think that each of the words is a slightly different length... and hey presto! You have all the ingredients for asymmetric! The harsh reality is that it is difficult to get all the browsers to agree on how things should look... and particularly difficult to get IE to agree, so we designers are destined to make major compromises and just hope that things look "reasonably" right across all browsers.

:(:rolleyes:

ps. aligning your text to left or right will also influence how the finished product looks of course.
User 1907442 Photo


Registered User
9 posts

Thanks Janys. I was afraid that might be the answer, just deal with it. lol.

I'm glad that a good majority aren't using ie anymore anyway.

You're certainly a wealth of valuable info. I appreciate it.
User 117361 Photo


Ambassador
6,076 posts

Phillip... many thanks. That was kind of you indeed. Just have to apply a little philosophy now and again and keep your fingers crossed! I gave up getting stressed out for browser idiosyncracies some time back but just every now and again I blow my top! You spend hours trying to get it right and then... wham, bam. It only takes one browser to ruin my day!
But your skin will toughen up over time so hang on in there!
:D

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.