PDA

View Full Version : Help with Formatting



blkfin
11-19-2007, 02:30 PM
1) Script Title: Tab Content Script (v 2.0)

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

3) Describe problem: Greetings, I love the script but I cannot figure out how to change the width of the box with content in it. It is TOO wide for the column I want to use it in on our page.

Any help would be appreciated.

Thanks

Jim

jc_gmk
11-19-2007, 03:07 PM
Where you see this:


<div style="border:1px solid gray; width:450px; margin-bottom: 1em; padding: 10px">

<div id="tcontent1" class="tabcontent">
Tab content 1 here<br />Tab content 1 here<br />
</div>



Change the width here to whatever you want e.g.

<div style="border:1px solid gray; width:250px; margin-bottom: 1em; padding: 10px">