PDA

View Full Version : Resolved Trying to add background color/padding to ddaccordion urbangrey submenu items



huskador
02-06-2012, 05:52 PM
1) Script Title: ddaccordion.js

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm

3) Describe problem:
I am trying to add a "padding" background color to the dropdown submenu under each header -- I'm currently using a background green color for the submenu items but would like to carry the header blue to the entire submenu background with a padding of 4px all the way around (in blue) and the submenu background staying in green (as it is now).
Here's the url for a sample of where I am, thus far:
http://raintreeweb.com/accordion-rtw.html

Any help would be most appreciated.

huskador
02-06-2012, 11:05 PM
I actually was able to get this to work the old fashioned and disgusting way by adding in some tables with cell spacing...
Here's an example of what I was trying to do.
http://www.raintreeweb.com/accordion3arev.html

Anyway, if anybody finds a better way to skin this cat, please let me know.
Thanks, all.