HTML/Browser/CSS - Webpage Seems Larger On Server
NickName:Daniel Cheung Ask DateTime:2014-04-15T09:05:38

HTML/Browser/CSS - Webpage Seems Larger On Server

Similar Question:

Why does my website appear smaller on a live server than when deployed locally?

So I wanted to reask this question, but please don't say there is already a duplicate. I thought the answer of that page is just basic information, and didn't fix my problem.

My question is similar, the same page in my PC renders fine(Firefox, Chrome), but the same one on a server rendered smaller by Firefox(Chrome OK). My local webpage is using the URIfile:/// and I have hosted a page on a free server, of course the URI would then behtml://. That is all I know.

Local: enter image description here!

Web: enter image description here!

As you can see, both screen sizes are exactly the same, the CSS is the same, not zoomed in, I suspect it is how Firefox handle px sizes differently, but this is the 1st time happening. Why? How to fix?

Extra Information:

I discovered if I zoom in in Firefox 1 time in the page on the server, it is the same size as the page locally

Copyright Notice:Content Author:「Daniel Cheung」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/23072956/html-browser-css-webpage-seems-larger-on-server

More about “HTML/Browser/CSS - Webpage Seems Larger On Server” related questions

HTML/Browser/CSS - Webpage Seems Larger On Server

Similar Question: Why does my website appear smaller on a live server than when deployed locally? So I wanted to reask this question, but please don't say there is already a duplicate. I thou...

Show Detail

Browser renders differently on local machine and on test server (even css source code!)

I have a weird problem. It is not even a problem, but I am not able to understand why it happens. I am doing the following: 1) Open mycustom.url/test/assets/libs/bootstrap.min.css on chrome brows...

Show Detail

Html/Css resize and crop as browser size changes

I'm doing a project recently and thanks to a friendly tutorial, I managed to find the following code. CSS html { background: url(images/bg.jpg) no-repeat center center fixed; -webkit-background...

Show Detail

what is the difference between xx-large and larger in CSS?

I was reading about relative and absolute size in CSS and came across this question. what's the difference between xx-large and larger other than absolute and relative? also what is meant by scaling

Show Detail

How to toggle ON/OFF tel: link on a webpage using CSS based on Width of the browser?

Before any admins decide to mark this question down or close it, I want to say that I have painstakingly done my due diligent part by scouring the INTERNET UP and DOWN and StackOverflow and still h...

Show Detail

Where should I put the CSS and Javascript code in an HTML webpage?

While designing a webpage, where should I put the following code? <link rel=stylesheet type="text/css" href="css/layout.css"> Should I put it in the <head> or should I put it in the &lt

Show Detail

HTML file not working in Browser

I have created a simple - HelloWorld.html Webpage with HTML, JavaScript, CSS. When I run it from Eclipse IDE, It works perfectly on browser. What it does is like: the page has 5 buttons, and hel...

Show Detail

How do I remove CSS code arriving in my webpage?

I am trying to start using Chart.js on a webpage. This webpage resides on a server that is also running zabbix. Here is the code for the simple page I am trying to run: <html> <head&...

Show Detail

Create HTML and CSS for WPF WebBrowser

OK, so I'm building an application similar to the Battle.Net's launcher :) Tabs for multiple applications and I would have liked to add a "dynamic content area" where I could post news and stuff.

Show Detail

Trying to Send HTML From C Server But Browser Has Issues

So the I basically copied Beej's server code just so I can get an idea of how to create a server. Now I want to send HTML to a browser with CSS styling and anything else through this code. What I t...

Show Detail