1. #1
    Ext User
    Join Date
    Apr 2009
    Posts
    3
    Vote Rating
    0
    thomashill is on a distinguished road

      0  

    Question CSS-Code in Html-Class don't work in IE

    CSS-Code in Html-Class don't work in IE


    Hi,

    i use GXT 2.0 with GWT 1.6.4

    The Internet Explorer seems to ignore style-data in the Html-Class.
    I also tried the HtmlContainer-Class, but without success.

    I have the following simple Code:
    Html h = new Html("<style>.test{color: red;}</style>"
    + "<div class='test'>"
    + "<h1>Heading1</h1>"
    + "</div>");
    myPanel.add(h);


    In Firefox 3.x it works fine (text is red), but in IE7 the style with the color don't work (text isn't red).

    Is there a workaround?

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,691
    Vote Rating
    107
    sven is just really nice sven is just really nice sven is just really nice sven is just really nice

      0  

    Default


    I am moving this to the help forum as it is really the better place there.