CSS, short for Cascading Style Sheets, is a language used to control the presentation (including colors, layout, and fonts) of HTML and XHTML documents.

learn more… | top users | synonyms (4)

2
votes
2answers
93 views

Two duplicated <h1> tags and one hidden

Is that bad for SEO? <h1 class="responsive-hidden">This is my title</h1> <h1 class="hidden responsive-show">This is my title</h1>
-2
votes
0answers
17 views

Firefox render font-size differently when compared to chrome.is there any fix for that.it works perfectly in chrome [on hold]

Firefox render font-size differently when compared to chrome.is there any fix for that.it works perfectly in chrome.
-2
votes
0answers
23 views

PHP showing code instead of “thank you” message [on hold]

I created a contact form for my website, but when tested, when I click the submit button, it just shows the PHP code instead of the message it is supposed to show, like the text info the user inputs ...
0
votes
0answers
3 views

Menu text is still visible on mouseover while sidebar is hidden [migrated]

I'm working on making a sidebar on My main page something like google ventures (https://www.gv.com/lib/how-to-choose-the-right-ux-metrics-for-your-product). but the problem I'm getting is when I click ...
0
votes
1answer
22 views

What is the difference between Flat Style design and a Metro UI? [closed]

When I look at the two they look the same, only there's not that many named "Metro." Is three a difference other than the name that Microsoft came up with?
0
votes
2answers
14 views

Graphic-only header - CSS and readability/SEO

I know it's not ideal, but if there's a 100% bitmap graphic header (with a text title rendered in the bitmap), the old way of making sure that there was a text counterpart to the graphic was to offset ...
0
votes
0answers
2 views

The parent dropdown menu button does not navigate to href location [migrated]

I have the following code for a drop downmenu on my site but when I click on it nothing happens. How can I get this to follow the href link? <li class="dropdown"> <a href="iaas/index.html" ...
0
votes
0answers
48 views

Blogger Edit HTML Not Saving Changes

I backed up my Blogger template before trying to make any changes, uploaded a new template, and then saw that the posts got screwed up. No longer were they showing up with "read more", so I tried to ...
0
votes
0answers
3 views

How to line up text with css shapes [migrated]

The page is here: http://www.satearn.com/node/163 I want the text to line up perfectly with the css shapes, as if they were bullets. .big_bullets { display: inline-block; -webkit-box-sizing: ...
0
votes
0answers
5 views

How do you shorten the CSS when using a H selector with multiple ids? [migrated]

I want to take this code and shorten the css: h3#username1, h3#username2, h3#username3 { color:#ff0000;} I tried h3# and h3#* but it didn't work. How would you shorten the code?
8
votes
2answers
140 views

Is it possible to make an XML sitemap pretty enough to show to users?

I wouldn't mind showing my XML sitemap to users if there were a way to make it human usable as opposed to just machine readable. Is it possible to: Choose the colors and layout Make the locations ...
0
votes
1answer
16 views

Images are blurry in one category and not the other [closed]

You can see what I mean if you check out the site: http://healthitlink-e8865038.cloudapp.net All the images in the Apple/iOS category are blurry but if you click over to page 5 you'll see the ...
3
votes
2answers
47 views

Internal server error when using base64 encoded icon on the home page

I have an "index.html" (or .php - it makes no difference) file in the root / of my hosting space. That "index.html" file has this line of code in it: <link rel="icon" ...
0
votes
2answers
46 views

Why isn't the HTML break tag acceptable anymore for top and bottom margins?

I'm starting to think I'm making less with adsense now because of insufficient margins. I tried with CSS margins with using the margin and padding properties of applicable elements, but then I noticed ...
1
vote
0answers
34 views

CSS Above or Below Body for Speed? [closed]

I just have a genuine question, should I put any CSS above or below the body tag (maybe for Javascript too?), and what are the pro's and con's of each method? and what's the (dis)advantages of using a ...
0
votes
0answers
29 views

Does Div Class Or ID Name Affect in SEO Result? [duplicate]

I've been reading some comments around the Web about HTML classes/IDs improving website's SEO. Which made me wonder and also lead me to the question: Does it make any difference giving random ...
1
vote
1answer
26 views

