[thelist] Value of Input with CSS

Jono ox4dboy at comcast.net
Fri Aug 13 13:27:39 CDT 2004


It will be handled server side.  I have set up the styles for error
messaging.  Once I hand it off, the error messaging will be done on their
end, I just needed to provide a style for the error.

My reason for all of this is that I had developed a page with a form, the
page was required to be 330px in height.  Problem was that with a page
title, a paragraph of text, and a lengthy form along with a few buttons at
the bottom, the addition of the error message above the form was pushing the
content below the 330px cut off.

I thought that dropping the error messaging into the field would be a quick
work around that would display the error message with out adding any
vertical space to the layout.  I have since reworked the layout and content
to fit the error message in.

Out of curiosity, what would happen if the style were applied, giving the
input field a background image?  Could the user still enter information into
the field even though there is now a image in the field's background?  I am
guessing so, I will have to test it out.

On second thought, it would just get too messy (and hard to read) unless the
image would disappear from the form's background as soon as the user started
to fill in the information.  Other wise, the text they entered would be
entered on top of a background image that contained text.


On 8/13/04 12:31 PM, "Sarah Sweeney" <mr.sanders at designshift.com> wrote:

> If you're using the server-side for validation of the form, can't you
> add the error message server-side as well? I'm guessing that you'd be
> adding the CSS styling for an error server-side, so why not add the
> error message at the same time?



More information about the thelist mailing list