Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

JSF h:inputText styleClass not working but OK in Safari and Chrome

  • Không có trả lời
  • 1 gặp vấn đề này
  • 2 lượt xem
more options

I have a JSF tag <h:outputLabel value="Exposure Currency: " styleClass="default-label"/> <h:inputText value="#{counterpartyBean.countryOfOperationCurrency}" styleClass="info-label" size="32" readonly="true"/>

with a css definition of .info-label {

              font-family:         "Arial, Helvetica, sans-serif";
              font-size:            12px;
              color:                blue;
              float:                left;

} however the css has no effect although it does work in Safari, Chrome, Opera and Lightning

I have a JSF tag <h:outputLabel value="Exposure Currency: " styleClass="default-label"/> <h:inputText value="#{counterpartyBean.countryOfOperationCurrency}" styleClass="info-label" size="32" readonly="true"/> with a css definition of .info-label { font-family: "Arial, Helvetica, sans-serif"; font-size: 12px; color: blue; float: left; } however the css has no effect although it does work in Safari, Chrome, Opera and Lightning