Tag Info

New answers tagged


In most browsers, you can hit F12 to open a set of developer tools for inspecting the page. From there, you can click the search icon and click the element you want to see the background color of, then look for the background-color css property: Or alternately, if this is something you do often, you could use a browser extension (like ColorZilla on ...


Right click with your mouse on the web page and then click "Inspect Element". Then look to the right under the "Styles" tab (assuming you're using Chrome), and then under where it says: .site { background-color: #f8f3ef; This is the color (#f8f3ef). For future reference, you may have to do some looking around in the Inspect Element next time and just ...


Look for: background-color: That's your dead giveaway that a color (in hexadecimal format) is being set for the background of an element. I looked at the code just now and both values are the same. #ece7e3 The value is in the format of # and 2 hex characters for amount of red, 2 hex characters for amount of green, and 2 hex characters for amount of ...


Its a #f8f3ef, somtimes i just make print screen copy to Photoshop then grab color. But this method is the most lazy by Firebug


View the source code using a tool like Firebug or Chrome Developer Tools will make that easier to do. You can inspect an element, in this case the background, and see the CSS rules that applies to it. Use a browser extension like Colorzilla to click and tell you what the color is.


Check uncss, it's a node module. "UnCSS is a tool that removes unused CSS from your stylesheets. It works across multiple files and supports Javascript-injected CSS." https://www.npmjs.com/package/uncss Edit after comment: I think you are asking for two different things: Remove unused rules automatically, this is what uncss can do for you. I also made ...


You will be attracting penalty on your websites. Changing CSS wont save you. If the content is thin then best deal is to get a writer and rewrite it before posting on the 4 sites. Write the four different versions


Duplicate content is duplicate no matter how much you try and sugar coat it.


I'm assuming you want one file to process different CSS based on different parameters. I have a better answer, and as a benefit to this answer, you can have pretty urls instead of requiring a client browser to call actual CSS files. I'm gonna assume a standard LAMP setup (Linux, Apache, MySQL, and PHP) is done on the remote computer. First, ask the server ...


You could try what Godaddy recommonds on their site: Enabling mod_Deflate with Your Hosting Account. Add the following to your .htaccess file AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript


Considering you have go-daddy, you might not have decent apache access. Use PHP and use the following template. <?php $compression_level=2; //any number from 1 to 9 depending on how much compression ob_start(); // INSERT YOUR OUTPUT CODE HERE $data=ob_get_contents(); ob_end_clean(); if (strpos(strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'gzip') !== ...


By compressing .js and .css, do you mean to minfy them or gzip compression. If you need to minify, just use css minfier or JS minifier. And if you are asking about gzip compression, it is also too easier. Just create an .htaccess file in your ftp root (only if it doesn't exist), and paste the below code to it, <ifModule mod_gzip.c> mod_gzip_on Yes ...

Top 50 recent answers are included