Calender overlay my design border when opened

hey folks,
i am working on a my web app and i have a problem. i m using jQuery datepicker. its working fine but when i click on it opens but it open under the bottom border of of my design. how can i make it open on top. i guess setting z-index of css will help but as i m new to jQuery i donno how to wrap the date picker in a div so i can set the div property


                <input type="text" name="txtInstallation" id="txtInstallation" class="txtfield" />
                <script language="javaScript" type="text/javascript">
                $(function(){
                    $("#txtInstallation").datepicker({
                    showOn: 'button',
                    buttonImage: '../images/calendar.png',
                    buttonImageOnly: true,
                    monthNamesShort: ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],
                    changeMonth: false,
                    changeYear: true,
                    dateFormat:'M-dd-yy'
 
                    })
                });
 

help any1? :frowning:

You say that the bottom border overlaps the date picker. Do you want the border to extend down, so that the date picker is inside of it, or do you want the date picker to appear on top of the border? Is there a live example we can check out?

yep i wanted the date picker to appear on top of the border. how can i do that, i know i can set its div’s z-index to higher value.right? but i donno how to wrap a datepicker inside div

What is the design that you’re using, because depending on the way that your design is presented, css can solve your problem with great ease. One possible solution (we haven’t tested it on a test page yet) is that setting overflow to visible helps to ensure that the border remains fully wrapped around any content that’s contained within.