Why? Because it works. What you're proposing is that I do this:
Code:
<html>
<head>
<style type="text/css">
div
{
font-weight:bold;
}
</style>
</head>
<body>
<div id="bold">
Type Here:
</div>
</body>
</html>
or some nonsense to do the same thing.
Well, I hope that's not what he's proposing. Because that
is nonsense, and totally mis-using CSS.
How about applying some sensible class (not ID), like, I dunno, maybe "field_heading", or if you want to be terse "fh"? And then use that for all your field headings?
For that matter, you can do this one without ANY IDs or classes. First of all, use the label tag correctly. Let's forget any silly argument about whether it's "required". It's a good idea. There are plenty of good reasons beyond styling - for example, it helps provide accessibility for people with handicaps.
Now you can just style all your labels, and you don't need an ID or class.
If you just want to make some ad-hoc word stand-out, it's more appropriate to use <em> today than <b>. You can style <em> then and make all your stand-outs change to a different style.
If you have different KIND of standouts throughout your pages, then you can start using classes.
----------
Would you really tell Corbusier that the content of his buildings have no consequence on his design? .
Building content = "kitchen, living room, conference room, office, etc. etc. etc.".
Well, of course content has consequences on design. But should design rule content? Does he get to say whether the building gets a kitchen or not?
Actually... (switching designers) I lived across the street from these at one time:
http://www.trulia.com/property/3059796000-1318-Joliet-Pl-Detroit-MI-48207
Man, those things have tiny little useless kitchens! That's what happens when designers start mucking with content!
