Solved

Datefield opens behind the box below it

Posted on 2012-03-30
1
302 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
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

860 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