View Full Version : how to set Drop down/ Overlapping Content script position with my own margin?

07-07-2010, 05:31 AM
1) Script Title: Drop down/ Overlapping Content script Position with our margin

2) Script URL (on DD): http://dynamicdrive.com/dynamicindex5/overlapcontent.htm

3) Describe problem:
How to set position in that code with out margin?
Cause the basic / default setting is using:

Drop Down Content supports four different position orientations- "left-bottom", "right-bottom", "left-top", and "right-top". The speed of the drop down reveal can also be customized.

i need to develop it with my customize position?

Thx very much...:)

07-07-2010, 06:28 AM
To me it looks like you can adjust the margins directly in the inline css in the subcontent tags like this

<DIV id="subcontent2" style="position:absolute; visibility: hidden; border: 9px solid black; background-color: lightyellow;
width: 350px; height: 120px; padding: 4px; margin-left:-40px; margin-top:-20px; ">
not sure if that's what you mean though.