Hi Andrew
Thanks for help.
 
The problem is caused by the following line:
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>

When we use JSF ri and tomahawk, the response HTML does not have the code 
above. 
If the <!DOCTYPE ...> is removed from html, the following style will work as 
expected.
 
.displayBlock {
 display:inline;
}
 
Is there a way to tell Trinidad not to generate the <!DOCTYPE ...>?
Thanks,
Dave



--- On Sun, 6/14/09, Andrew Robinson <[email protected]> wrote:


From: Andrew Robinson <[email protected]>
Subject: Re: trinidad: how to disable skinning
To: "MyFaces Discussion" <[email protected]>
Date: Sunday, June 14, 2009, 7:23 PM


After or before doesn't matter for CSS, just weights. You can just
increase your selectivity. Possible examples:

div.displayBlock { display: inline; }
body .displayBlock { display: inline; }

Trinidad doesn't affect your CSS loading at all, it just has some
styles it ships. You can use the firebug extension to see which styles
are getting applied and which are getting overridden. Turn off
Trinidad CSS content compression to get human-readable style classes
so you can see which Trinidad selectors may be getting higher priority
than yours.

-Andrew

On Thu, Jun 11, 2009 at 8:21 PM, Dave<[email protected]> wrote:
> Our project  is starting to use trinidad, but  stylesheets(css) do not work
> any more. For example,
>
> <t:div styleClass="displayBlock">
>
> </t:div>
>
> .displayBlock {
> display:inline;
> }
>
> The style above is not working.  From browser html source, our style is put
> after trinidad skining css file.
>
> Is there is a way to disable trinidad skinning?
>
> Thanks for help.
> Dave
>
>
>



      

Reply via email to