Hi Sven,

Am 29.01.2010 um 14:57 schrieb Sven Eppler:

> Hi There,
> 
> is there an easy way to get the error messages behind the corresponding
> input field instead of before it?

what about using CSS's float property? I am using a css definition like the 
following lines. Usually this will not hurt unless the error message is way too 
long. You will probably need more precise css selectors if you are using these 
class names at other places in your app, too.

/* marks the entire form line with light red background color */
form div.error {
    background-color: #ff9999;
}

/* moves the error message in red letters to the right */
span.error_message {
    float: right;
    color: red;
}


Regards,

Wolfgang Kinkeldei

-- 

' /\_/\ ' .print[split??,"".(($/=q|Cms)+-03467:;<=|)=~tr!C-z -B! -z!)x
'( o.o )' .$/]->[hex]foreach split qr<>,qq+1ecd039ad65b025b8063475b+||
' > ^ < ' .q<!-- Wolfgang Kinkeldei - mailto:wolfg...@kinkeldei.de -->


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to