Re: [css-d] classes...?

2012-03-12 Thread Danya D. Smith
David, I am a C#.net programmer with several years of front-end design experience. I learned the disciplines in isolation and never considered asking the questions you are asking. Your questions really intrigued me. An object in OO programming is meant to represent a tangible thing... it is

Re: [css-d] classes...?

2012-03-11 Thread Ghodmode
On Sun, Mar 11, 2012 at 8:37 AM, Tedd Sperling tedd.sperl...@gmail.com wrote: On Mar 10, 2012, at 11:09 AM, Ghodmode wrote: In this field, we live on a never-ending stream of meaningless phrases.  Here are a few more examples:  Dynamic HTML  Object Oriented Programming  Web 2.0  AJAX  

Re: [css-d] classes...?

2012-03-11 Thread Tedd Sperling
On Mar 11, 2012, at 4:58 AM, Ghodmode wrote: Anyway, the specific meaning of the individual terms wasn't the point. In fact, I just made up at least one of them. The point was that we create catchy names for our ideas, techniques, and technologies and that they don't necessarily have

Re: [css-d] classes...?

2012-03-11 Thread Philip TAYLOR
Tedd Sperling wrote: All new technical terminology starts as some form of jargon. The success of which usually comes about as an acceptance of term definitions among those practicing the technology. As a result of which we now have to suffer such abominations as distro (distribution),

Re: [css-d] classes...?

2012-03-11 Thread Reese
At 03:47 PM 3/11/2012, Philip TAYLOR wrote: Tedd Sperling wrote: All new technical terminology starts as some form of jargon. The success of which usually comes about as an acceptance of term definitions among those practicing the technology. As a result of which we now have to suffer such

Re: [css-d] classes...?

2012-03-10 Thread Ghodmode
On Fri, Mar 9, 2012 at 6:17 PM, David Thorp mailingli...@allaboutabundance.com wrote: Greetings all... again... ;) I'm familiar with some concepts from object oriented programming.  In particular something which i think is called encapsulation. In languages like C++ you build classes which

Re: [css-d] classes...?

2012-03-10 Thread Ghodmode
On Sat, Mar 10, 2012 at 1:33 AM, David Thorp mailingli...@allaboutabundance.com wrote: I've had a couple of private replies saying that this question is off-topic because it's nothing to do with css.  If that's really the case, then I apologise for the noise, but before we come to that

Re: [css-d] classes...?

2012-03-10 Thread Ghodmode
On Sat, Mar 10, 2012 at 6:43 AM, Tim Arnold tim.arn...@gmail.com wrote: ... And that name! Though she named it OOCSS, it is most certainly not object oriented in the way that a real OO language is.  To call it that has just muddied the waters between developers and front end people and kind of

Re: [css-d] classes...?

2012-03-10 Thread Tedd Sperling
On Mar 10, 2012, at 11:09 AM, Ghodmode wrote: In this field, we live on a never-ending stream of meaningless phrases. Here are a few more examples: Dynamic HTML Object Oriented Programming Web 2.0 AJAX Semantic Web Rude Web (http://fm.no-ip.com/Auth/rudeweb.html) Social Network

[css-d] classes...?

2012-03-09 Thread David Thorp
Greetings all... again... ;) I'm familiar with some concepts from object oriented programming. In particular something which i think is called encapsulation. In languages like C++ you build classes which are portable mini programs that do stuff. You can pick them up and plug them into any

Re: [css-d] classes...?

2012-03-09 Thread David Thorp
I've had a couple of private replies saying that this question is off-topic because it's nothing to do with css. If that's really the case, then I apologise for the noise, but before we come to that conclusion may i just clarify something... I understand that php has an include function for

Re: [css-d] classes...?

2012-03-09 Thread Paceaux
Hi David, Though I am not a very good programmer, I am somewhat familiar with object-oriented programming languages and methodologies. So I don't know how accurately I can answer the question, but I can tell you that I certainly believe it is possible to write HTML and CSS in an

Re: [css-d] classes...?

2012-03-09 Thread david
Perhaps the confusion comes from the word class. A class is just a name that tells the browser, When you render this item, use these settings. Outside of that, a class doesn't do anything like what an object in OOP does. A class doesn't know how to render itself it. A class doesn't respond to

Re: [css-d] classes...?

2012-03-09 Thread Paceaux
I think I was following along until now. I was assuming that the equivalent of classes in front-end is simply writing CSS to allow blocks of HTML to be modular; able to fit in a variety of wrappers without the need to rewrite HTML. I was also assuming that object oriented CSS meant that the

Re: [css-d] classes...?

2012-03-09 Thread Theresa Jennings
A class is just a way of assigning certain properties or group of properties to something on the page. You can assign a class to a wrapper/container/content div, you can assign a class to a paragraph, and you can even assign a class to a single letter or single word, image, or table/table cell.

Re: [css-d] classes...?

2012-03-09 Thread Tim Arnold
On Fri, Mar 9, 2012 at 5:28 PM, Paceaux pace...@madebypaceaux.com wrote: Smashing Magazine has a great article on Object Oriented CSS. http://coding.smashingmagazine.com/2011/12/12/an-introduction-to-object-oriented-css-oocss/. While I do think that Nicole Sullivan's Object Oriented CSS has

