News for hackers. Stuff that matters.
Re:Learn CSS Positioning by obeattie on Monday February 15, 2010 @12:47PM (#1127063)
Yay! Just what the readers of Hacker News love to read… basic CSS tutorials! Can we have a "how to get amazing mouse cursors with JavaScript" one, too?
Re:Learn CSS Positioning by nbrochu on Monday February 15, 2010 @02:23PM (#1127269)
What is so wrong exactly with basic material?

Sure you might know CSS inside out, but I'd be willing to bet some people here could learn something useful out of it. The rest of us that already are familiar with it get a quick refresher in under 5 minutes.

Positioning and the box model are at the core of understanding CSS layouts. Sure it's not the next cool thing and it certainly isn't advanced, but I'd much rather browse a Web where people understand layouts properly, than one filled with a lot of the trendy, over-complicated crap that fails at the basics.

We have to be careful with that basic = not challenging = not geek-worthy attitude. A beginner reading HN comments will most likely emulate it and miss out on the important stuff.

Re:Learn CSS Positioning by daleharvey on Monday February 15, 2010 @01:35PM (#1127171)
judging by the points it does look like what hacker news wants to read, but we can always do with less snark.

This looks like the best example I have so far to pass along to people asking me about css, which happens quite often.

That aside CSS is messy and complicated, lots of programmers dont understand the basics, and even experienced developers can easily miss a few very useful tips.

Re:Learn CSS Positioning by kowen on Monday February 15, 2010 @05:05PM (#1127649)
I think CSS itself isn't so complicated, but the whole different support in different browsers thing certainly does make a mess of it!

One of the most helpful things I ever did with respect to CSS was read the apress book on html/css patterns (just ignore the parts that use javascript).

http://books.google.com/books?id=xq9IOomk1tUC

(I never realized that standard CSS actually operates with 6 box models!)

Re:Learn CSS Positioning by CoryMathews on Monday February 15, 2010 @01:12PM (#1127121)
Re:Learn CSS Positioning by Groxx on Tuesday February 16, 2010 @10:06AM (#1128949)
If the reader doesn't know basic CSS - a definite possibility, remember - then this is concise and programmer-friendly.

If the reader does know CSS, then they're probably asked "can you make this for me?" by everyone and their extended family, and this is concise and has immediate, clear examples to make it newbie-friendly. I wouldn't dare throw a big CSS book at a non-programmer new to CSS.