javascript - Why doesn't this work for me? [element] [class] {style} -
i trying have normal class tables, e.g.
table {style here}
but tables i'd have different style
i give table class , use class alone, e.g.
.specialtable {special style}
but i'd try specifying applicable tables, e.g.
.specialtable table {special style}
however isn't working, what's wrong?
.specialtable table {special style} the above code affect any table has ancestor (a previous element) class specialtable. instance match table in
<body class="specialtable"> ... <table> ... what want table class specialtable in case syntax is
table.specialtable {special style}
Comments
Post a Comment