Re: Display

On Tue, Apr 27, 2010 at 9:20 AM, Colt Antonio Pini <Colt.Pini@nau.edu> wrote:
> The only problem with that is when coding in Visual Studio the way that the RequiredFeildValidator tag works is through that functionality, switching between display none and inline. In order to fix that problem I would need to go in and change the rendering JS in Visual studio. I agree that there are ways around this problem, and good ways around it, which I am going to have to do now, but just thought of this for a nice feature to have so that we wouldn't have to go through a work around. I am sure there are many more instances where this functionality would be nice to have.

Your suggestion wouldn't fix your problem, though.  You'd still have
to change ASP to use display:default instead of display:inline; it
would take the same amount of effort to fix it correctly, with the
added benefit that you don't have to wait for this feature to be
specced and implemented in all browsers.

(That said, check out the 'initial' value.  It's a special value that
all properties accept, and which should be what you're asking for.  It
still wouldn't solve your problem, though, for the reason above.)

~TJ

Received on Tuesday, 27 April 2010 16:31:20 UTC