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)

16
votes
4answers
7k views

How can I find unused/unapplied CSS rules in a stylesheet?

I've got a huge CSS file and an HTML file. I'd like to find out which rules are not used while displaying a HTML file. Are there tools for this? The CSS file has evolved over few years and from what ...
1
vote
2answers
247 views

black background & white letters or white background & black letters?

What is better for user? The site has a lot of text to read and I would like to make it as user friendly as possible.
3
votes
5answers
325 views

Should a Computer Scientist do the HML + CSS job when building a website?

I'm studying Computer Science, and I've always been more interested in programming than in designing and creating the layout of some websites. Is this something I should know? Or should I focus on ...
3
votes
1answer
163 views

Math to create web design grids?

I have my own grid layout, and I am creating multiple column designs for a website. Is there any formula I can follow to create different column designs with identical gutter space, ie. margins? Most ...
4
votes
7answers
2k views

HTML/CSS website hosting [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? I would like to host my HTML/CSS website (actually, just one page, but it may grow). Since I don't need PHP, MySQL or ...
0
votes
1answer
965 views

Really simple FOSS CSS for a report?

I'm creating a web-based report. It will be a single column, no menu. Just titles, graphs, tables. Maybe a header and a footer. I've scoured the internet for a free, open source (or just 'free') CSS ...
1
vote
2answers
855 views

Embedded fonts with polish characters

There are many font banks out there. But where I can fonts with polish characters ?
1
vote
1answer
285 views

Mobile Web Site Templates

Is there any web site that you can recommend in which I can find premium (beautiful looking and professional) web site designs(themes) specific for mobile web sites? (paid or free)
3
votes
1answer
113 views

Fonts: Is changing the default font a good practice?

I've searched PW, but I saw that no one has asked specifically yet. Is changing the default font a good practice for the main body font? What are the pros and cons to using different fonts? This ...
2
votes
1answer
74 views

Should I work on CSS or apps first?

I am working on my own website for my business, and I need to contract out some assistance. For example, I have the site looking pretty good on Firefox, but it needs help on other browsers. I also ...
2
votes
2answers
70 views

Which web design site discussed embedding single characters like & using base64?

I'm looking for a well known article site on site design which made an article about embedding just a single character (in this case, '&') from a font to save load times. I believe the site used ...
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?
1
vote
0answers
174 views

Centring an HTML element relative to its parent when its width is greater than its parent [closed]

I mocked up my intended outcome. So the blue element is the main content of the website and the yellow element represents something like a diagram or an image that has a greater width than the blue ...
0
votes
4answers
6k views

CSS only rounded corners in IE8? [closed]

Is it possible to get rounded corners in IE8 using only CSS? If so, how?
0
votes
2answers
45 views

How do I replicate this effect?

How does the BBC News website create the changing colour effect you get if you roll over their most popular stories on this webpage http://www.bbc.co.uk/news/uk-12336381 (see bottom right)
0
votes
2answers
8k views

<a> link color CSS not working for Chrome/Firefox/IE/Safari etc [closed]

Here is my site: http://dosrevival.com I can't seem to get the links to stop turning purple after being clicked in Chrome and IE (works in some Firefox versions?!?). In my CSS file I'm changing the ...
0
votes
1answer
3k views

Turn off opacity [closed]

I got the following layout: body -> wrapper -> container Body has a background image, wrapper got this css: #wrapper { padding: 40px; width: 768px; background: #ffffff; opacity: ...
1
vote
4answers
2k views

Why do characters display funny in <input type=“password”>?

I have the following HTML and css <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> #test { font-family:helvetica; color:#000; font-size:10px; } ...
1
vote
0answers
89 views

Problem with getting footer down [closed]

I used the method described in this article to get my footer down. Worked beautifully, except it floats ~3 pixels above the bottom of the page: http://nclabs.org/screenshots/1295742373.png How can I ...
1
vote
1answer
368 views

cannot horizontally center fixed width div in IE [closed]

I am creating a template for a website. The example is at Framework Login Page The main CSS sheet is at: master.css I am trying to center the main parent div. I am using #body { width: 100%; ...
0
votes
1answer
768 views

How to make textarea look like notebook? [closed]

I want the user to feel like they are writing on notebook paper while inputting into a textarea. How may I do this?
0
votes
1answer
141 views

PSD to CSS Service

Does any one here recommend online services where I can have my PSD (or other image format) design sent and they give me the HTML+CSS of it? I saw a few of those on the internet, but I am looking for ...
4
votes
3answers
181 views

Should layout be solely based on CSS?

Is it a good sign if your website looks like a plaintext file with hyperlinks when the stylesheet is disabled?
6
votes
2answers
2k views

How to support tableless columns with WYSIWYG editor?

On the front page of a site I'm working on there's a small slideshow. It's not for pictures in particular, any content can go in, and I'm currently setting up the editing interface for the client. I'd ...
0
votes
3answers
1k views

ie7 killing list-style on floated ul's

I have two ul's (.listone and .listtwo respectfully) floated left and the other right. The list-style:circle; works in every browser except for ie7 =< . In ie7 the list-style is just ignored. How ...
4
votes
3answers
465 views

html/css vs CMS

I am currently a CS student and an aspiring programmer/web developer. I am wondering whether it is worth taking the time to master html and css to make websites when these CMS services/wysiwyg editors ...
0
votes
3answers
410 views

What are average advertising banner widths?

Many websites have advertising, do people know what the general/average/standard width of advertising areas and banner widths are? Thanks in advance
0
votes
1answer
420 views

background css help [duplicate]

Possible Duplicate: image behind adsense i have a google ad, where i want to place an image, i tired the css, but the image is not coming properly, my google ad size is height=280, ...
0
votes
1answer
321 views

Make content area appear on the right of the menu_bar [closed]

This is my css code, i would like to make the content_area come to the right of the menu_bar, at the moment it comes at the bottom of the menu_bar body{ color:#000000; font-family: arial, ...
0
votes
0answers
109 views

Make the content area div come next the menu bar [duplicate]

Possible Duplicate: Make content area appear on the right of the menu_bar The following is the code i have written, this is the CSS part of it body{ color:#000000; font-family: arial, san ...
0
votes
1answer
809 views

How can i style a link and a submit button the same way [closed]

I'm currently in css form hell on my website. I'd like to skin the submit button and the cancel link so they look the same. I tried to use two buttons to make it easier but since their behavior is ...
0
votes
1answer
705 views

How to Conditionally Load @Font-Faces via CSS3? [closed]

Curerntly, when you use a beautiful font, like for example the multiligual Calibri fotn (a win7 font), then it even downloads eventhough a user has the font already installed, when i use the following ...
1
vote
5answers
223 views

What do you think is a possessional looking font for a web application

I am creating a website / web application where companies can do there accounting. It is sort of a alternative to the regular desktop accounting program. I want the application to have a look and ...
1
vote
2answers
166 views

Can't center a ul with css [closed]

Guys I'm trying to center this simple ul here. Any idea on whats wrong ? Css: ul { margin-left: auto; margin-right: auto; } li { display: inline; background-color: gray; color: ...
2
votes
3answers
151 views

Recommend me a CSS/JS compressor

There are scripts to compress CSS on-demand like these. Have you stumbled upon something similar for javascripts? Also, any recommendations regarding CSS and JS compression are more than welcome. ...
2
votes
1answer
115 views

Using @import in CSS files

OK, I get it, CSS files should be grouped to reduce HTTP requests. My question is whether the @import method does a good work? Also, can I somehow group print and screen stylesheets?
2
votes
4answers
286 views

SEO HTML for plain html css website

This isn't really a programming question, but I couldn't think of a place where people can better answer my question then here. I allways had a joomla website, for me it's good, but it's not very ...
2
votes
1answer
928 views

IE color: transparent; question

I'm working on a project where I have to override both embedded styles and primary style sheets in order to change a design. I've got everything working in all the main browsers/versions except for a ...
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?
1
vote
3answers
260 views

Are there any cross-operating-system, cross-browser bugs of which web-programmers should be aware?

Perhaps this belongs on superuser, but I'll try here on stackoverflow first I develop on Ubuntu and was wondering if it's safe to assume that my site will look the same in, say, Chrome, when viewed ...
9
votes
5answers
205 views

What new cross-browser features can we use if we drop support for IE6?

My company is dropping support of IE6 and I just realize that we can use a set of great features. Is there a list of CSS, Javascript features which we can use with IE6 RIP?
3
votes
2answers
674 views

tabs and seo issue

my customers are eager in showing news categorized in tabs and i recently developed it for them. as my experience in web designing display:none is used widely in implementing tabs. and as i know it is ...
2
votes
2answers
192 views

How to use CSS to get 5 buttons aligned like this [closed]

I'm struggling to get a design like I put in this image in CSS. I'm using wordpress, and my theme just adds a full image to the top, I would like to make the most of space. ...
4
votes
2answers
245 views

Need a CSS framework that has variables and “mixins”

I was using Less CSS but it creates too much duplication. Each HTML page I have includes 3 different stylesheets; two are common to all the pages (IE-support and 960 grid system) and the third ...
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 ...
1
vote
1answer
160 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, ...
3
votes
3answers
128 views

Could link decoration be considered deceptive?

A discussion in the warrior-forum made me wonder if google might perceive link decoration as an attempt to deceive the visitors.. The issue being if you style your links to show like normal text. ...
1
vote
2answers
327 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
94 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 ...