Hi!

How can i use the "@media print {}" property in my ui.xml?

e.g:
-------------------------------------
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
        xmlns:g="urn:import:com.google.gwt.user.client.ui">
        <ui:style>
                        @media screen {
                                .main {
                                        background-color: #F5F5F5;
                                }
                        }

                        @media print {
                                .main {
                                        display: none;
                                }
                        }
        </ui:style>

<g:HTMLPanel addStyleNames="{style.main}"> ....
------------------------------------------------

doenst work for me. The panel got "display: none" on the website as
well (not only in print mode). I guess i have to escape the "@"
somehow.

Since the css class names are encrpyted i cannot use an external css
file. Also i want to change styles directly in the widgets to get the
best overview. Anyone know how to do that?
greetings
vali

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to