Results 1 to 2 of 2

Thread: Trying to add background color/padding to ddaccordion urbangrey submenu items

  1. #1
    Join Date
    Feb 2011
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Trying to add background color/padding to ddaccordion urbangrey submenu items

    1) Script Title: ddaccordion.js

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...daccordion.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.
    Last edited by huskador; 02-06-2012 at 11:03 PM.

  2. #2
    Join Date
    Feb 2011
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •