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)

6
votes
2answers
98 views

Which media types is it worth including stylesheets for?

My website already has screen and print stylesheets, but there are several more. Are these still worth creating stylesheets for or are they no longer relevant?
0
votes
3answers
1k views

Multi column flyout menu [closed]

I want to build a horizontal menu bar with a multi column flyout of the hovered item. It should be done with html lists, css and javascript (if needed) only. There should be a max height of the flyout ...
4
votes
4answers
2k views

Why is the outer div border not dependent on the element's rendered content?

I have a problem I can't figure out. When I nest a div inside another div and I want to give the outer div a border, the border doesn't wrap around the rendered content. Even though the content of the ...
3
votes
1answer
707 views

What's the pro/cons of Adobe TypeKit API? Any best practices?

With all the Open Source fonts I have available, and I can download them via the CSS font directive, what's the benefit of the TypeKit API? Are there drawbacks of this? How does it work technically? ...
3
votes
3answers
153 views

div collapsing over repositioned element

I want a list of rows that have the following look to them: +------------------------#main-----------------------+ | | | ...
7
votes
4answers
360 views

Who Is Against CSS and JS?

I know there is a group which promotes very basic HTML. They advocate against CSS and JavaScript. Does anyone know the name of this group? Just to be clear this was a website, or a foundation, or a ...
2
votes
3answers
108 views

Is it possible to make all html links to share the same title?

The thing is I have a table containing ~2000 rows where each row contain a link that has the same title e.g. <a id="1" title="A very long string common to all my links that i would like to have ...
3
votes
2answers
1k views

How to overcome eBay CSS limits for auctions' pages?

On eBay you can code the content of a <div> on the auction's page. The problem is that you can't edit the <head> content. I tried using inside the <div> something like this: ...
6
votes
3answers
158 views

Are there any pre-fab CSS Sprites and styles I can apply to my page?

I'm more of a computer programmer than a designer and I need some sample CSS images that includes images for: TabControl Close Button for TabControl Folder Open/Close Buttons etc... Does any ...
3
votes
1answer
7k views

Making a div wrap around the content

I have a div but it fits to the borders of the container instead of wrapping around the text. I tried float:left but it will push it to the side and there's no way to make it go to the center. Help? ...
4
votes
1answer
251 views

Combining CSS files with regards to @media

We have a website where the usual speed ups from High Performance Websites and Even Faster Web Sites paid dividends. However we have neglected stylesheets (due to the difficulties laid out below) and ...
12
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 ...
10
votes
6answers
1k views

How can I encourage the browser to download images from CSS file faster?

I use CSS to place a lot of my images (as backgrounds for <div>) and I often find that they load very slowly this way. They seem to be the last thing to load. Even small little icon images ...
4
votes
2answers
2k 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 ...
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 ...
4
votes
8answers
432 views

Good CSS Books/Resource

I used to play around with CSS and 5 years later here I am. I don't have a clue of what CSS means now-a-days. I was wondering if you guys knows what the best resources and books are to learn CSS. I ...
1
vote
0answers
564 views

round corner in IE 8 - made by a mistake [closed]

Recently I wanted to make an overlay on an existing page. Of course on all browsers works fine.. except IE. Although it made an interesting effect - one round corner - this can be seen at ...
52
votes
5answers
12k views

How bad is it to use display: none in CSS?

I've heard many times that it's bad to use display: none for SEO reasons, as it could be an attempt to push in irrelevant popular keywords. A few questions: Is that still received wisdom? Does it ...
4
votes
1answer
270 views

What is the correct way to code incoming links for SEO?

Our site is giving out 'badges' to our authors. They can post these on their personal blogs and they will serve as incoming links to our site. We want to give out the best possible code for SEO ...
2
votes
1answer
95 views

Guidelines for Opera Mobile

Opera Mobile fails to render two sites I help out with correctly and I cannot find the guidelines for Opera Mobile. All other browsers tested (even Opera for the Wii) show these sites correctly. ...
0
votes
1answer
96 views

How do I create styles for IE7 (and below)? [duplicate]

Possible Duplicate: What are the best ways to implement cross browser css? I have a site that looks more or less the same in all browsers except Internet Explorer (version 7 and below). ...
10
votes
7answers
327 views

As a non-designer what are some good sites/books/tutorials for learning web design?

My graphics skills are seriously lacking. I can see when something looks nice and when it doesn't but have a hard time coming up with anything myself given a blank slate. What should I do?
3
votes
7answers
498 views

What are the best ways to implement cross browser css? [closed]

What are the best ways to implement cross browser css? Rule: one approach for an answer.
14
votes
7answers
2k views

What should I use to automatically combine css/js files?

I'm aware of sprockets for combining javascript files, but haven't tried it. What are some other options and how do they stack up?
11
votes
1answer
556 views

How to make a printer-friendly version of a webpage?

What solutions or techniques exist for offering users a printer-friendly versions of a webpage?
11
votes
4answers
2k views

Should I combine js/css files into a single file?

Both YSlow and Google's Page Speed add-ons recommend combining script (and style) files into a single file each to reduce the number of HTTP requests, and I can certainly see the point of this when ...
8
votes
8answers
252 views

CSS reduction for faster loading / less bandwidth

Is compacting CSS / Removing unused rules for a specific page worthwhile in terms of bandwidth or can we rely on caching (headers/last-modified) to remove this overhead in the wild? Cheers Also, ...
8
votes
9answers
426 views

How do I compress my JavaScript and/or CSS?

I know that there are ways to dynamically load it into the page, but if I want to compress my code so it loads even faster, how do I do it?
8
votes
2answers
184 views

What are the basic things to do in order to make a web site iPhone-friendly or more mobile-accessible?

What are the basic things to do in order to make a web site iPhone-friendly or more mobile-accessible in general?
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?
14
votes
8answers
3k views

Should I use HTML5 and/or CSS3 to build my website?

The new HTML5/CSS3 (Web8!) stuff sounds cool! Should I start using it now or stick with css/xhtml wait until more browsers can use it?
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 ...