Typography basline & size changing when web site on live server
I have a rather bizarre situation, and it's not the first time I 开发者_StackOverflow中文版this has happened. I have a web site I am developing (a Wordpress template, but that's irrelevant in this context).
I have noticed a distinct shift in the baseline grid of the typography, as well as the SIZE of the type used in my web site template.
I have attached two screenshots. The first one is a preview of the web site on my local testing server (windows XP SP3 Apache 2.2.8) and the second is of the live site, hosted on a Debian Linux machine running Apache web server.
Can anyone throw some ideas around as to why this is happening? Is it a doctype issue? The doctype declared in the latest Wordpress header file is:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Screenshots:
Many thanks to all who contribute.
Looking at the screenshots, my first guess would be a "Zoom" setting that is stuck at 125% or a similar enlarged setting for the second screen shot.
If that's not it, we need more info.
- What browser(s) are you seeing this in
- Is this on the same machine
- Do all style sheets get loaded
- Calls for seeing some code will follow soon :)
You should verify that the HTML, CSS and JS is identical in both test cases.
精彩评论