Re: [css-d] classes...?

2012-03-09 Thread Paceaux
Perfect. so I'm not as confused as I thought. I prefer the term modular for writing HTML that can be repurposed in various settings, and especially when writing CSS, I often tell folks it's a syndicated design; as certain elements of the design can be reused across various websites (such as

Re: [css-d] classes...?

2012-03-09 Thread Sam Brown
Hi David, On 09.03.2012 12:33, David Thorp wrote: I've had a couple of private replies saying that this question is off-topic because it's nothing to do with css. If that's really the case, then I apologise for the noise, but before we come to that conclusion may i just clarify something...

Re: [css-d] classes...?

2012-03-09 Thread David Thorp
Thanks everyone for your replies. You've certainly given me a lot to think about. A couple of other points. I'm sorry I've probably confused people with terminology. 1. My use of the word class in this thread was ambiguous perhaps. I understand that a CSS class and an OOP class are

Re: [css-d] classes...?

2012-03-09 Thread David Thorp
Frank, your assumption was correct, at least in regards to where I was coming from with my questions. My apologies for the confusion. I should have clarified that in my questions I meant the OOP meaning of the word class, not the CSS meaning. On 10/03/2012, at 9:28 AM, Paceaux wrote: I

[css-d] classes after each other

2011-12-21 Thread Gergely Buday
Hi, what is the semantics of writing one class after the other, separated by space in an html class attribute? - Gergely __ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List

Re: [css-d] classes after each other

2011-12-21 Thread Joergen W. Lang
The following links might be of help. The lists very own wiki: http://css-discuss.incutio.com/wiki/Multiple_Classes An article discussing the usage of multiple classes (and related other things): http://css-tricks.com/multiple-class-id-selectors/ More info in the specs:

Re: [css-d] classes moving

2008-07-23 Thread Jonny Stephens
Christopher The path to the #location background image points to your local computer, rather than your web server. You may be able to see locationgfic.png but we can't. #location { height: 62px; background-image: url(file:///C|/creativesheep_web_files/final%

Re: [css-d] classes moving

2008-07-23 Thread Nina van der Zwan
: 10px;} Nina van der Zwan - Original Message From: Christopher [EMAIL PROTECTED] To: css-d@lists.css-discuss.org Sent: Wednesday, July 23, 2008 5:35:20 AM Subject: [css-d] classes moving I'm having a problem, when I move the about me class it also moves the paragraphs below it which

Re: [css-d] classes moving

2008-07-23 Thread Alan Gresley
Christopher wrote: I'm having a problem, when I move the about me class it also moves the paragraphs below it which I don't want to occur. If you look at the page you'll see the about me and then the paragraphs when I move the about me text the paragraphs move too. Also I'm trying to get

Re: [css-d] classes moving

2008-07-23 Thread Christopher
, something like this p.contact{padding-top: 10px;} Nina van der Zwan - Original Message From: Christopher [EMAIL PROTECTED] To: css-d@lists.css-discuss.org Sent: Wednesday, July 23, 2008 5:35:20 AM Subject: [css-d] classes moving I'm having a problem, when I move the about me class

Re: [css-d] classes moving

2008-07-23 Thread Christopher
Alan Gresley wrote: Christopher wrote: I'm having a problem, when I move the about me class it also moves the paragraphs below it which I don't want to occur. If you look at the page you'll see the about me and then the paragraphs when I move the about me text the paragraphs move too.

Re: [css-d] classes moving

2008-07-23 Thread David Laakso
Christopher wrote: Nina van der Zwan wrote: That moved the yellow bars margin down as well, how come? Everything you ever wanted to know about CSS, then some... http://reference.sitepoint.com/css -- A thin red line and a salmon-color ampersand forthcoming.

Re: [css-d] classes moving

2008-07-23 Thread Alan Gresley
Christopher wrote: http://www.walkfar.ca/test/productionsite9.html So it's normal for the #flashbox id to move when the #aboutme id box (margins) move. Oh!!! Yes. At this present time, you are trying to throw all these span, div elements into the XHTML and margins in your CSS to try to

Re: [css-d] classes moving

2008-07-23 Thread Christopher
Alan Gresley wrote: Christopher wrote: http://www.walkfar.ca/test/productionsite9.html So it's normal for the #flashbox id to move when the #aboutme id box (margins) move. Oh!!! Yes. At this present time, you are trying to throw all these span, div elements into the XHTML and

Re: [css-d] classes moving

2008-07-23 Thread Bill Brown
Christopher wrote: Well what I want to do is when I move the margins like say (top) on the #aboutme id the #flashbox id does not move. Christopher, These elements are adjacent in your HTML. If you move an element up or down using margins, the expected behavior is for the elements which occur

[css-d] classes moving

2008-07-22 Thread Christopher
I'm having a problem, when I move the about me class it also moves the paragraphs below it which I don't want to occur. If you look at the page you'll see the about me and then the paragraphs when I move the about me text the paragraphs move too. Also I'm trying to get the contact with email

