Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Z-Index for DIVs

Status
Not open for further replies.

gazzo

Programmer
Jun 7, 2001
5
GB
Can anyone help please?

In an ASP page I have a data entry input box for which the user has to input a date. Instead of letting the user type in the date I want them to select a date from the Calendar Active X component. I have no problem doing this, I have simply put a button next to the text box, when the user clicks on this button the calendar controls style.display property is set to "" to display it. The calendar is in a seperate DIV. The question is, when the div containing the calendar is displayed, how do I make the div appear on top of the current div - as oppose to above it (if that makes any sense), I have tried using the Z-Index property of the div containing the calendar but have had no success.

If this is not the best method can anyone point me in the correct direction. I am using VBScript as my scripting language, and Internet Explorer 5.

Thanks,
Gazzo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top