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

learn more… | top users | synonyms

8
votes
6answers
591 views

Please review my HTML/CSS website!

I just started learning CSS/HTML a week ago and made a quick site today. It looks pretty good but I think I reused/wrote really messy CSS. This is because I haven't the "float" property really right ...
8
votes
4answers
843 views

Any tips on making this JS better?

Working on a personal project to keep different snippets/examples/small projects of mine organized. I want to make the most of my page width, so I decided to write a navigation menu that slides out. ...
8
votes
2answers
220 views

CSS Optimization? How can I clean my code

My CSS feels dirty and I have no idea how to improve it. Suggestions are greatly appreciated! html, body { border:0; margin:0; padding:0; } body { font: normal 12px helvetica,sans-serif; } .header ...
5
votes
3answers
180 views

Setting bgcolor in Ruby. What's the proper way to do it?

<p style="background-color:#<%= debate.bg_color %>;" > be_color is a method of Debate that returns a string like 45FFFF. Although it does what I want, this seems like a tremendously bad ...
5
votes
4answers
152 views

Business Letter in HTML

I've been writing HTML for a while, but badly, very badly. I have been violating every best practice that exists So I have decided to clean up my act. I bought a couple up-to-date books, read them, ...
5
votes
2answers
365 views

Webpage template review

I've been spending a long time working on this template, I'd like to know if it's CSS/HTML is good, and mainly if it is speedy to load, accessible, semantic and SEO friendly. I've tested it in IE7+, ...
5
votes
1answer
95 views

CSS Good Practice on a JavaScript Plugin

I've realized a jQuery Plugin recently and made a basic default CSS for it. As I'm mainly a server-side guy, I'm not too familiar with CSS and would like to have insight about what could be improved. ...
5
votes
1answer
105 views

Is this a reasonable way of doing javascript navigation UI?

I think that the slice() is a bit hacky, and prone to breaking if I change my mind about the id names, but I wanted this to be generic so I could add types easily Is there maybe another / better way ...
5
votes
2answers
144 views

Review for CSS layout code

I want to get my first CSS layout reviewed. First of all, the related HTML code is as follows - <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> ...
4
votes
2answers
476 views

Div in unordered list - good practice?

I want to make a form which looks like this: Column A Column B 1 Textbox AA Textbox BB 2 Textbox AA Textbox BB I've coded it like this: <form id="deps" ...
4
votes
3answers
209 views

Am I doing too much in my template?

The main view in my (toy!) Todo app is, of course, to display the list of tasks. These are grouped by some criterion, and the tasks structure below is actually a list of pairs (header, list of ...
4
votes
2answers
223 views

Simplifying Code for Drop-Down-Box in JQuery and HTML

I'm trying to come up with a way to make a drop down box that is displayed through a jquery mouse hover event and with nested dropdown boxes displayed through hovering over elements of the original ...
4
votes
3answers
216 views

Trying to learn JavasCript, CSS and HTML5

I just wrote a small card game in JavaScript, CSS and HTML. This is kind of my first project that I have cared about front-end. So I got things to work, but I am sure that this is not the smartest way ...
4
votes
1answer
328 views

Good practice using SCSS

I saw a sassy CSS for a rails app like this: $std-margin: 30px; @mixin solid-bg($color: #EEEEEE) { background: none repeat scroll 0 0 $color; } @mixin solid-border($direction, $width: 1px, ...
4
votes
1answer
184 views

Is this code efficient?

I was wondering if this was a decent way of handling this function. Please take a look. // Use Less Mixins from Theme Options to adjust Stylesheets before Parsing Less to CSS add_filter( 'less_vars', ...

1 2 3 4 5 8
15 30 50 per page