pres.umptuo.us

presumptuous

(6) Apr 18, 2006

Comments

GravatarOn April 19, 2006 1:19 AM Anatoli Papirovski said:

Sometimes, as is the case with this site, I really wish you added a comment why the particular site was included. I see a not-so-special code with an unnecessary amout of divs (not very semantic mark-up, weird jump in headings, etc.) and average design at best...

GravatarOn April 19, 2006 5:06 AM Tim said:

@Anatoli: you're right! Classnames like "item_10" are not acceptable! And, as you told, to much div's. The same result could be achieved when you only use the half of the div's now used...

GravatarOn April 19, 2006 7:08 AM Yossy said:

oh, cool wordpress web. Design is nice.

GravatarOn April 19, 2006 12:28 PM Eric Lim said:

Yossy - Yes! Somebody likes the design!

Anatoli & Tim - Thanks for the remarks. I realized I kinda botched some of the code here and there, but a lot of my extraneous divs are to give me finer control, and to avoid using hacks for the "width+padding" rendering bugs. It's one thing to strive for completely semantic code, but it's another to get pixel-perfect designs.

GravatarOn April 19, 2006 3:12 PM adrian said:

@Eric,

Agreed, I've never seen the issue with using multiple divs. The whole point of the tag as I see it is to provide a method for dividing the site as the coder see's fit.

In a perfect world, maybe we should use as little as possible, but in a perfect world, we would surely not even have to use any.

GravatarOn April 21, 2006 1:00 AM Anatoli Papirovski said:

@adrian

Or also to enable lazy coders to go partying instead of actually learning CSS and XHTML properly so that DIVs don't have to be used too much.

For years it's been said that tables (I don't justify them, they're bad semantically and that's enough for me) are way more chaotic than DIVs. But the way people use DIVs these days, it's no better than using tables, except of course they've got the argument that tables were wrong from semantical point of view, and DIVs aren't and that justifies their heavy use. Well, it doesn't...

If an Objective-C or C++ programmer was to abuse the code the same way some web developers do, he would get fired before he could even blink. But apparently in web design we don't have to care.

(Not talking about you Eric, just speaking generally...)

Post a comment

Note: The author reserves the right to delete inappropriate comments.

  • Foul and offensive language will be edited or deleted.
  • Personal attacks will be deleted.
  • Advertising or spam will not be tolerated.

Formatting: Linebreaks will be converted automatically. Basic HTML tags allowed: a href, strong, em, ol, ul, li, blockquote, code, acronym title, abbr title.

Gravatars are enabled.

Remember Me?
(you may use HTML tags for style)

Resources Worth Checking

Recent Forum Discussions

About CSS Beauty

CSSBEAUTY™ is a project focused on providing its audience with a database of well designed CSS based websites from around the world.

Its purpose is to showcase designers' work and to act as a portal to the CSS design community.