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
166 views

Is there a way to limit the horizational flex of a fluid CSS layout?

Example: Currently it does this: <--> Want it to do this: <--|-|--> Meaning the core never gets smaller than say 900px, but the core stretches on forever if it's bigger than 900px. Note, ...
10
votes
6answers
3k views

What's the best way to show a message for only IE 6 and IE 7?

What's the best way to show a text message for only IE 6 and IE 7 ? Should I add a html tag to my webpages and normally hide it with css for all browsers except the above mentioned ? And when I use ...
7
votes
3answers
715 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 ...
1
vote
2answers
363 views

styling one list item

I have four li's and I want to style the 4th li not to have the background image. How do I accomplish this without having to insert a spam tag? #get-help ul.help-menu li { color: #656565; ...
1
vote
1answer
95 views

Any CSS resources for printing?

Is there any resource like http://www.csszengarden.com/ for Print stylesheets? I'd like to write some CSS formatted text on a printed media (internal business documentation) with an elegant style, ...
8
votes
4answers
2k views

Is there anything wrong with targeting the alt attribute in css?

I tried targeting the the alt attribute in css. My solution worked in Firefox/Mozilla, but fails in Safari-Chrome/Webkit. Is there anything wrong with styling an alt tag? If not, how do you suppose I ...
4
votes
2answers
1k views

Embedding a Disqus forum on my website: showing scrollable area instead of expanding the height

I hope I put this question as it should, I am not an expert in html/css/javascript, so forgive me if it's not very clear. The issue is as follows. I made my first website last week for the birth of ...
2
votes
1answer
230 views

I'm having trouble with accessing my site's admin panel and CSS appears to be broken [closed]

I'm currently writing for Crafthub.net, and since yesterday, whenever I try to access the admin control panel (http://crafthub.net/wp-admin/), it gives me a 404. ...
2
votes
1answer
485 views

What are examples of high-volume websites with fixed, proportional, fluid, and hybrid layouts?

For example, Amazon.com I believe would be an example of a hybrid-fluid-fixed. Really have no idea what an example of a purely proportional layout would be. Types of Webpage Layouts are, per ...
4
votes
2answers
2k views

Does Google cache stylesheets?

Hey guys, we all know that Google caches the HTML of pages, but does it cache the corresponding CSS as well? I ask because a site I used to have and have since closed down is still in the cache and ...
1
vote
2answers
127 views

Web page element width

i saw this on a website, and looked a bit through the css, but coudn't quite find what I am looking for. How to make a html element let's say a <div> with width of eg. 3000px but make so that ...
10
votes
4answers
10k views

How do you save/export changes made in Firebug?

Using Firebug to edit CSS, how do I save/export changes made to the CSS? TOOLS: Firefox, Firebug MAJOR UPDATE: If you know of a way to lock the forward/back/refresh on a FireFox tab, please let me ...
3
votes
4answers
988 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 ...
2
votes
2answers
461 views

Does Google host all the jQuery UI themes?

I have seen the base theme http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.3/themes/base/jquery-ui.css Are the other themes found in the gallery also hosted (Darkness, Smoothness, etc.)? If so, ...
11
votes
8answers
3k views

CSS style viewer/tester

Is there a site out there that has a bunch of typical html for seeing what the css looks like once applied? I mean, something full of table, a, div, span, p, whatever. You go there, paste in your ...
0
votes
2answers
87 views

CSS float issue?

Hey all,     I'm having some trouble getting a float right on my website. I'm floating an image over to the right, and the text on the left wraps around the image... as long as the ...
2
votes
1answer
288 views

Fixed background images not displaying correctly on any web browser

http://i.stack.imgur.com/z8yEP.png <- screenshot for this question (not enough reputation) I am using fixed position images as seen at css-tricks.com/examples/BlurryBackgroundEffect/ to create a ...
2
votes
2answers
1k views

Top and bottom gradient using CSS

I have a background that has a top and bottom gradient and I want it to show on a container layer. The problem is the bottom gradient since it has to appear at the very end of the container div. Any ...
10
votes
2answers
354 views

Communicating image size, best practice

If you are developing a html document strictly using current best practice of keeping styling out of the markup how do you best communicate image sizing? Past best practice wants image height and ...
2
votes
1answer
132 views

How can I get this effect (lines in an input)?

How can I get this effect (lines in an input)?
2
votes
4answers
2k views

Broken jQuery/CSS in Firefox - ColorBox and reCAPTCHA

I am working on what would appear to be a basic contact form. I am using the ColorBox plugin for jQuery to build a form with an image link, which then opens a ColorBox containing the reCAPTCHA form ...
3
votes
2answers
189 views

How do I make a sprite full of different images (hover, non-hover, etc)?

I understand there are tools on the net to make a sprite, but I'd like to learn how to create icons for the different states of the icon. Is there an easy way to make all these different variations ...
1
vote
2answers
284 views

Options for adjusting paragraphs?

On my company's website, we have a page (here) that I have been asked to adjust. What is desired is to take the first paragraph and adjust it to trim down the amount of space between words. My first ...
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
729 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
156 views

div collapsing over repositioned element

I want a list of rows that have the following look to them: +------------------------#main-----------------------+ | | | ...
7
votes
4answers
362 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
111 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
160 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? ...
5
votes
1answer
263 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 ...
14
votes
4answers
13k 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 ...
11
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
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 ...
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
481 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
607 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 ...
54
votes
5answers
13k 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
273 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
98 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. ...
1
vote
1answer
100 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
339 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?
4
votes
7answers
511 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
571 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
3k 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
258 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, ...