You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by angelochen <an...@yahoo.com.hk> on 2011/12/27 07:35:55 UTC

T5.3.1: replacing css for t:errors

Hi,
I'd like to replace some css elements for component errors, but seems not
working no matter how I tried, following is the code for that, the t-error
li defined will not be used by browser, it's already the one in default.css
take over, any idea why?



--
View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-1-replacing-css-for-t-errors-tp5102590p5102590.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5.3.1: replacing css for t:errors

Posted by David Canteros <da...@gmail.com>.
yes, i have the css code in an external file too, and it works fine.

I had the same problem that you and got the patch from the following mails:

http://tapestry.1045711.n5.nabble.com/T5-3-rc3-ordering-of-css-td4969412.html
(see the last one)

Regards

------------------------------------------------------------------
David Germán Canteros


2011/12/27 angelochen <an...@yahoo.com.hk>

> it is this one:
> HTML>BODY DIV.t-error LI {
>    margin-left: 20px;
> }
> but putting it in tml file does not work, put it in an external css file
> works.
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/T5-3-1-replacing-css-for-t-errors-tp5102590p5103128.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: T5.3.1: replacing css for t:errors

Posted by angelochen <an...@yahoo.com.hk>.
it is this one:
HTML>BODY DIV.t-error LI {
    margin-left: 20px;
}
but putting it in tml file does not work, put it in an external css file
works.

--
View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-1-replacing-css-for-t-errors-tp5102590p5103128.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5.3.1: replacing css for t:errors

Posted by David Canteros <da...@gmail.com>.
I can do it adding the word BODY before DIV in each class of the alert's
css.
For instance, the file t-alerts.css says "DIV.t-alert-container" then and I
write in my css "BODY DIV.t-alert-container".



------------------------------------------------------------------
David Germán Canteros


2011/12/27 angelochen <an...@yahoo.com.hk>

> Hi,
> I'd like to replace some css elements for component errors, but seems not
> working no matter how I tried, following is the code for that, the t-error
> li defined will not be used by browser, it's already the one in default.css
> take over, any idea why?
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/T5-3-1-replacing-css-for-t-errors-tp5102590p5102590.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>