If you just add $(".ui-accordion-content").css("padding","4px");

After you initialize the accordion it should fix your problem. Just  
change 4px to whatever you want.

Sent from my iPhone

On Oct 2, 2009, at 6:46 PM, Dave Pitman <[email protected]> wrote:

>
> Thanks for your reply Brandon,
>
> I guess I should have confessed that I'm not much of a coder. I can
> open the css and edit it, but I am not sure which file, and where to
> edit it. I have tried editing a few of the css files in a copied theme
> folder, but I'm not getting it correct.
>
> Are you saying I need to add an element, or modify an existing line.
> It seems like the default padding is about 50 px, if indeed that is
> how the content area is defined.
>
> Thanks,
>
> On Oct 2, 10:28 am, Brandon Ryall <[email protected]> wrote:
>> I usually just use selectors like $(".ui-accordion-content").css
>> ("padding","4px");
>>
>> Or you could just add a class to the contents container.
>>
>> Both work fine for me.
>>
>> On Oct 2, 12:53 pm, Dave Pitman <[email protected]> wrote:
>>
>>> Is there a way to control the padding within the content area?
>>
>>> For example, I would like to place an image as content and be able
>>> have it fill the content area to within "x" pixels.
>>
>>> Thanks.
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to