yeah i noticed that as well.

i used this css to fix the problem
/* Validation Decoration Overide */
div.t-error{
margin:6px 0 0 0;
padding:0px;
background-color:#FFFFFF;}
div.t-error ul{
margin:0px;
padding:1px 0 2px 20px;}
div.t-error li{
margin:0px;
padding:1px 0 1px 0;}




this turns off the X marks
=================
img.t-error-icon{
border:0;
display: none;}


~evan


----- Original Message ----- From: "Daniel Jue" <[EMAIL PROTECTED]>
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Wednesday, August 01, 2007 5:01 PM
Subject: T5 CSS positioning of errors.


Not sure why this is here in the default CSS:

div.t-error li {
margin-left: -20px;
}

For me (in Firefox) it makes my form validation errors appear outside
the pretty red box they come in.

I overrode it in my own CSS, to be

div.t-error li {
margin-left: 20px;
}

Now my disc (the solid bullet) and the error are nicely inside the box.

Inspecting the li in FireBug, it seems the only style affecting that
li were from default.css, not my own.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to