PDA

View Full Version : positioning in floating menu



kae
07-20-2009, 07:17 AM
1) Script Title: staticmenu

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

3) Describe problem: http://www.karlengland.com/news.html If you view this page in firefox this is how I want it to look. If you now look at it in IE you'll see the images in the floating menu are in the wrong place. I've tried inserting various align="left" 's but I've failed to come up with a fix.

This is my first post (although I've used dynamicdrive for several years) so sorry if I've broken any posting rules. Can anyone help?

karl


Edit: Tried inserting width:150px here - div.floating-menu {position:fixed;width:150px;z-index:100;} Made no difference

Edit x2: Just realized this code doesn't come from dynamicdrive at all .... trying to remember where it came from

Edit x3: OK guys cracked it! First up, it actually came from here: http://www.quackit.com/css/codes/css_floating_menu.cfm a very good one because it's truly static. The fix was: I needed to add 10px;left:10px; in before the width value.
Thanks to any of you that took the time to have a look

k