Ok, I got it to work but not the way I really want to do it... Under my LI, I used a table with cell, spacing and borders set to 0, put the label in the first td and the div containing the cfinput type datafield inside the second td then closed it all. Turns out just like I wanted, all be it messy lol.
Now the problem I am having is in IE7; the calendar is popping under the field below it. From what I am reading, this is a z-index issue and I have to set a z-index on each of my fields or something (not entirely sure how to do it...). Anyone have any idea on this one? It is only in IE; IE8, Safari and Firefox work fine. Image of working form: http://postimage.org/image/1m31h6rqc/ Image of calendar bleed problem in IE7: http://postimage.org/image/1m34s9gpw/ Thanks! Ken -----Original Message----- From: "Ken Hammond" <khamm...@saleminc.com> To: cf-talk <cf-talk@houseoffusion.com> Date: Wed, 01 Jun 2011 16:19:15 -0500 Subject: Re: cfinput type=datefield won't follow my CSS rules I've made it a little further by adding a div around each cfinput datefield and putting the style "clear:both;" New image: http://postimage.org/image/2umskf4hw/ At least now the labels are in the boxes. -----Original Message----- From: morgan l <greyk...@gmail.com> To: cf-talk <cf-talk@houseoffusion.com> Date: Wed, 1 Jun 2011 13:07:28 -0500 Subject: Re: cfinput type=datefield won't follow my CSS rules The datefield type is applying floats to the elements it creates, 'removing' them from their containers. I don't have an example of a fix, but that bit of info will hopefully point you at a solution. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345045 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm