I am experiencing a significant issue with anti-aliasing when rendering fonts in web browsers. While everything looked great in my design software, the fonts appear jagged and unattractive when viewed on major browsers. The fonts I am using are 'Segoe UI Light' and 'Roboto Slab':
I have researched online and on Stack Overflow for solutions, but none of the suggested tricks seem to work for me. Here is a snippet from my CSS:
<link href='http://fonts.googleapis.com/css?family=Roboto+Slab:400,700' rel='stylesheet' type='text/css'>
in .CSS
body {
background-position: right;
background-position: top;
background-repeat: no-repeat;
font-family: 'Segoe UI Light', 'Century Gothic', Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
margin: 0;
padding: 0;
font-weight: normal;
-webkit-font-smoothing: antialiased;
font-smooth: always;
text-shadow: #eee 0px 1px 1px;
-webkit-text-stroke: 1px;
-webkit-font-smoothing: subpixel-antialiased;
}
nav ul {
margin: 0px;
padding: 0px;
width: 100%;
font-family: 'Roboto Slab','Segoe UI Light', 'Century Gothic', Verdana, Arial, Helvetica, sans-serif;
font-size: 19px;
text-align: center;
list-style-type: square;
}
nav li {
color: #FFF;
display: block;
float: left;
height: 36px;
text-transform: uppercase;
width: 200px;
margin: 15px 0 0 0;
}