Re: Display

On Mon, Apr 26, 2010 at 2:03 PM, Colt Antonio Pini <Colt.Pini@nau.edu> wrote:
>  It seems the convention to show / hide a validation tag is to change the
> inline style from display:none; to display:inline; This seems accurate
> enough because most validation is inline, but occasionally I have needed to
> add a display: block; to the element. When I need to do that the inline
> display overrides my block display. Putting a !important in the stylesheet
> will override the display:none;

This should be fixed in the javascript.  All you need to do is set
display:none when hiding it, and then *remove the display:none when
showing*.  Don't set it to some explicit value, just remove "none" (or
the whole @style attribute, whichever's simpler) and it will work as
desired.

~TJ

Received on Tuesday, 27 April 2010 15:51:47 UTC