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