cfinput 'datefield' always aligns to left?
Please help. I cannot get the input field to center in a table cell using 'td align=center' or using CSS. I haven't even been able to put something in front of the field in the same cell either without the field forcing itself onto a new line and aligning itself left. Here is a snippet of code... td align=rightstrongDate Authorized/strong/td td colspan=3 align=center cfinput type=datefield name=DT_AUTH value=#DA# mask=mm/dd/ validate=date disabled=#disabled#/td ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335646 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfinput 'datefield' always aligns to left?
Can you post the compiled source for the same snippet? On Thu, Jul 22, 2010 at 2:02 PM, Jim Eisenhauer eisenha...@gmail.comwrote: Please help. I cannot get the input field to center in a table cell using 'td align=center' or using CSS. I haven't even been able to put something in front of the field in the same cell either without the field forcing itself onto a new line and aligning itself left. Here is a snippet of code... td align=rightstrongDate Authorized/strong/td td colspan=3 align=center cfinput type=datefield name=DT_AUTH value=#DA# mask=mm/dd/ validate=date disabled=#disabled#/td ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335651 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfinput 'datefield' always aligns to left?
are you using cf8 or cf9? iirc, the css classes you need to override are version-specific... Azadi On 22/07/2010 14:02, Jim Eisenhauer wrote: Please help. I cannot get the input field to center in a table cell using 'td align=center' or using CSS. I haven't even been able to put something in front of the field in the same cell either without the field forcing itself onto a new line and aligning itself left. Here is a snippet of code... td align=rightstrongDate Authorized/strong/td td colspan=3 align=center cfinput type=datefield name=DT_AUTH value=#DA# mask=mm/dd/ validate=date disabled=#disabled#/td ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335672 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm