feha
Posts: 712
|
Posted: 08/11/2005, 5:34 AM |
|
The CCS has great feature for Error reporting on missing-required fields.
Here is a little CSS code that can improve it a bit more.
.VisionToErrorDataTD
{
text-align: left;
color:#ff0000;
/*font-weight: bold;*/
/*font-size: 12px;*/
padding: 10px;
background-color : #fff;
border : 2px solid #FF0000;
margin : 2px;
}
You can replace it with your class name in Style.css ...
to view it in action www.wowdev.com click on login.
_________________
Regards
feha
www.vision.to
feedpixel.com |
|
|
mrachow
Posts: 509
|
Posted: 08/15/2005, 1:36 AM |
|
Thanks feha, but
that cannot be all !?
(bulky left border, image)
_________________
Best regards,
Michael |
|
|
feha
Posts: 712
|
Posted: 08/15/2005, 2:50 AM |
|
You'r right
I can't update this tips here whenever i update my site :
I just gave intial idea ...
Here we go, Version 2 adding warning image
.VisionToErrorDataTD {
color : #ff0000;
background-image : url(../../Images/file_icons/error.gif);
background-position : left center;
background-repeat : no-repeat;
padding : 15px;
padding-left : 48px;
background-color : #fff;
border : 2px solid #ff0000;
border-left : 15px solid #ff0000;
margin : 2px;
}
enjoy
:)
_________________
Regards
feha
www.vision.to
feedpixel.com |
|
|
Benjamin Krajmalnik
|
Posted: 09/28/2005, 10:39 AM |
|
And, of course, you can expand this same method to improve messages
altogether.
In addition to the error css class, I added an info css class, which uses a
different icon. That way, there is a visual indicator which differs beteen
a warning/error consition and just an informational message.
|
|
|
|
|
|
|
|