Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    inherited style

    I have a vlayout with a style name specified. In this style I have font styling. I have a label within the vlayout. I am expecting the label to inherit its parents' style but it does not. Is there a separate property for this? Or will I need to take care of this myself?

    Code:
    isc.VLayout.create({
    ID:"testV",
    styleName: "myBoxedGridCellSelectedOverDark",
    members:[isc.Label.create({contents: "TESTING COLOR"})]
    })
    Code:
    .myBoxedGridCellSelectedOverDark {
        font-family:Verdana,Bitstream Vera Sans,sans-serif; font-size:14px;
        color:white;
        border-bottom:1px solid #a0a0a0; border-right:1px solid #a0a0a0;
        background-color:grey;
    }

    #2
    There are <table> elements involved, so no, you can't expect CSS inheritance in this case.

    Comment

    Working...
    X