PDA

View Full Version : HV Menu Alignment



userthree
08-08-2006, 04:12 AM
1) Script Title:
HV Menu

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm

3) Describe problem:
I have a menu on a website I created, and while the horizontal position aligns correctly in Firefox/Safari, it's shifted to the left in Internet Explorer. How can I get my menu to align in both browsers? See the link here: http://www.thelaststandparty.com/gentlemen.html

Thanks!
-M

jscheuer1
08-08-2006, 04:49 AM
First, try a strict DOCTYPE.

userthree
08-09-2006, 04:42 AM
thanks for the advice, but I've added the strict doctype into my doc, and I still see the offset in IE but not in Firefox/Safari. Any other ideas?

http://www.thelaststandparty.com/gentlemen.html

Thanks,
M

jscheuer1
08-09-2006, 07:26 AM
Actually, with or without the DOCTYPE, it looks the same to me but, reversed. Looks OK in IE 6 and off to the left in Opera 9.01 and FF 1.5.0.6

Additionally, this shift seems to happen at the last moments of load. It looks OK at first, until the page is fully loaded.

Did you add any code?

jscheuer1
08-09-2006, 07:37 AM
This seemed to work here:


var StartLeft=window.opera? -9 : document.body.filters? 0 : -10;