PDA

View Full Version : Chrome menu and SSI script II help?



mk47funk
02-08-2006, 06:23 PM
This post deals with the following 2 scripts:

Chrome CSS Drop Down Menu:
http://dynamicdrive.com/dynamicindex1/chrome/index.htm

IFrame SSI script II
http://dynamicdrive.com/dynamicindex17/iframessi2.htm

==========================================

My site: http://www.onefunk.com/w/main.html

1) My first question is in regards to the chrome menu script. How can I have all the buttons centered in the menubar, or have them equally span across the menubar? AKA, I do not want the buttons aligned left. I have tried multiple things, but nothing has worked.

2) The Iframe appears in IE but not in firefox, and even in IE there are script errors when trying to load other pages through the chrome menu. Any suggestions?


Thanks

ddadmin
02-09-2006, 01:06 PM
It won't be easy to center the menu items based on the current CSS, since it uses float:left to achieve its look, basically making "center" impossible. Well, maybe someone will tell me differently, but I fiddled around with the CSS as well, and couldn't find a way.

mk47funk
02-09-2006, 03:30 PM
Thanks, I actually figured it out.


If I mess with the padding an margins in the css, I can get the desired effect, since my menu bar is a fixed 680 pixels.

I also switched from the Iframe script to an Ajax one so I think I am set there as well.