PDA

View Full Version : Spry menu in ap div?


confucious
07-23-2008, 04:02 AM
HI all.

I had a very specific idea for the spacing of the main cells on my navigation bar (ie: they would be separated by about 3 pixels each) and could find no way to do this with a regular spry drop down.

So - I inserted an ap div box and inserted the spry menu inside that. Then I cut down all the cells I didn't need until I had one main cell that drops down 5 sub-menus and placed it in between 4 other apdiv menu blocks. After that I played with the horizontalmenu css until I had the colour, height etc. I needed. I am now ready to create a template that will be used throughout my site:

My question is - will I encounter some sort of problem as

the css for the menu has been changed and saved in the spry menu folder...will it apply to all my other pages made from the template?
the menu being in an apdiv box...is this going to cause some sort of problem? It looks fine in firefox, IE and safari...at least for the moment.
is there some way to separate the main menu cells in the spry horizontal drop down so there is 3-5 pixels blank space between? (I can manipulate all the sub-menus, just not the main ones).
and last - if I create more than one spry horizontal on a page my css edits apply to both - I can't seem to edit each one separately...is it possible?Sorry for all the questions - I have been going mad with the drop down. I should probably have just found a way to code it....might have been easier in the end :P

THanks for any and all help...I am new to this so struggling!!

L.

edbr
07-23-2008, 06:15 AM
hm
1 css applys to specified items so, it will aply to all items specidied correctly
2 should be fine
3 i would think adding margin or padding bottom in the relevany section of your css for spry
4 you should be able to apply multiple but would have to name them differently so Spry assets 2 for example