We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [css]

CSS, short for Cascading Style Sheets, is a language used to control the presentation (including colors, layout, and fonts) of HTML and XHTML documents.

Filter by
Sorted by
Tagged with
1
vote
2answers
291 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
102 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
2k 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 ...
5
votes
4answers
4k 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
861 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
194 views

div collapsing over repositioned element

I want a list of rows that have the following look to them: +------------------------#main-----------------------+ | | | ...
7
votes
4answers
413 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
118 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
2k 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
168 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 premade ...
4
votes
1answer
17k 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
339 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
24k 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 ...
13
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
1answer
6k 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 http://example....
12
votes
4answers
4k 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
850 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 ...
72
votes
7answers
27k 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
293 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
100 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
108 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). How do I ...
11
votes
7answers
449 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
646 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
8answers
3k 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
620 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
4k 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 ...
9
votes
8answers
328 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
654 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?
9
votes
2answers
241 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?
23
votes
10answers
2k 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?
16
votes
8answers
4k 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?
29
votes
5answers
6k 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 ...