News for hackers. Stuff that matters.
Re:Common patterns of markup & style by nazar on Monday February 06, 2012 @01:33PM (#3558561)
Overall I like it, It can be very usefull for initial mark up where design isn't much inportant. Definitely took a place at my bookmarks.

Only one thing I noticed. I am not sure if it is a bug, but please check this page http://pea.rs/forms/multi-left-labels (and apparently same at http://pea.rs/forms/top-labels)

It has some problems with displaying textarea, at least for me it looks like that: http://i.imgur.com/tJKiG.png

I am using Windows 7 with Firefox 9.0.1

Re:Common patterns of markup & style by dangrossman on Monday February 06, 2012 @01:39PM (#3558584)
That's because the markup says &lt;textarea id="bio"&gt;&lt;/textarea&gt; instead of <textarea id="bio"></textarea>

It's going to look like that for everyone.

Re:Common patterns of markup & style by nazar on Monday February 06, 2012 @01:44PM (#3558611)
the question is, was it intended to look like that? I doubt it
Re:Common patterns of markup & style by ejpastorino on Monday February 06, 2012 @10:18PM (#3560283)
I don't think so either, but editing the form on Firebug or WebKit's inspector is really easy. And the text area is looking nice, really similar to text fields :)
Re:Common patterns of markup & style by sakopov on Monday February 06, 2012 @03:09PM (#3558967)
I'm a web developer trying to be a designer as well and the one thing that always frustrates me with HTML 5 resources is that they focus on the definition of each new element and not proper use which preserves its semantic value within a document. This one pretty much nailed it with good examples. Thanks for sharing!
Re:Common patterns of markup & style by shinuza on Monday February 06, 2012 @06:23PM (#3559703)
It's a good initiative but utterly wrong regarding best practices for css selectors.

ol.tags li a span.meta

Really? Why not something like:

.tags-vertical .meta

I like the overall style a lot tho.

Re:Common patterns of markup & style by mahmud on Monday February 06, 2012 @07:15PM (#3559841)
It says it's a Word Press theme. Maybe WP expects those identifiers?
Re:Common patterns of markup & style by shinuza on Tuesday February 07, 2012 @08:30AM (#3561649)
Maybe for the top level, but anything between that and the classname is useless IMHO.
Re:Common patterns of markup & style by jmsduran on Monday February 06, 2012 @01:50PM (#3558651)
Awesome stuff. Are these layout elements valid HTML & CSS (I'm too lazy to run it through a validator at the moment)?

This is a great resource of commonly used web elements, kudos to you.

Re:Common patterns of markup & style by rglover on Monday February 06, 2012 @01:26PM (#3558533)
Awesome resource. Quite jealous of those just starting out. I wish I would have had stuff like this when I first started.
Re:Common patterns of markup & style by sjwright on Monday February 06, 2012 @05:45PM (#3559575)
Don't be jealous, on the contrary -- be thankful you got to learn without having the correct answer handed to you on a silver platter.

If there's anything to be thankful for in the current climate, it's the diversity of browsers and device form factors forcing designers to think about the layout outside of Photoshop.

Re:Common patterns of markup & style by swah on Monday February 06, 2012 @07:36PM (#3559912)
Looks good, but what should I be learning from this?
Re:Common patterns of markup & style by ejpastorino on Monday February 06, 2012 @10:16PM (#3560278)
It's look like it's just a base for creating nice wordpress themes. It's not intended to learn much I think.

Anyway, it has really great style. Very good looking components and very useful to get started easily with a cool site, not necessarily a wordpress one.