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

5
votes
2answers
532 views

When should I start the server side coding?

I am creating a website, where users can upload their own videos. So far I am just building the main structure with HTML and CSS. Is it a better practice to write server-side code before the site ...
1
vote
3answers
141 views

Can the user not manipulate html elements which are disabled for non-permitted user

With todays browser extensions/tools is it not easily possible for a user to edit the html/css settings of a website and so enable some disabled buttons etc... to gain access to not permitted areas?
43
votes
7answers
47k views

How can I evaluate a candidate's knowledge of Html/CSS during an interview? [closed]

I am trying to determine some good interview questions to assess the ability of people coming in for a Html/CSS job, however that topic is extremely broad, and I'm not sure what sort of questions I ...
22
votes
1answer
3k views

The Box Model: Internet Explorer vs. W3C

Today, the Internet Explorer Box Model problem is mostly a non-issue. Most web developers place a <!DOCTYPE> tag to enforce standards compliance, and nobody really cares about supporting ...
0
votes
1answer
541 views

HTML/CSS in Other Spoken languages? [duplicate]

Possible Duplicate: Do people in non-English-speaking countries code in English? Do developers who don't natively speak English still code using english property and tag names? Like, would a ...
5
votes
3answers
1k views

What Technology can Render Medium Scale 3d Environments in a Web-Browser [closed]

I intend to make a web application that displays 3d environments that can be navigated by dragging(with a finger or mouse depending on the platform). The web app will render 3d environments of ...
3
votes
3answers
4k views

How do I prevent useless content load on the page in responsive design?

In responsive design, elements are hidden in the page with @media queries and display: none in CSS. Ok. In my design however browsers that have less than 800px in width should avoid loading some ...
26
votes
7answers
19k views

Practical considerations for HTML / CSS naming conventions (syntax) [closed]

Question: what are the practical considerations for the syntax in class and id values? Note that I'm not asking about the semantics, i.e. the actual words that are being used, as for example ...
4
votes
1answer
1k views

Build tools for php, html, css, js web app development

What are some recommendations for a build tool that would allow me to upload changes to a web server or a repository and minify the js and css automatically, and possibly even run Closure compiler on ...
3
votes
1answer
205 views

confusion understanding the fluid 2 column navigation layout

I'm trying to understand the following cross-browser layout: http://matthewjamestaylor.com/blog/perfect-2-column-left-menu.htm but I'm having some confusion with some of its parts and there isn't ...
31
votes
7answers
6k views

Referencing external javascript vs. hosting my own copy

Say I have a web app that uses jQuery. Is it better practice to host the necessary javascript files on my own servers along with my website files, or to reference them on jQuery's CDN (example: http:/...
8
votes
3answers
339 views

Is there a drawback in defining multiple small DRY classes, instead of bigger more repetitive classes? [duplicate]

I read some articles and it seems that using multiple classes in CSS is encouraged. I am curious to find out if there is a maximum number of classes an element can have before this multiple class ...
5
votes
3answers
2k views

Is it a bad practice to use inline styling with generated code?

If I'm using a technology like Grails. It's really easy to wind up with inline styling. Are there any downsides to auto-generating code with inline styling? Is this considered bad practice? Why?
3
votes
5answers
403 views

How would you architect an application which is largely a collection of flowcharts?

I am working with a history teacher on a history app. He has like 200 flowcharts that he wants to put into the app (among other things). The two likeliest-looking ways to do it: HTML/CSS. The big ...
9
votes
3answers
3k views

Is CSS resizing of images still a bad idea?

It's always been looked at that using width/height attributes on images which aren't what the original image actual is is a bad idea. It could mean pixalated images or download sizes bigger than ...
0
votes
1answer
853 views

Use Theme/Skin or CSS in Asp.Net

I am working on a website which is using Skin templates everywhere in the page. Because of this all the controls, even labels, are server controls. I was wondering if it is worth changing at least ...
2
votes
2answers
8k views

Percent or Pixels HTML/CSS

Coding a new website. Basically, for position elements using CSS I would use percents and figured that was the best thing to do since everyone's monitor was a different size. But I noticed a lot of ...
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
936 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 ...
6
votes
4answers
46k 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
897 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. ...
1
vote
2answers
228 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
4k 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 ...
10
votes
5answers
5k 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 web-framework—...
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
275 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
96 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
196 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 ...
5
votes
2answers
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
714 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
464 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. ...
14
votes
8answers
10k 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
679 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
356 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
469 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
253 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
330 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
208 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
331 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?
7
votes
7answers
547 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
249 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
7answers
2k views

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

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
5k 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
285 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 ...