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)

0
votes
0answers
4 views

Nesting a <ul></ul> within a <p></p> creates two paragraphs. Why? [migrated]

I've noticed a strange behaviour in how the browsers interpret the following code: <h2>Maecenas aliquet lorem id urna vehicula</h2> <p>&nbsp; <ul ...
0
votes
0answers
17 views

Resizing images for responsive web site; not resizing [on hold]

My images are not scaling to fit within their division on a responsive site. I am testing by resizing the browser. See this question: Resizing images for responsive web site; not resizing If ...
0
votes
0answers
8 views

Fluid Design: Autosizing an image [closed]

I'm currently stumped on the best way to automatically resize an image on my website so that it can fit any device without the need to scroll horizontally. I have tried CSS by setting width and ...
0
votes
0answers
6 views

Is there a way to detect when a row changed with a UL of float-lefted LIs? [migrated]

Here's an example list I have of products: http://imgur.com/7IGthIa I've got a function that runs on document-ready that cycles through each list and adjusts the height of a span around the img, so ...
0
votes
0answers
8 views

How to create semantic URLs using the title of an article/post [closed]

How can I create semantic urls using the title of a page? I know of some ways that semantic urls can be created, such as using Rewrite rules in htaccess, and using subfolders with index files. But ...
0
votes
0answers
9 views

Horizontally-animated text shifts vertically slightly after animation [closed]

Upon mousing over the bottom three icons, the text that slides in moves upwards ever-so-slightly after it finishes sliding in to the right. I can't figure out why this is so. Can anyone shed some ...
3
votes
1answer
592 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 ...
0
votes
0answers
3 views

How do I switch between nav-pills and nav-stacked for different screen sizes? [migrated]

Forgive the noob question. I am trying to figure out how to switch between nav-stacked nav-pills for mobile and non-nav-stacked nav-pills for everything else using Bootstrap. For example, for desktop: ...
1
vote
1answer
19 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
14 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
5 views

How can I arrange (different) squares in a grid correctly? [migrated]

My standard layout (minimum width 1024px) has 4 rows. The first and the last one has 6 squares and in the middle there are two combined squares. But the first square in the third row is missing. I ...
0
votes
0answers
15 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
18 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
467 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...
0
votes
0answers
3 views

Using CSS to re-order division elements [migrated]

I have a website I am trying to extend to be more usable on tablets and phones. I'm using stylesheets with media selectors in the HTML My HTML is like this <div id="page"> <div ...
0
votes
0answers
10 views

Partial Padding and Border concealed with overflow: hidden; [migrated]

If we have the following HTML <div id="i"> <a href="#">StackOverflow</a> </div> With the following CSS * { margin: 0; padding: 0; } #i { overflow: ...
0
votes
0answers
4 views

width of <h*> element flows 100% always [migrated]

When setting the background color of a <H1> tag(or any <H*> tag) the element spans the length of the body element of the HTML page. <H1>A</H1> H1 { background: #ddd; } ...
0
votes
0answers
12 views

!important border-color of adjacent <td>'s [migrated]

I have a php code that generates hundreds of <tr> and <td> tags. My issue is as follows, I have the following: <td style="border-color-right: black">X</td> <td ...
1
vote
2answers
56 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
0answers
19 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
82 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
71 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
37 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
98 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
31 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
81 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
417 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
20 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
121 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
56 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
68 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
47 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
70 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
22 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
57 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
76 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
13 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
103 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
275 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
24 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
91 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 ...
2
votes
2answers
109 views

How are hexadecimal color codes added together to produce a color in HTML?

I know that web colors use RGB color model in which red, green, and blue colors are ADDED together in various ways to reproduce a broad array of colors. Now, suppose I have a color: #800080 (which is ...
0
votes
2answers
70 views

Will inserting dummy hidden text via CSS for layout purposes harm SEO?

I have a website with a rather complicated input form, which can vary a lot (it has different fields depending on what the user has entered until now). When I was making the CSS, I noticed that there ...
8
votes
1answer
298 views

Improve web site performance via parallel CSS downloads?

I was optimizing the page load time of a website. One of the ways was by combining multiple HTTP requests for CSS into one combined HTTP request. But one of the reviewers asked an interesting ...
1
vote
0answers
130 views

Is it possible to blur the content under my navigation bar? [closed]

I need as clean code as I can get to get to an effect I have tried to achieve, to no avail: http://logandark.net/images/blur.png I am trying to ask the questions the best I can because I have been ...
3
votes
1answer
88 views

Tips for developing a responsive website [closed]

I'm having problems trying to figure out a good workflow when designing a responsive website. I've tried a few approaches, nowadays what I'm doing is: Do all html and css work with the window ...