Is Image Spriting for Articles Images a good solution?

I am starting an online portal and I calculated that I need about 102 Images (based on the amount of articles), the problem is I want to keep the whole page below 800KB (Including all assets). I want ...
4
votes
1answer
649 views

Using display:none legitimately. Still a SEO risk?

My webpage has a certain text on the footer, about 2 paragraphs. However, it is only relevant to pages and not posts. I would like to hide it on posts. If i do this using CSS display:none will I get ...
1
vote
1answer
34 views

How do you get CodePen to display the results? [closed]

I created a CodePen to compare it with jsfiddle. I added the html and the css. But...what now? How do I get it to show the results? In jsfiddle you select "Run" and, when satisfied, "Update". But ...
0
votes
0answers
16 views

A CMS for a beginner developer [duplicate]

I am a beginner developer who knows HTML, CSS and lately have entered in web development world with learning some beginning php scripts. I just want to know is there a clean CMS that allows me to ...
0
votes
0answers
18 views

Translating the content of a web based off-line tutorial

I'm trying to translate a tutorial of a software. The tutorial is all in HTML, with CSS and some javascript. I'm noob in web development, so I'm a little lost. The problem is: I found the source-code ...
0
votes
1answer
19 views

Does putting everything in one SASS file violate the style guides?

I'm not a fan of having a lot of files in my project. I use vim and it's a lot easier to have all my stuff in one place rather than jumping between files. However as I understand, it is preferred to ...
3
votes
5answers
491 views

How can I determine the background color of a site?

How can I determine the background color of a site (so I can use that color in Photoshop)? I looked at the source code, but I don't know code well enough to figure out what's what...
1
vote
2answers
63 views

How does copying website pages and content but changing CSS affect SEO?

I have a media site that has thin content, I'd like to copy the pages to various domains I own. On the sites that will be receiving the duplicate content the CSS will be changed in various ways from ...
0
votes
1answer
35 views

How to link to Avatar image in BlueSpice MediaWiki of fixed size?

The BlueSpice MediaWiki adds a profile picture that a user can set for themselves or take an automatically generated one. These images are visible on pages to see who has edited or viewed a page ...
2
votes
3answers
100 views

How do I enable compression to reduce the file transfer size on GoDaddy?

I have hosted one of my website on godaddy.com. How do I enable compression to reduce the file transfer size? I need to compress the .css and .js files. I tried the following but it doesn't work : ...
3
votes
1answer
77 views

How can I customize the Apache licence for my template design?

