Cascading Style Sheets (CSS) is a language for specifying the layout and presentation in general of markup such as HTML and XML.

learn more… | top users | synonyms

11
votes
6answers
2k views

How can I write HTML, CSS, and JavaScript to make back-end developers work easier?

When I get a design from a designer, I get it as a PSD (Photoshop) file. I always expect proper layer and folder names, basically a clean and managed PSD. From this desigbn I develop HTML, CSS and ...
2
votes
1answer
759 views

How can I simulate clicks for a mobile browser?

I am creating a web app. I was testing it on a mobile browser and noticed that :active pseudo class doesn't really work. How should I simulate clicks for a mobile browser? I'm specifically interested ...
2
votes
4answers
2k views

Easiest way to create static HTML file with sortable and filterable table?

I want to create a static HTML file I can email to someone with a lot of data, and have that data sortable and filterable. What is the easiest to use library or package I can use to get this off the ...
5
votes
2answers
590 views

Best way to convincingly evangelize front end best practices to colleagues?

I've had experiences in the past working with (traditionally back-end) developers, whose occasionally cross into the front end realm. The resulting code would typically involve: global namespace ...
5
votes
4answers
34k views

Is CSS a programming language? [duplicate]

Possible Duplicate: Why does it matter that HTML and CSS are not programming languages? As I understand a programming language is something that can be used to solve a problem/perform an ...
4
votes
2answers
1k views

Are there any frameworks available for drawing with CSS?

I realize this sounds silly. Let me explain: I just came across this page about using CSS elements to create shapes- square, circle, triangle, star, yin-yang (yin-yang!), etc. using pseudo elements. ...
8
votes
3answers
863 views

How to properly validate your code?

I have about 4000 lines of code for a web-application in JavaScript / PHP / CSS / HTML. How can I test it properly? I only support the latest version of IE and Safari. I've worked out all the bugs. ...
0
votes
2answers
211 views

JavaScript (jQuery) And CSS Styling

Lets say I am building a jQuery plugin that has a number of non-configurable css attributes it needs to apply to DOM elements the plugin itself creates. Is it consider better practice to apply the ...
2
votes
2answers
3k views

When should I use a CSS class over inline styling?

I have some hidden divs that I show via JavaScript when a button is clicked. Right now, I'm hiding them with by using inline styling (i.e. style="display:none;"). This works, but are there general ...
9
votes
5answers
4k views

When a task can be accomplished by either Javascript or CSS, is it better to use CSS? [closed]

I always veto JavaScript by using CSS as much as possible. i.e. I create tabs and rollover buttons using CSS rather than JavaScript. I have seen some solutions—specifically the Wt ...
6
votes
2answers
2k views

Dynamically generating HTML and CSS [closed]

I find writing CSS by hand to be extremely tedious. Coming across a concept such as fluid, makes me want to write all my websites so that the CSS resizes nicely and looks the same in different ...
1
vote
4answers
263 views

Is it a bad idea to stray from CSS selector syntax in a JavaScript selector engine?

I'm designing a JavaScript selector engine, and I'm currently focused on parsing the selector string. Specifically, combinators. The CSS3 combinators I know of are: > (children) space ...
0
votes
1answer
93 views

Branding websites aimed for mobile devices [closed]

I'm currently working on a website which is also supposed to be mobile optimized. My client has provided me with a layout of how the mobile version of how the website should look like. Making their ...
1
vote
3answers
189 views

How to get a programmer to apply nice design touches? [closed]

We have a small webdesign firm, and count with one designer. We can currently not afford too much expansion in the design area, so that means that the designer creates the main design of a website ...
2
votes
1answer
3k views

CSS and HTML inconsistent when declaring multiple classes

I'm learning CSS "seriously" for the first time, but I've found that the way you deal with multiple CSS classes in CSS and HTML quite inconsistent. For example, I learned that if I want to declare ...
1
vote
2answers
176 views

Does slicing a design in PS create horrible CSS?

I am a beginning programmer and I really want to have good habits and practices. I have yet to slice up a PSD and code it. Is this a bad practice? I have heard it creates bad code that had to be ...
4
votes
3answers
2k views

