Solved

Datefield opens behind the box below it

Posted on 2012-03-30
1
307 Views
Last Modified: 2012-03-30
I have a cold fusion "datefield" like the one below. Right below it on the form I have another field... when the calendar icon is clicked for this field it opens "behind" the field below it so you cannot read the month.

Does anyone have a tip on how to make this open in front the other field? Maybe a div with a z index would work? Thanks.

   <cfinput type="datefield"
            name="mydatefield"
            value="#mydatefield#"
            message="Date field must be a valid date"
            required="no"
                  validate="date"
            validateAt="onSubmit"
            size="50"
            maxlength="10">
0
Comment
Question by:earwig75
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 52

Accepted Solution

by:
_agx_ earned 500 total points
ID: 37788572
I think you answered your own question ;-) It's an IE bug and yes the standard fix is to tweak the z-index.  Example

http://www.experts-exchange.com/Software/Server_Software/Web_Servers/ColdFusion/Q_26381936.html
The solution is to sandwich your CFINPUT statement between
<div style="position:relative; z-index:1">
</div>

http://stackoverflow.com/a/556879
http://www.experts-exchange.com/Software/Server_Software/Web_Servers/ColdFusion/Q_23699575.html
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

PROBLEM:  How to open a cfwindow or run a function on double click of a cfgrid row. One of my clients wanted to be able to double click on a row item to get more detailed information about a transaction and to be able to modify the line items i…
This is an updated version of a post made on my blog over 3 years ago. It is unfortunately, still very relevant as we continue to see both SQLi (SQL injection) and XSS (cross site scripting) attacks hitting some of the most recognizable website and …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question