Re: [WSG] OO stylesheet design?? [was More than one style in one class atribute?]

2006-08-26 Thread Tony Crockford
Ken McCormack wrote: Now, in a big app might have 250 buttons and icons across all dialogs; if you don't organise your css classes in this kind of hierarchical manner, then the alternative looks like this: Save Cancel .. Click Me Interesting idea, but if I have to use a class on every elemen

Re: [WSG] CSS technique quest for tabs

2006-08-26 Thread Tee G. Peng
To be honest I am a little confused by your menu hierarchy. Is "Popular" a heading or a sub menu element? Anyway your HTML structure was incorrect as you had a element a direct child of another element. Here is what I _think_ you were trying to achieve:

Re: [WSG] OO stylesheet design?? [was More than one style in one class atribute?]

2006-08-26 Thread Ken McCormack
Hi All, On the subject of using multiple classes, I thought I'd share with you the way I structure CSS in my apps - I'm sure this is nothing new, just my way of looking at it... Anyway, I've found that using an object oriented (if you like 'class inheritance') approach to css classes leads to

RE: [WSG] CSS technique quest for tabs

2006-08-26 Thread Kepler Gelotte
> It's hard to believe that anybody > would refuse to help answer me because I have more than one ID in my > example page. Hi Tee, To be honest I am a little confused by your menu hierarchy. Is "Popular" a heading or a sub menu element? Anyway your HTML structure was incorrect as you had a e

Re: [WSG] CSS technique quest for tabs

2006-08-26 Thread Tee G. Peng
On Aug 26, 2006, at 4:14 AM, Pat Boens wrote: The only problem is that, on your page at least, there are multiple elements of your HTML code that have the same id! id="active". It would be better to use a class so that you can have multiple tabs on the same page. Pat Hi Pat, thank for

Re: [WSG] More than one style in one class atribute ?

2006-08-26 Thread Anders Nawroth
Hi! Raven skrev: I create script whith some kind of WYSIWYG editor. It use BBCODE to set text block justification, color, etc. So, as a result, i have BBCODE like this: [J=right][C=red]text[/C][/J] and html code: text You'd better use an editor that handles classes, like TinyMCE: http://tin

[WSG] out of office

2006-08-26 Thread pat
Terribly sorry, but I seem to have left town for a spot of leisure time. Fear not, I shall read your email upon my return, somewhere in the vicinity of *Monday September 4th* I suspect. Toodles! Patrick Kennedy

Re: [WSG] Weird margin in IE

2006-08-26 Thread TuteC
Sorry sorry sorry! First in Google: http://www.positioniseverything.net/explorer/floatIndent.html Now I see IE bugs are a bit known through internet... Thanks anyway; Eugenio. On 8/26/06, TuteC <[EMAIL PROTECTED]> wrote: It´s as if in FF pixels were pixels, while in IE they were equal to pixels*

[WSG] Weird margin in IE

2006-08-26 Thread TuteC
Hello everyone! I can´t solve an IE6 problem. In FF, http://www.e2design.com.ar/Dev/CELP/sec.php?id=2 works fine, but in IE6 the contents align right. Just a detail, not big deal, but I can´t solve it! I know the problem is in Estilos.css, line: #content { margin:0 auto 10px 164px; ... If

RE: [WSG] More than one style in one class atribute ?

2006-08-26 Thread James Thomson
> We can use more than one style in class attribute. > Like: > > > This works in any browser, i try. > And w3c Validator is silent. > But IS this practice good? > Some times it can be pretty net. > Any catch in this method ? One of my favourite uses is when floating blocks where you want the las

RE: [WSG] More than one style in one class atribute ?

2006-08-26 Thread Pat Boens
The doc says that this is a list, so here you go ... you can use several classes should you wish to. Pat, We serve Technique - Excellence - Aesthetics http://www.fastwrite.com -Original Message- From: listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED] On Behalf Of Raven Sent: 26 A

Re: Re[2]: [WSG] More than one style in one class atribute ?

2006-08-26 Thread Rimantas Liubertas
<...> text But this "is really a canonical example of how _not_ to use the class attribute". What is your opinion - may i use multiple styling in this case, or not? Or there is some other method of solving this problem? The problem is not the use of two class name, but names themselves: names

Re[2]: [WSG] More than one style in one class atribute ?

2006-08-26 Thread Raven
Good time of day. > The use of multiple class names is extremely useful, and can make > one's code (both markup and CSS) clearer. However, you should at all > costs avoid using class names that describe presentational properties: > Byron's example of > is really a canonical example of how _not_

Re: [WSG] More than one style in one class atribute ?

2006-08-26 Thread Nick Fitzsimons
On 26 Aug 2006, at 12:36, Raven wrote: Good time of day. We can use more than one style in class attribute. Like: This works in any browser, i try. And w3c Validator is silent. But IS this practice good? Some times it can be pretty net. Any catch in this method ? No, no catch at all. From

Re: [WSG] More than one style in one class atribute ?

2006-08-26 Thread Ron Jonk
I always use this method to add a kind of behaviour class starting with bh_ as second class to separate the classes I use for unobtrusive javascript and actual visible styling. So when I have a menu list with a specific visible style and a special event driven behaviour I use for instance I

Re: [WSG] More than one style in one class atribute ?

2006-08-26 Thread Byron Adams
Hi Raven,>>IS this practice good?i often wondered about this would be nice if someone could shed some light.i first came up with the idea for lazy text formating, though i dont think its a good idea (accesibility wise) Som styled text-- http://blog.dontfollowme.net

Re: [WSG] More than one style in one class atribute ?

2006-08-26 Thread GenSephyr
Yes it is possible. However, it is not advised. The goal of css and semantic coding is to minimize the amount of code and take out all presentation elements, and code based on the structure and nature of the content. Trying to squeeze different styles into the class attribute would almost equal t

[WSG] More than one style in one class atribute ?

2006-08-26 Thread Raven
Good time of day. We can use more than one style in class attribute. Like: This works in any browser, i try. And w3c Validator is silent. But IS this practice good? Some times it can be pretty net. Any catch in this method ? __ Yours sincerely. Raven. Night folk studio.

RE: [WSG] font standards today

2006-08-26 Thread Pat Boens
Take a look at this: http://www.codestyle.org/css/font-family/sampler-CombinedResults.shtml Pat -Original Message- From: listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED] On Behalf Of Townson, Chris Sent: 24 August 2006 12:55 To: wsg@webstandardsgroup.org Subject: RE: [WSG] font st

RE: [WSG] CSS technique quest for tabs

2006-08-26 Thread Pat Boens
The only problem is that, on your page at least, there are multiple elements of your HTML code that have the same id! id="active". It would be better to use a class so that you can have multiple tabs on the same page. Pat -Original Message- From: listdad@webstandardsgroup.org [mailto:[EM