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)

1
vote
1answer
175 views

Images randomly not showing up

I just uploaded a website for a client which looked good while previewing locally. When I visit it on the server though some images aren't loading properly. It seems to be quite random, and sometimes ...
3
votes
3answers
1k views

How can you identify duplicate CSS rules?

I'm not talking about used/unused here. I have two stylesheets and some rules differ (either in selectors, rules or both) and some are exactly the same. So I'm looking for a way to extract and move ...
6
votes
2answers
623 views

Including specific characters with Google Web Fonts

I'm using the Open Sans web font from Google Web Fonts on my website. I only need the basic latin subset, but I do use the Psi (Ψ) character quite often as well and I would like to use the Open Sans ...
0
votes
1answer
247 views

Customize Mediawiki's monobook.css with some skins

I have installed MediaWiKi on Ubuntu server. I am trying to customize the wiki's appearance, so I tried different skins (fratman, GuMax, and mozillawiki) None of them satisfied me. I want a skin ...
3
votes
1answer
607 views

How to check if linked JavaScript and CSS files are being used?

I've inherited a website that seems to import every JS and CSS framework my predecessor could think of. Is there an easy way to analyze the site and determine which ones are actually being used? Or ...
0
votes
1answer
77 views

What HTML and CSS markup is best for SEO for a list of questions (like on Stack Exchange sites)

On the StackOverflow a question block (in the q-list on the index page and so on) represented by the following html code: <div class="question-summary narrow tagged-interesting" ...
7
votes
3answers
703 views

How does client side XML+XSLT affect SEO?

I have a site that is built completely in XML and is transformed by a single XSL file. How does this affect SEO? Is it possible to store page-specific metadata? Will robots see the transformed page ...
0
votes
1answer
531 views

Fixing Google Chrome text antialias for .ttf fonts

I have found a topic which presents a solution on how to get antialising working in Google Chrome - Windows, but they use .svg format. I have a .ttf format and I import all of my fonts like this at ...
0
votes
0answers
34 views

CSS Issue in WordPress site [closed]

I want to close the gap between the image and the excerpt text on the following page: Kindly advise how to achieve this. Thanks in advance. Sunil
3
votes
4answers
2k views

Check for duplicate 'id' values in a HTML page

I am developing a web application and I would like to check for duplicate id values in a HTML page. I am running the application on my local machine. There is a way to do that? P.S.: I am using ...
0
votes
1answer
106 views

What CSS rules are causing extra space in the footer of this blog on blogger? [closed]

I am having some problems with the footer on my blog. Take a look at it here. Right above the footer, there is a blank, black space with nothing in it. Above it is the feed url, but it isn't on the ...
0
votes
2answers
459 views

Exactly what is Google's PageSpeed Service recommending and how to optimize CSS?

Looking at my webmaster tools, Google kindly recommended that I could further increase the performance of some of my sites and to look at the recommendations provided by their PageSpeed service. So I ...
21
votes
10answers
1k views

What is new in HTML5/CSS3?

I've seen this site and this site, but that's a lot to digest. What are the main things about HTML5 that make it different/better than regular old (X)HTML/CSS?
0
votes
1answer
71 views

Is possible create a Microblogging Service in HTML and CSS? [closed]

Is possible create a simple Microblogging Service in HTML and CSS with Login similar to Hatena Haiku? PS: is possible to host in Google Drive?
2
votes
1answer
88 views

Can Google see CSS transitions?

I heard that Google "rewards" you for styling the links differenty from other text that are not ought to be clicked. It makes sense I guess. But what if my links are black, like the rest of the page, ...
8
votes
3answers
5k views

iPad and iPhone browser rotating images on site?

I am experiencing an odd occurance on a site I'm building right now where images are displayed 90 degrees different from how they are supposed to, but while maintaining the normal dimensions of the ...
3
votes
3answers
488 views

Responsive web design on the “frontend” vs “backend”?

Apparently there are two ways you can do responsive web design. I'm not sure how to call the two methods but let's just say they are frontend and backend: By frontend I mean, the usual way where the ...
5
votes
1answer
248 views

Duplicate content on the same page - SEO ramifications?

In certain situations, I've seen Responsive Design websites with duplicate content on the same page. The pages had duplicate HTML structure and content in some parts of it due to Responsive Design. ...
2
votes
1answer
2k views

Problem loading a local file in html using the “iframe” tag

I am trying to load a local html file within an iframe but nothing happens. I hear this is a security feature of my OS (windows 8). I am designing a website that is not domain registered yet and need ...
15
votes
4answers
33k views

How do I set expiration headers for CSS, JS, and Images?

I have recently analysed my website with pagespeed addon on firebug. It suggested me to set expiration on CSS, JS and image files. I am wondering how do i do this?
12
votes
3answers
2k views

Can CSS be copyrighted?

I know CSS on a website is protected under the website's copyright since it is considered part of the overall design. I also know that images used in CSS are copyrightable. How about when CSS is used ...
18
votes
5answers
461 views

What documentation exists for HTML, CSS, and JavaScript?

PHP users have the PHP.net docs Ruby users have Ruby-Doc.org Python users have docs.python.org jQuery users have docs.jquery.com All are considered go-to references when working within those ...
0
votes
3answers
50 views

I want to view whole site by disabling CSS [closed]

I want to view on site by disabling CSS, I don't want open each page and through Firebug to disable it. Any suggestions?
0
votes
2answers
72 views

Same URL rendering different content

We have a CSS file hosted on cloudfront. Whenever the file is updated we add a version number to the file. We also have VPN in our office through which we connect to QA servers. Now a very peculiar ...
22
votes
4answers
2k views

Why insert static files (CSS, images, JavaScript, ECC) in a subdomain?

Why so many big and little sites inserts static files (CSS, images, JavaScript, ECC) in a subdomain like media.example.com or s2.static.example.com? What are the advantages? Why not just a directory ...
-1
votes
1answer
48 views

Source for free complete CSS+HTML layouts? [closed]

Where can I find complete free HTML+CSS layouts to choose from?
1
vote
3answers
264 views

CSS: single directive generic class vs. style-attribute on element

Single directive generic class CSS .text-center { text-align: center } HTML <p class="text-center">center me</p> That is our (not really) generic class and while we see this more ...
35
votes
4answers
6k views

Why do big sites host their images/css on external domains?

Why do big sites (Facebook, Twitter, Google, Tumblr & so on) host their images/css on external domains? Facebook: http://static.ak.fbcdn.net/ Twitter: http://a0.twimg.com Google: ...
1
vote
2answers
365 views

CSS files not updating on FTP transfer overwrite

I have a weird issue: I have made changes to a CSS document but when I upload it and overwrite the existing file nothing changes - the old file remains. I have tried this on several FTP clients to ...
14
votes
4answers
12k views

How to pre-load images used only on hover?

I have a link that starts with one background image and then changes on hover to another. Both background images are set in the CSS. My browsers (any of them) don't seem to load the hover image ...
3
votes
2answers
254 views

Print friendly version best practice

I am currently recoding a website from tables to modern html/css and have several 100 pages to go over. The problem is, each page has its own print version in another file, also with tables. Would ...
0
votes
1answer
342 views

SVG images grow and create scrollbars when on the server

Okay so I embedded some SVG images into my page and opened it locally on Chrome and it looked fine. I upload the same file to the server and look at the page online and the SVG images have grown by ...
3
votes
1answer
340 views

Collapsible menu and amount of links in a web page

One of my pages contain three levels of a collapsible menu (JS + CSS from mycssmenu.com). There are a dozen first level items displayed to users, each one with various second level items, and finally ...
2
votes
1answer
820 views

What is the maximum safe line length in css files?

YUI Compressor and other minifiers tend to remove unnecessary whitespaces, causing long lines. Safari 5 seems to fail rendering some rules from the css files when the file has more than 5000 ...
10
votes
7answers
23k views

Font displays differently in Firefox vs. Chrome

It seems that my menu bar is displayed with a different font stretch in Firefox than it is in Chrome. See the following: Here is the CSS applied to this element: font-variant: small-caps; ...
1
vote
1answer
91 views

Animation of a browser loading page elements?

Some time ago, I recall finding a visual explanation of the order web browsers load specific page elements, and how they stack and fit together. I was recently getting back into some web development ...
4
votes
1answer
261 views

What is the best way to optimise a site with lots of images for a Retina display?

I am going to have a website which will deal with a lot of images. What is the best way to optimise them for Retina display without having much of an impact on website loading times? There seems to ...
0
votes
2answers
70 views

Does google take into account page load differences from caching?

Here's what I mean by that. If I use internal CSS, the page will load a bit quicker on the first time it is visited, but with external CSS a user can cache the document and load the rest of the site ...
-4
votes
1answer
39 views

Font creation for logo [closed]

I have a template and that template has a logo. The logo is something called "Cream". I really like the way it has been set up. I want the same style with different name. How to do that? The problem ...
0
votes
1answer
86 views

more capability from CSS [closed]

so i've just finished a book to learn CSS. (known HTML since high school but didn't have the initiative to pick up CSS 'til now). anyways, ever since i started reading about pseudo-classes in CSS i ...
1
vote
1answer
103 views

Toggling between hidden divs instead of two links

For each entity in my site I have a 'joint' section (~30%), and a sub-section (~70%) which has two different options, meaning I only display ONE of them at a time. Currently I have two different links ...
1
vote
1answer
240 views

Preloading web fonts with visibility: hidden; bad for SEO? [duplicate]

I've started using a method to preload the webfonts via hiding them; whilst it works great, I'm not sure if "hiding text" will be viewed as bad for SEO? All I do is something like this: CSS; ...
3
votes
1answer
122 views

Predefined code styles or css library

Is there a (free of charge) predefined CSS library for C# code formatting available? I want to display my C# <code> blocks in a web page similar to the way it is displayed in visual studio or ...
8
votes
7answers
1k views

Can anyone list some real examples of 'HTML5' being used in the wild?

I am using HTML5 in the same way everyone seems to be using it these days, meaning: HTML5 tags, Canvas / 3D / javascript and CSS3. I am struggling to find examples of sites that are using these ...
1
vote
2answers
241 views

Making headers readable on a multi colored background

So the client wants a multi-colored background (think 4 colors of paint splats randomly all over the page. Because of this the headers are a bit hard to read. I've currently got them set up as black ...
1
vote
1answer
265 views

HTML Template Designs - Alternatives to Theme Forest

I'm looking to build a new corporate website using a ready made HTML theme so that I can focus on the business logic rather than on the presentation. Any recommendations for websites similar and ...
17
votes
4answers
21k views

Is the Bootstrap CSS on a CDN yet?

Just checking to see if anyone knows of a CDN for the bootstrap css framework.
-1
votes
1answer
121 views

aligning 3 divs [closed]

I'm good at some things but html/css layout isn't one of them. I need to lay out a page with two divs on the left, div1 (height 30%, width 30%) on top and div2 (height 7% and width 30%) below div1. ...
18
votes
10answers
8k views

Are HTML tables bad for SEO?

A lot of designers discourage the use of tables but I have a layout where I'll use more div structure to achieve something made simple with a table.. Are tables bad for search engines? edit: I will ...
3
votes
2answers
1k views

Apache2 virtual host localhost doesn't render CSS when offline because of absolute path

I'm running apache2 on a local server. I use no-ip.com to route DNS to that server through my cable modem. While disconnected from the web and working on localhost my web pages don't render the CSS ...