QuackFuzed.com is the personal ColdFusion coding blog of Matt Quackenbush. It exists primarily as a place for the author to learn, and hopefully to assist others in learning and/or avoiding some of the same pitfalls and mistakes. (Quack certainly makes enough mistakes daily to make up for the entire ColdFusion community.)

cfUniForm - Right-Aligned Labels and No Asterisk

Posted on February 17, 2010 at 9:16 PM in General, Uni-Form Tag Library

I sometimes get asked questions like "hey, man, how can I right-align labels with cfUniForm?" or "how can I change colors?", etc. The answer is: override the CSS! That's the entire purpose of Cascading Style Sheets. Here's a quick example of how to override a couple of default behaviors with the Uni-Form specification (which is what cfUniForm is a wrapper for).

[Continue Reading]

Comments
(Comment Moderation is enabled. Your comment will not appear until approved.)

On 2/18/10 at 11:58 AM, Jeremy Prevost said:

Thanks! Every time I tried to do this myself I also was right-aligning the labels for check boxes which was not desirable. I always forget about child selectors...
CodeBassRadio

Latest Articles

Eventually something really brilliant and witty will appear right here.

Calendar

February 2010
S M T W T F S
« Jan   Mar »
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28            

Subscribe

Enter a valid email address.

The Obligatory Wish List