开发者

Smartgwt font size in text input using css

When I put this in my css file:

label, input
{
  font-size: 18px;
}

Text labels show up with font size 18, but text boxes aren't affected. Also, when looking at the generated html code in the browser (Inspect element, using Chrome), I'm seeing that the input box has a set height.

So the question is开发者_运维百科, can I control the size of the text box and the size of the font inside the text box using just css?


If you add the !important declaration your css would take precedence on the smartgwt css declaration. I've just tried and it works.


    label, input {
        font-size: 18px !important;
    }

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