I have a template with the following license: /*! * name of original creator - name of theme (originalcreator.com) * Code licensed under the Apache License v2.0. * For details, see ...
0
votes
0answers
13 views

Will css validation failure will affect the Search? [duplicate]

My website has many CSS Validation error, now my concern is: will it affect my website in search? Will it affect the visibility of users? Google will index my pages for pagerank? I am waiting for ...
0
votes
1answer
43 views

Google and display:none for multilanguage content

I know that there are a couple of question about the effect of using display:none on the Google ranking, but none of those answered my specific question, so hear me out please. I'm currently working ...
-2
votes
2answers
147 views

Hiding H1 from user but making it visible to search engines? [duplicate]

I have h1 tag in a page. I do not want to display it to user but want to make sure that its content will be used for SEO. What is recommended way of achieving it these days. I can think of: in css: ...
1
vote
1answer
40 views

Issue linking Code Prettify alternate CSS file

I have installed the full Google Code Prettify prettify-4-Mar-2013.tar.bz2 found here and hosting my own JavaScript/CSS works fine with the templates provided: <head> <title>Google ...
1
vote
2answers
110 views

How do I Add Expires headers for CSS file with ?ver=4.1

I'm optimizing my website with Gtmetrix and in Add Expires headers section it shows the below error- There are 49 static components without a far-future expiration date. ...
1
vote
2answers
964 views

How to change the background color of searchbox for Google CSE?

How can I change the background color for search box of google custom search? It is white by default, I want to set it to gray, so that it looks like this example. The V1 CSS code for the search ...
0
votes
1answer
26 views

Maximum size of inline css or when to use link tags with src to a css file

I read Googles Optimize CSS Delivery article but I still don't know how much I can put in an inline style block. Google recommends using inline css when the content is small and for big files they ...
2
votes
2answers
145 views

SEO penalty by hiding text for sighted people but not for screenreaders

Let’s say I have this setup: HTML: <a href="#" class="menu_links"><span class="hidetext">Graphic </span>Design</a> CSS: .hidetext { height: 1px; width: 1px; ...
1
vote
1answer
64 views

Why would the Better Wordpress Minify plugin cause alignment issues when activated?

I just installed the Better Wordpress Minify plugin to speed up a Wordpress site. The plugin is causing a couple very small alignment issues, but I can't seem to get the plugin settings adjusted to ...
2
votes
1answer
70 views

Google's cache is not using my custom font

When I check my site’s cache view on Google Search, I see Google does not use my custom font, it always replaces mine with Arial. Because of font widths, my whole design is changing. I have these ...
1
vote
1answer
53 views

How to properly specify font size and face in a classified Ads HTML template?

How to properly specify font size and face in a classified Ads HTML template without html, body and head tags (these tags will be cutted), when template will be put in iframe on page? The classifieds ...
1
vote
1answer
71 views

When a mod_rewrite redirect is in place, do absent <img>s still cost more server time than present <img>s?

I have a series of webpages in which the <html> refers to: <img src="img1.png" [...] /> <img src="img2.png" [...] /> <img src="img3.png" [...] /> After I realised that ...
0
votes
0answers
23 views

(SEO)Should I use Wordpress as a website, or contain Wordpress in my website, or neither [duplicate]

I'm getting ready to release some software; However I was thinking that I could create a dev-blog going for the updates that I make etc.. The question came down to three different solutions: Write ...
1
vote
1answer
67 views

Blogger's embedded CSS and JavaScript

I'm trying to host a blog on Blogger with a custom domain. It's all good except the annoyance of many workplaces blocking the Blogger website using web-filters, including mine. This is causing the ...
4
votes
1answer
113 views

How to override LESS colour variables without creating a new skin in MediaWiki?

I have a default MediaWiki install using the Vector skin. I would like to change the colours, but I want to keep maintenance to a minimum so I don't want to duplicate the skin (because I will have to ...
1
vote
0answers
17 views

Does hiding some content with CSS hurt SEO when “Read more” is used to show the rest? [duplicate]

I have content that is hidden by these css height: 220px; overflow: hidden; which content height is problably about 1000px, so no display: none is used on the page. I hide it because below that are ...
0
votes
1answer
32 views

What is the name of this type of website? [closed]

I'm not sure what stack exchange site I am supposed to ask this question in, but I will ask it here anyways. This site has a particular style that I want to create on my own using HTML5, CSS3 and ...
11
votes
3answers
2k views

Robots.txt - CSS allow or disallow

Are CSS and templates allowed in robots.txt? Should it cause any problems? In Joomla, CSS and templates are disallowed in the robots.txt. Please help me find a solution to whether or not put ...
0
votes
0answers
14 views

Does display:none on images have SEO impact? [duplicate]

I am using wookmark.js in order to load a Masonry styled grid in my website. As they recommend, I am using display:none CSS property to hide images until loading (detected by imagesLoaded) and then ...
1
vote
1answer
156 views

Can Google crawlers/googlebot read CSS content in before and after elements?

I have a div and I am placing some text in it via content in :before and :after. Can Google crawlers read this? Example: div:after { content: 'This is from CSS'; display:block; } Working ...
4
votes
1answer
519 views

How does “background: url(image.ext)” work from an SEO standpoint?

Forgive me if this has been asked, all I found was SEO: h1 with text vs. h1 with bg image and hidden text which wasn't the same question. Will search engines pick up and index (in their image ...
0
votes
1answer
26 views

CSS formatting output differs among Chrome, Firefox and Opera when viewed as source

This question relates to the way CSS looks when you view it as source in a web browser. I like to format the css for my website in such a way that you can scan the whole css file quickly and spend a ...
1
vote
0answers
107 views

ExpiresByType not working for PNG images when set in .htaccess for a WordPress site

In my website I have the expires headers settings reported below. When I use Google's PageSpeed Insights test I get the message: XYZ.png expire headers not set, which I'm getting for all the PNG files ...