Reputation: 871
Simple code, but in chrome font-size is always 12px, in IE it's 10px. For px larger than 12, it's ok to change. But for px under 12, it cant be changed....how to fix this?
<html>
<head>
<style type="text/css" >
body{
font-size: 10px;
}
div{
margin: 0 auto;
border: 1px solid #000;
width: 60em;
}
</style>
</head>
<body>
<div>
wrapper
</div>
</body>
Upvotes: 4
Views: 6343
Reputation: 40338
You can adjust the size of text in chrome.
Upvotes: 1
Reputation: 3324
Try change size like this:
body {
font-size: 10px !important;
}
If it still doesn't work, you would probably have some javascript changing it on the fly (do you have some javascript plugins or code loaded with your project?
Or maybe css from other plugins/modules/code etc.
Or maybe you have really set some minimum font size in chrome settings. Try to check taht also.
Upvotes: 0
Reputation: 324680
In chrome://settings/fonts, there is a setting for "minimum font size". You probably have that set to 12px.
Upvotes: 9