Is using Javascript/JQuery for layout and style bad practice?

Many, but not all, HTML layout problems can be solved with CSS alone. For those that can't, JQuery (on document load) has become very popular.* As a result of its ease, many developers are quick to ...
1
vote
3answers
662 views

Guidance for a C# developer to become better UI developer

I am a C# developer and had developed simple websites in regular asp.net(with asp.net controls) and a wpf application. Nowadays, I am trying to learn Asp.net MVC3 and I have been exposed to HTML ...
2
votes
1answer
391 views

Where can I learn the most up-to-date standard for HTML and CSS?

I'm looking to learn updated HTML/CSS in preparation for HTML5. Since I am new to this it's hard for me to know which websites are teaching old HTML coding styles and which are teaching the good one. ...
13
votes
8answers
8k views

Why don't we use dynamic (server-side generated) CSS?

As server-side generated HTML is trivial (and it was the only way to make dynamic webpages before AJAX), server-side generated CSS is not. Actually, I've never seen it. There are CSS compilers, but ...
0
votes
2answers
445 views

How do I validate the html/css and JS code outsourced to an external company.

We have outsourced the html and css design to an external company. We want to make sure the quality of code is good. What benchmarks can we set to achieve this.
7
votes
4answers
2k views

Is it a good idea to use something like the Twitter Bootstrap in production?

