Monday, December 24, 2012

Instruction not applying color defined in css file

Hi everyone, I'd like to introduce myself in this group. I'm searching here for help about my problems with GWT and if possible to help people with their problems too. Well, now into my problem:

I've the following instruction in my code:

fTable.getFlexCellFormatter().setStyleName(nfilas, 0, "flexTable-cell2");

Being fTable a flexTable and flexTable2-cell2 a style define into my css file this way:

.flexTable-cell2 {
    color: black;
    padding: 0px;
    border: 0px solid blue;
    font-size: 14px;
    text-align: center;
    background-color: #FFFFFF;  
 
}

But, in spite of that I define color as black it shows as blue, and what's even stranger is that I've checked that if I change the value of border or font-size it changes accordingly in my application so it's not that it's not aplying the style. So... Any idea of what could be happening?

Thanks for your help.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/lUtuGo39LakJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment