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
3answers
566 views

How to get an image 100% in the middle of every single screen in the world

I have a website with some images, and I want them to be in the middle, now on my screen they are in the middle. Because I've put them there by moving them to one side, when I get my friends to look ...
1
vote
1answer
107 views

The Joomla 'create a template' tutorial

I've recently downloaded Joomla using an instant download option, and now I'm looking to create my own templates. I went to http://www.siteground.com/tutorials/joomla15/joomla_create_template.htm and ...
0
votes
2answers
80 views

Trouble with my website and IE7

Sorry I'm new here but I have a serious problem: I changed the CSS style sheet for IE7 for my site, but now when using IE7 it has no graphics and all of the scripts code is printed. I have tried ...
3
votes
4answers
982 views

Using CSS sprites and hidden text - effect on SEO?

I am using CSS sprites for buttons on my website, They are used for stop/play/download etc. If I'm using for example an <i class="preview">preview "track name"</i> play button with the ...
3
votes
2answers
181 views

is it a good seo practice to put relative keywords in a hidden div? [duplicate]

Possible Duplicate: hidden texts and page rank I was wondering what would happen if we put some (around 25) relative keywords in the page using a hidden div so that the actual user does not ...
1
vote
1answer
177 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
2k 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
643 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
250 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
697 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
80 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
710 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
555 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
473 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
72 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
89 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
6k 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
523 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
264 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 ...
16
votes
4answers
34k 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
462 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
73 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
50 views

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

Where can I find complete free HTML+CSS layouts to choose from?
1
vote
3answers
312 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
410 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
273 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
355 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
344 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
871 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
92 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
278 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
72 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
40 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
105 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
256 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
124 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
249 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 ...