CSS inheritance outside of GWT doesn't quite work that way. You can
find a good explanation of CSS inheritance at 
http://dorward.me.uk/www/css/inheritance/

On Jun 8, 5:52 am, Joakim Sjöberg <joakim.sjob...@artificial-
solutions.com> wrote:
> Hello!
>
> I have created a small template page that I will use to put different widgets 
> in. It looks like follows:
>
> <div id="ic-welcomePagePanel" class="ic-welcomePagePanel">
>
>                 <div id="ic-welcomePagePanel-info" 
> class="ic-welcomePagePanel-info"></div>
>
>                 <div id="ic-vdaPanelWelcomePage" 
> class="ic-vdaPanelWelcomePage">
>
>                     <div id="ic-vdaPanelWelcomePage-image" 
> class="ic-vdaPanelWelcomePage-image"></div>
>
>                     <div id="ic-vdaPanelWelcomePage-answerArea" 
> class="ic-vdaPanelWelcomePage-answerArea"></div>
>
>                     <div id="ic-vdaPanelWelcomePage-button" 
> class="ic-vdaPanelWelcomePage-input"></div>
>
>                     <div id="ic-vdaPanelWelcomePage-inputArea" 
> class="ic-vdaPanelWelcomePage-inputArea"></div>
>
>                 </div>
>
>                 <div id="ic-headerPanelWelcomePage" 
> class="ic-headerPanel-welcomePage"></div>
>
>                 <div id="ic-logoPanelWelcomePage" 
> class="ic-logoPanel-welcomePage"></div>
>
>                 <div id="ic-languagePanelWelcomePage" 
> class="ic-languagePanel-welcomePage"></div>
>
>                 <div id="ic-ntrChatPanelWelcomePage" 
> class="ic-ntrChatPanel-welcomePage"></div>
>
> </div>
>
> And I have a CSS that looks like follows:
>
> .ic-vdaPanelWelcomePage{
>
>     top:5%;
>
>     margin-left: 50%;
>
>     width: 8%;
>
>     border-style:solid;
>
>     border-width:thin;
>
>     border-color:#006634;
>
>     position:absolute;
>
> }
>
> ic-vdaPanelWelcomePage-image{
>
> }
>
> .ic-vdaPanelWelcomePage-answerArea{
>
> }
>
> .ic-vdaPanelWelcomePage-inputArea{
>
> }
>
> .ic-vdaPanelWelcomePage-input{
>
> }
>
> But it does not seem like the vdaPanelWelcomePage-image,answerArea,inputArea 
> and input is inheriting the CSS from the vdaPanelWelcomePage, can anyone 
> explain to why?  
>
> Joakim Sjöberg
> Developer
--~--~---------~--~----~------------~-------~--~----~
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