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
1answer
509 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
442 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
68 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
87 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
474 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
238 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
1k 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
31k 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
460 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
70 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 ...
21
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
232 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
5k 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
328 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
11k 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 ...
2
votes
2answers
244 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
325 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
338 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
770 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
22k 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
252 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
101 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
224 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
119 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
235 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
251 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.
39
votes
7answers
6k views

Why should we use tags like p, span, hx tags when we can use CSS instead?

Why should we use tags like p, span, hx tags when we can use CSS instead? Is it important from an SEO point of view?
-1
votes
1answer
120 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 ...
2
votes
4answers
416 views

Javascript slider with fade [closed]

I've been scouring the web for a slider that offers a particular effect, but I can't find one. I'm hoping that someone here will be able to help out... Specifically, I need a slider that will slide ...
2
votes
1answer
72 views

Need a study about average latency due to HTTP request and server processing time when downloading images that are a part of DOM

I'm writing a thesis about css sprites and need to know the of the average HTTP request overhead when establishing a connection to download an image file that is a part of DOM. We conducted a study ...
1
vote
2answers
312 views

Google Cache CSS and HTML files are out-of-sync

I am monitoring the cached version of the main page of one of my sites. I have noticed something strange. Obviously, the cached pages is displayed with the latest CSS file. Yet, the page content is ...
2
votes
0answers
58 views

Design scrollable table structure [closed]

I'm currently looking for a way to design a table structure with HTML and JS which should be Horizontally Scrollable (It has to be possible to dynamically add new columns) Tolerant to changing sizes ...
4
votes
2answers
3k views

Download CSS with all referenced files

Is there a tool that allows me to point to a CSS URL, and recursively download the CSS, as well as all the image and @import urls referenced within it? For example, if the CSS is at ...
1
vote
2answers
2k views

Slideshows in elastic or fluid layouts?

I'm building a new WordPress TwentyTen child theme using the ElastiCSS framework ( http://elasticss.com/ ) and am trying to figure out the best way of using some sort of dynamic content slideshow. ...