PDA

View Full Version : Making the tab boxes a static size



chohertz
02-14-2008, 08:21 PM
1) Script Title: ajax tabs

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

3) Describe problem: I want the tab size to stay static. I tried putting a height property in the div id, but it didn't make a difference. Is there somewhere in the CSS that I can add a height property? (the tabs are at http://www.udallas.edu/library/resources/tabs.htm)

Thanks!

ddadmin
02-14-2008, 10:17 PM
Don't you mean the content DIV (rather than the tabs themselves)? I see right now you already have a height attribute declared for that DIV, though it's too short:


<div id="countrydivcontainer" style="border:1px solid navy; width:500px; height:50px; margin-bottom: 1em; padding: 10px">

Either set it to a larger number, or remove it to allow the content loaded inside to dictate its height.