There's no error class for the textarea element. Try something like this:

input.error, textarea.error, select.error {
   border: 2px solid #880000 ;
   background-color: #FFDDDD;
}

-Ben

On Sat, Mar 14, 2009 at 10:58 PM, AK <[email protected]> wrote:

> Ben Gunter <gunter...@...> writes:
> > What does the CSS look like?
>
> html, body {
>  margin: 0;
>  padding: 0;
>  height: 100%;
>  background-color: #FFFFFF;
> }
> body, td, th {
>  color: #000000;
>  font-family: "Luxi Sans", Arial, sans-serif;
>  font-size: 10pt;
> }
> div#main {
>  padding: 8px;
> }
> a, a:visited {
>  color: #0000FF;
> }
>
> input.required {
>        border-width: 2px;
> }
>
> input.error {
>    border: 2px solid #880000 ;
>    background-color: #FFDDDD;
> }
>
> label.error {
>    color: #880000 ;
>    font-weight: bold;
>    text-decoration: underline;
> }
>
> span.error {
>    font-weight: bold;
>    color: #880000 ;
>    padding: 8px;
> }
>
>
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to