[css-d] classes and id's

2006-05-08 Thread Ron Payette
Hi - I realize this is a very basic question, but the more I try to figure it out the more confused I get. So maybe one of you can set me straight! When using classes (or id's) - what is the correct way to do the following: a.leftborder {color: #ff;} OR .leftborder a {color: #ff;} OR

Re: [css-d] classes and id's

2006-05-08 Thread Jon Jensen
It depends on what you are trying to do... Each of these does something slightly different: a.leftborder {color: #ff;} /* all anchors having the leftborder class will be white e.g. a href=foo.html class=leftborderbar/a */ .leftborder a {color: #ff;} /* all anchors inside an element

Re: [css-d] classes and id's

2006-05-08 Thread francky
Jon Jensen wrote: It depends on what you are trying to do... Each of these does something slightly different: [...] ul [...] If all of this went over your head, have a look at http://css.maxdesign.com.au/selectutorial/ for a great primer on selectors and CSS. Jon And a direct online

[css-d] Classes and markup

2006-05-02 Thread Mark Fellowes
I'm still having a hard time wrapping my mind around classes, in particular how they relate to classes in markup. So, I understand I can create a class like: .ptext{color: blue;} Then in the markup I can styple p with that class. What I find confusing is the uses of classes as opposed to

Re: [css-d] Classes and markup

2006-05-02 Thread MarcLuzietti
Mark, CLASSes can be used on *multiple* elements, whereas an ID can only be used on one element per page. In addition, you can use multiple CLASSes on a single element, but only one ID. I *think* that the advantage an ID has over a CLASS is that the ID has a higher priority, so that if you

Re: [css-d] Classes and markup

2006-05-02 Thread Rob Freundlich
On Tuesday, May 02, 2006 9:49 AM [GMT+0100=CET],Mark Fellowes [EMAIL PROTECTED] wrote: What I find confusing is the uses of classes as opposed to id's in the markup. For example, I have a div for a right column. Would creating a class for the p section of that div in the markup make sense ?

Re: [css-d] Classes and markup

2006-05-02 Thread CSS-D List
Mark Fellowes wrote: I'm still having a hard time wrapping my mind around classes, in particular how they relate to classes in markup. So, I understand I can create a class like: .ptext{color: blue;} Then in the markup I can styple p with that class. What I find confusing is the

Re: [css-d] Classes and markup

2006-05-02 Thread Mark Fellowes
Just wanted to say thank you to all who answered. The explanations and examples were very helpful. Mark -Original Message- From: [EMAIL PROTECTED] Sent: Tuesday, May 2, 2006 2:20 PM -07:00 To: css-d@lists.css-discuss.org Cc: Mark Fellowes [EMAIL PROTECTED] Subject: [css-d] Classes

Re: [css-d] Classes vs. ids

2005-11-29 Thread Christian Heilmann
Here's a general question about CSS that I've been able to quite figure out. If one has a DIV that will only appear once per page, which should one use: a class or an id? Classes are obviously useful at applying to multiple elements, or applying multiple classes to one element. What

Re: [css-d] Classes vs. ids

2005-11-29 Thread Adam Kuehn
At 11:54 AM 11/29/2005, Mark Fredrickson wrote: Here's a general question about CSS that I've been able to quite figure out. If one has a DIV that will only appear once per page, which should one use: a class or an id? This is a FAQ, and as such it appears on the CSS-D Wiki. See

Re: [css-d] Classes vs. ids

2005-11-29 Thread Kirk Clawes
On 11/29/05, Mark Fredrickson [EMAIL PROTECTED] wrote: Here's a general question about CSS that I've been able to quite figure out. If one has a DIV that will only appear once per page, which should one use: a class or an id? Classes are obviously useful at applying to multiple elements,

Re: [css-d] Classes vs. ids

2005-11-29 Thread Kim Finleyson
a div. HTH, Kim Finleyson Technical Communications/Web Content Professional Computer Software Services, Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Fredrickson Sent: Tuesday, November 29, 2005 11:55 AM To: CSS List Subject: [css-d] Classes

[css-d] Classes and Ids

2005-05-21 Thread Richard Brown
Hi I know this is on the wiki and I have had a good read but think I might be missing something. The site concerned is: http://cregy.net/keith/ http://cregy.net/keith/style.css At the bottom of the page there is two lines in the footer. The top line (a search box) is meant to be centred,

Re: [css-d] Classes and Ids

2005-05-21 Thread Rimantas Liubertas
On 5/21/05, Richard Brown [EMAIL PROTECTED] wrote: ... At the bottom of the page there is two lines in the footer. The top line (a search box) is meant to be centred, the bottom line is meant to be aligned to the right. I have entered the following code in the html: div id=footer

Re: [css-d] Classes and Ids

2005-05-21 Thread David Laakso
On Sat, 21 May 2005 11:12:57 -0400, Richard Brown [EMAIL PROTECTED] wrote: Hi I know this is on the wiki and I have had a good read but think I might be missing something. The site concerned is: http://cregy.net/keith/ http://cregy.net/keith/style.css At the bottom of the page there is