Page is a not externally linkable
pageoneresults - 11:55 am on May 26, 2008 (gmt 0)
The point? So I can easily UPPERCASE what is encased in that class. I'm not too certain I would be changing that elements text transform and if I did, it would most likely be to remove it. Where's the book that says I cannot name my Classes/IDs intuitively? Where? Where? Where? ;) I did. The Class makes it turn red, that is "what it does" and "what it looks like". I can't think of a more intuitive name for something I want in red, I really can't! And, when I want things to really jump out... I've been involved in these types of discussions over the years. I've been naming my Classes/IDs the same almost since day one. I use an intuitive naming convention as opposed to what others may do. And, it works very well for me which is the bottom line. Others find it very easy to understand too and some have even taken on my styling style. Yes it does! For example, I recently built a site that is boating related. Just to have fun, I named all the Classes/IDs with a nautical theme. So, for #wrapper, I used #hull and for anything on the left, I used #port and anything on the right, I used #starboard. The semantics are there if you're into boating. :) I've found that taking the first letter of each word in the rule has helped me to easily identify those rules and to memorize them in the process... Like most of you, I learned CSS on my own and I'm far from being a CSS Guru. But, I can sure lay out a site in a fraction of the time most others can using CSS. No one ever sat with me and said, "Edward, you should name your classes this way." I just used my common sense and strong sense of "naming prowess" and came up with my own system that has worked extremely well for over 10 years. Where's the book on how to name your Classes and IDs? I don't understand what is not "reusable". I "reuse" that class whenever I want, wherever I want. What would you name a class that made the font UPPERCASE? What would you name a class that centered something? Or aligned it left? Or right? What would you name a class that aligned something vertically? To the bottom? Middle? Top? Baseline? I'm really interested in this. I can be taught new ways, I really can. I'm not an old dog just yet. But, again, I've been involved with these discussions before and I find "my way" to work just fine. By the way, what exactly is wrong with "my way"? Huh?
What is the point in adding a .ttu class? what happens when you want to change that elements text transform may as well put style="text-transform: uppercase;" in the HTML it's a no-no to advise using non-reusable classes as a standard IMHO of course. No. Don't do that. Label the class as to what it does, not what it looks like. <strong class="red ttu">[b][red]SHOUT IT OUT![/red][/b]</strong> Depends on the semantics. .tac{text-align:center;}
.tal{text-align:left;}
.tar{text-align:right;}it's a no-no to advise using non-reusable classes as a standard IMHO of course .ttu{text-transform:uppercase;} .tac{text-align:center;} .tal{text-align:left;} .tar{text-align:right;} .vab{vertical-align:bottom;} .vam{vertical-align:middle;} .vat{vertical-align:top;} .vabl{vertical-align:baseline;}