I'm interning at a new startup, and I've been tasked with designing the front-end of the site. I really, really want to use the new Twitter Bootstrap (http://twitter.github.com/bootstrap/). It's all ...
4
votes
3answers
318 views

Is it possible to combine XPath and CSS selectors?

Just came through XPath. I got curious about this. Why is there a different way to select tags in XPath and CSS(selectors). Why cant there be a common way in both XPath and CSS?
3
votes
1answer
410 views

Specifically for JS, CSS, HTML: what is the difference between optimization, compression, minification, tidying, concatenation?

When we talk about source code and the file which contains the code like CSS, HTML, JavaScript and we also talk about performance of a web site or application, what is the differences between these ...
0
votes
2answers
237 views

Reference website for CSS 3 properties (like box-reflect)

Today, I started reading the book CSS Mastery 2nd edition. It is really a good book for anyone who is interested in learning some techniques. On page 151, I discovered the box-reflect property from ...
3
votes
4answers
2k views

Can you write a (dynamic) website using only XHTML and CSS?

I am more of a desktop developer that a web developer. Therefore I only know XHTML and CSS when it comes to the web (and C#, if that is in any way useful). I have a little experience with ASP.NET with ...
1
vote
3answers
2k views

Is it a good idea to use width and height properties with the < td > tag?

I am new to HTML and Im working on a self made project and I have to use < table > and < fieldset > tags in my html files. I need to set the width and height properties to the tables like ...
9
votes
3answers
326 views

What is the reason to put prefixes in new CSS features?

Is there a valid reason for the browsers to prefix new CSS features, instead of letting the webmasters use the non-prefixed version? For example, a sample code for the background gradient looks like: ...
6
votes
3answers
195 views

CSS remote contract

I am signing a contract with someone remote in another country in regards with creating a new style sheet for their website. In our agreement the client pays 1/3 of the money first as deposit and the ...
2
votes
1answer
329 views

How does css3 hardware acceleration work?

Can anyone tell me how some css3 code (transitions/transformations) get hardware accelerated? In other words, what actually happens when the browser sees css3, what is the pipeline/process involved?
6
votes
7answers
520 views

How to organise Website CSS [closed]

I understand the concept of CSS. But on many projects I've found that I tend to lose myself and end up with a millions CSS files for a millions different pages! I realise that the point of CSS is ...
3
votes
4answers
244 views

Should I rely on Visual Studio in adding HTML and CSS?

I am wondering if I should rely on Visual Studio in adding HTML and CSS elments by using the viusal toolbars or should I write them by myself? Is it considered bad practice if I relied on Visual ...
3
votes
5answers
2k views

HTML 4, XHTML and CSS 2 - How long until these are obsolete?

I got into the game of programming, exactly a year ago. Now i am posing as an HTML, CSS and Javascript Guru. html5 and css3 are the new things out there but in my opinion they are still experimental, ...
14
votes
9answers
4k views

How much HTML and CSS should server side developer know? [closed]

I have done C and C++ and now I want to start my career as a web-developer. I read a lot about web-development and came to know that there were two types of developers on the web, 1. Client Side ...
3
votes
1answer
281 views

Is it standards-compliant to style the <html> node?

I am working on a website theme. I want to use a repeating background on the <html> node so I can have another background overlapping it on the <body> node. Otherwise, I would add the ...
3
votes
1answer
911 views

html/css/js best practices [duplicate]

Possible Duplicate: What should a developer know before building a public web site? Are there any books or resources on html/css/js and web design best practices? There are plenty books ...
3
votes
4answers
1k views

Guidelines for HTML/CSS/JS optimization process

Currently we have a Development server on which we write the HTML/CSS/JS code. We do not optimize our code using compressors/minifiers. So our deployment process from Development to Production is ...
17
votes
7answers
5k views

Why aren't HTML, CSS, and JavaScript used for desktop apps? [closed]

HTML, CSS, and JavaScript can be used to build beautiful (and useful) UI's (especially now we have HTML5 and CSS3), and lots of people already know them. Though it's still way beyond my reach, how ...
3
votes
1answer
221 views

Peer review for UI Development

I am the only front-end developer in a team composed for 3 .Net devs, 1 QA and 1 PM. Although we have another team from another office halfway around the world, to whom would i do code review with? ...
0
votes
3answers
344 views

Microsoft Visual Web Developer 2008 Express? [closed]

I just came across this while searching on Google for HTML/CSS tutorials. Does anyone recommend this software for building websites? Or should I just stick to learning pencil and paper hand coding ...
1
vote
2answers
212 views

Can this type of page be made client-side?

I'm planning on making a website that will have mainly articles and videos. I'm going to post the videos on YouTube and use the YouTube API on my site. What I am wondering, is if I can make a page ...
1
vote
2answers
159 views

Can you reference one data value by a name throughout a stylesheet?

For example, I'm changing color pallettes throughout a site i'm coding and would love it if i could reference that color somehow instead of replacing the hex value for every item. I know the following ...
7
votes
9answers
449 views

These days is it required to test a desktop website for IE6 and IE7? Or is IE8 and IE9 enough?

These days is it required to test a desktop website for IE6 and IE7? Or is IE8 and IE9 enough? I heard that IE8 has replaced IE7.
5
votes
2answers
441 views

CSS in a CMS - Pros/Cons [closed]

I am a regular user of Wordpress and whenever I feel the need to change the look of a DOM element, I prefer to use it inline. This is just because I don't want go back to the stylesheet and create new ...
4
votes
6answers
2k views

Can CSS be considered a DSL?

According to Wikipedia, CSS is a style sheet language. However, it's pretty much the only such type of language in use (at least from a web developer's perspective). When trying to categorize CSS as ...
7
votes
4answers
2k views

What are the best practices for rapid prototyping using exclusively HTML/CSS/JS [closed]

I'm developing a prototype of a web application. I want to only use HTML, CSS and Javascript. I prefer to use my text editor and not having to learn (or pay, for that matter) a new tool like Axure. ...
6
votes
7answers
792 views

What should someone learn to become a great web-app builder by 2015 [closed]

My brother just started learning some html/css at school and he loves it. He asked me to give my advice on what languages to learn in order to build great web-apps by the time he leaves school. (2015 ...
5
votes
12answers
2k views

Feeling well out of my depth [closed]

I have just started a new job as a front end web developer, this is my second day and I have just been handed quite a big project that involves lots of javascript which I dont know, this is leaving me ...
9
votes
6answers
3k views

Code review guidelines for CSS, JS and HTML

I have been asked to create guidelines for review CSS, JS and HTML. I know there are coding guidelines for JS but I don't know any about HTML and CSS. To review JS I will certainly follow those ...
2
votes
4answers
105 views

Function before design, or a little of both?

When creating data-driven web pages, do you generally work on: A) functionality first B) presentation first? C) both at the same time I'm learning how to build css sites and wasn't sure of the ...