Các bạn có thể cho tôi biết tại sao định nghĩa lớp css không hoạt động trong ví dụ sau?Định nghĩa lớp CSS không hoạt động bên trong các phần tử <g:HTML>
Tôi đang sử dụng GWT 2.4 + Chrome 17.
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:style>
div.test {
color: red;
}
</ui:style>
<g:HTML>
<div class="test">I should be red but I'm not</div>
</g:HTML>
</ui:UiBinder>
Geez, bạn nói đúng! Tôi hoàn toàn quên mất nó! Cảm ơn rất nhiều! – expert