Style.css on Browser different from the one on Server ??? WHY ???
-
Hi,
Thank you reading me ??
Here is my question first, if you don’t want to read everything =PMy main Question: Why is that the Style.css that is opened from the browser (directly from the URL) has more than 6,000 lines, while the “same” Style.css that is in the FTP server has only 550 lines. (knowing that they are both organized the same way: spacings, line jumping…etc) [Can you then modify the Style.css on the FTP by putting the same code that you get by Inspecting Elements from the URL?]
I uploaded a WordPress Theme. The theme is working, however when I opened the webpage URL with Firefox, and clicked on Inspect Element, I had all the Style.css lines (more than 6,000 lines) (so far, so good)
At the same time I opened the Style.css that was saved on the FTP server (Of that same Theme) using Dreamweaver CC. There was approximately only 550 lines.How come that the same Style.css that I opened on the Browser (From the URL) (using the Inspect Element, same thing if using Firebug) and copied it in Dreamweaver, had approximately 6,000 lines!? while the other had only 550… How come the big difference?
(Note: The code of Style.css on the FTP server is well organized, with the spaces, and line jumps, the same way as the one opened from the URL browser…)I tried to search about it to understand, but I can’t find any explanation (Maybe I’m not using the right keywords to search)
I’m guessing since the Template is itself responsive, so the Browser is adapting it according to the screen resolution and all… But I really would like to find an article or something to explain that.And this gives me a second question: Is it then possible to customize the Style.css that is on the server, and be guided by the Inspect Elements on the browser. Because I hired a Freenlancer on (Freelancer.com) a week ago, and asked him to modify a Menu size, and all he did was: On the Website > inspect Element > Found the Width, and height > Changed to the Pixels that I wanted.
Then he simply copied all the CODE, and Pasted it in the Style.css that was in the FTP server… (But that made the Style.css that was on the server goes from 550 lines, to more than 6,000 lines)So, I would like to find some more information on that if possible.
If you only know what type of keywords I should use in google, please let me know.I was using keywords like: Style.css on browser different from ftp…
But no favorable results, even with other phrases.
I really would like to understand that, and know how to properly do the css modifications in the future.Thank you for reading, I hope that someone will point me to the right direction.
Thank you!
- The topic ‘Style.css on Browser different from the one on Server ??? WHY ???’ is closed to new replies.