Hi, I tested an other thing, so now I'm able to say another thing: If I create a WTabWidget at application-start, the colors are right - and they are right for all WTabWidget, also for the later created WTabWidgets. If I don't create a WTabWidget at application-start, the colors are wrong, but with reload they are ok.
Greetings Torsten Torsten Schulz schrieb: > Hi Koen, > > Ok, I have tested this evening 2 hours, and yes: I'm sure it isn't > cached, so i've cleard my browser cache. And it's ever the same: > - Load Application, open the Site. The tirst tab looks ok, color right > (set with .Wt-tabs span.itemselected span). > Create 2nd tab: color wrong, I see the default-color. Click reload: the > same site, but with right colors. Create more tabs, everything is right. > Then Restart the application: same as before: itemselected-tab has right > color, other tabs with wrong color, but click reload, everything looks > right). > > If it works behind reload, it can't be an error in my css-file I think. > Every other declaration in file works right. > > Greetings > Torsten > Koen Deforche schrieb: > >> Hey Torsten, >> >> 2008/12/9 Torsten Schulz <[EMAIL PROTECTED]>: >> >> >>> Hi, >>> >>> what's the easiest way to change the font-color from tabs in WTabWidget? >>> I've tested to change in my .css-file, but there the new color is only >>> visible when I press the reload-button of my browser. >>> >>> >> Just to rule that out, it is not because your browser cached the >> previous css file? If you want to avoid problems because of browser >> caches, then you should version your CSS file and bump its version. >> >> The way I understand CSS and the cascade priority, you can override >> any of Wt's default styles (e.g. the ones inserted by WTabWidget) by >> specifying the same (or a more specific) rules in an external >> stylesheet. This is so because Wt puts the internal stylesheet before >> linking the external stylesheets. >> >> As an example specifically for WTabWidget, consider the wt homepage, >> where WTabWidget rules are overridden in "home.css". >> >> Regards, >> koen >> >> ------------------------------------------------------------------------------ >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. >> The future of the web can't happen without you. Join us at MIX09 to help >> pave the way to the Next Web now. Learn more and register at >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >> _______________________________________________ >> witty-interest mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/witty-interest >> >> >> > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
