Grails overrides my css styles when a layout is applied to gsp

View: New views
5 Messages — Rating Filter:   Alert me  

Grails overrides my css styles when a layout is applied to gsp

by krusek :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a page that renders correctly before applying a layout. However when I include the layout meta tag It changes my tabs and buttons to underlined textI took out all references to other .css files out of the main.gsp and it still changes the appearance.What is causing this behavior? (grails version 1.1.1)

Re: Grails overrides my css styles when a layout is applied to gsp

by jrobens :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The css is included in views/layouts/ file?

View source and make sure no css files are included. Then search for them.

2009/11/3 krusek <krusek@...>

I have a page that renders correctly before applying a layout. However when I
include the layout meta tag It changes my tabs and buttons to underlined
textI took out all references to other .css files out of the main.gsp and it
still changes the appearance.What is causing this behavior? (grails version
1.1.1)
--
View this message in context: http://old.nabble.com/Grails-overrides-my-css-styles-when-a-layout-is-applied-to-gsp-tp26159832p26159832.html
Sent from the grails - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email





--
http://interlated.com.au
0434 996 607

Re: Grails overrides my css styles when a layout is applied to gsp

by Graeme Rocher-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I found this behavior when using the YUI plugin. It includes some
default YUI styles with mess with the styles. Are you using YUI?

Cheers

On Tue, Nov 3, 2009 at 1:40 AM, john robens <jrobens@...> wrote:

> The css is included in views/layouts/ file?
>
> View source and make sure no css files are included. Then search for them.
>
> 2009/11/3 krusek <krusek@...>
>>
>> I have a page that renders correctly before applying a layout. However
>> when I
>> include the layout meta tag It changes my tabs and buttons to underlined
>> textI took out all references to other .css files out of the main.gsp and
>> it
>> still changes the appearance.What is causing this behavior? (grails
>> version
>> 1.1.1)
>> --
>> View this message in context:
>> http://old.nabble.com/Grails-overrides-my-css-styles-when-a-layout-is-applied-to-gsp-tp26159832p26159832.html
>> Sent from the grails - user mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>
>
>
> --
> http://interlated.com.au
> 0434 996 607
>



--
Graeme Rocher
Head of Grails Development
SpringSource - Weapons for the War on Java Complexity
http://www.springsource.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Grails overrides my css styles when a layout is applied to gsp

by krusek :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

krusek wrote:
I am using YUI,  but not the plugin.  

I found this behavior when using the YUI plugin. It includes some
default YUI styles with mess with the styles. Are you using YUI?

Cheers

On Tue, Nov 3, 2009 at 1:40 AM, john robens <jrobens@interlated.com.au> wrote:
> The css is included in views/layouts/ file?
>
> View source and make sure no css files are included. Then search for them.
>
> 2009/11/3 krusek <krusek@comcast.net>
>>
>> I have a page that renders correctly before applying a layout. However
>> when I
>> include the layout meta tag It changes my tabs and buttons to underlined
>> textI took out all references to other .css files out of the main.gsp and
>> it
>> still changes the appearance.What is causing this behavior? (grails
>> version
>> 1.1.1)
>> --
>> View this message in context:
>> http://old.nabble.com/Grails-overrides-my-css-styles-when-a-layout-is-applied-to-gsp-tp26159832p26159832.html
>> Sent from the grails - user mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>
>
>
> --
> http://interlated.com.au
> 0434 996 607
>



--
Graeme Rocher
Head of Grails Development
SpringSource - Weapons for the War on Java Complexity
http://www.springsource.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email





Re: Grails overrides my css styles when a layout is applied to gsp

by seb332 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

smartgwt has the same problem.

http://www.cacoethes.co.uk/blog/groovyandgrails/introducing-smartgwt-to-grails
[quote]Update I have discovered that the standard main.css file used by the default Grails layout doesn’t play nicely with SmartGWT. The best option is probably to modify grails-app/views/layouts/main.gsp by removing the link to main.css. Your SmartGWT application will then look as it should![/quote]


Graeme Rocher-3 wrote:
I found this behavior when using the YUI plugin. It includes some
default YUI styles with mess with the styles. Are you using YUI?

Cheers

On Tue, Nov 3, 2009 at 1:40 AM, john robens <jrobens@interlated.com.au> wrote:
> The css is included in views/layouts/ file?
>
> View source and make sure no css files are included. Then search for them.
>
> 2009/11/3 krusek <krusek@comcast.net>
>>
>> I have a page that renders correctly before applying a layout. However
>> when I
>> include the layout meta tag It changes my tabs and buttons to underlined
>> textI took out all references to other .css files out of the main.gsp and
>> it
>> still changes the appearance.What is causing this behavior? (grails
>> version
>> 1.1.1)
>> --
>> View this message in context:
>> http://old.nabble.com/Grails-overrides-my-css-styles-when-a-layout-is-applied-to-gsp-tp26159832p26159832.html
>> Sent from the grails - user mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>
>
>
> --
> http://interlated.com.au
> 0434 996 607
>



--
Graeme Rocher
Head of Grails Development
SpringSource - Weapons for the War on Java Complexity
http://www.springsource.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email