Kahless
Kahless

Reputation: 1253

Changing appearance of text using CSS

I am trying to figure out how the Google search box adjusts the Arial font to look the way it does. What I mean by that is, when I try to use Arial on my site at the same font size it seems much thicker then in Google's search box. As far as I can tell there is no way to adjust the font-weight of Arial on Windows. So I was wondering how they get arial to display so thin.

I would like to do this via CSS if possible but other means are ok as well.

Upvotes: 2

Views: 107

Answers (1)

Gab
Gab

Reputation: 5784

Is this what you are looking for?

.google-searchbox-arial{
    font-family: arial, sans-serif;
    font-kerning: auto;
    font-size: 17px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    color: #222;
}

Upvotes: 2

Related Questions