Re: [css-d] Pure CSS animated 3D Super Mario Icon

2010-07-19 Thread Andreas Jacob
On Sun, Jul 18, 2010 at 2:59 AM, Erik Harris wrote: > Sadly, this looks no better in Firefox 4.0b1 than it does in Firefox > 3.6. I had hoped that Gecko's CSS support had improved enough to make > at least some progress on how this page displays. [...] Hi Erik, this is mostly because I had to

[css-d] How to place shadow templates in the middle of the page

2010-07-19 Thread Kersten Broich
Hello CSS-experts, I found the following template-classes to create a shadow-effect for pictures and it works very well: DIV.shadow { float: left; background-color: #777; padding: 1px; border: 1px solid #999; margin: 0px; } DIV.shadow2 { float: left; background-color: #bb

Re: [css-d] How to place shadow templates in the middle of the page

2010-07-19 Thread David Laakso
Kersten Broich wrote: > > I found the following template-classes to create a shadow-effect for > pictures and it works very well: > > It doesn't work - the picture always appears at the left side of the > DIV#mid. Does anybody have an advice how to manage that the picture > appears exactly in the m

[css-d] ID vs. Class

2010-07-19 Thread Chris Blake
Hi, I understand the difference between class and ID to a basic level. I am adding a #div but I may want to add another later. Therefore I should use class but what is the danger if I use a class - is it slower, does something cache that may not if it's an ID - what's the real difference o

Re: [css-d] ID vs. Class

2010-07-19 Thread Beth Lee
-Original Message- From: css-d-boun...@lists.css-discuss.org [mailto:css-d-boun...@lists.css-discuss.org] On Behalf Of Chris Blake Sent: Monday, July 19, 2010 8:50 PM To: css discuss discuss Subject: [css-d] ID vs. Class >> I understand the difference between class and ID to a basic level.

Re: [css-d] ID vs. Class

2010-07-19 Thread Chris Blake
On 20/07/2010, at 11:06 AM, Beth Lee wrote: > -Original Message- > From: css-d-boun...@lists.css-discuss.org > [mailto:css-d-boun...@lists.css-discuss.org] On Behalf Of Chris Blake > Sent: Monday, July 19, 2010 8:50 PM > To: css discuss discuss > Subject: [css-d] ID vs. Class > >>> I unde

Re: [css-d] ID vs. Class

2010-07-19 Thread Beth Lee
Chris writes: >>3. If you use Javascript, your getElementById functions could go blooey if >>there are multiple divs with the same ID. (If there's a more technical terms >>for it, I don't know it.) >But it's OK if they classes? Well, you can't use getElementById (obviously), but you can use getE

Re: [css-d] ID vs. Class

2010-07-19 Thread Claude Needham
On Mon, Jul 19, 2010 at 8:15 PM, Chris Blake wrote: > Really for this because it is only appearing once for now I should use > ID - but there's a good chance I may use it again later on this page - > so class for now is OK? I like to treat class and id semantically -- or at least according to my

Re: [css-d] ID vs. Class [solved]

2010-07-19 Thread Chris Blake
On 20/07/2010, at 11:32 AM, Claude Needham wrote: > On Mon, Jul 19, 2010 at 8:15 PM, Chris Blake > wrote: >> Really for this because it is only appearing once for now I should >> use >> ID - but there's a good chance I may use it again later on this >> page - >> so class for now is OK? > >

Re: [css-d] ID vs. Class [solved]

2010-07-19 Thread Michael Adams
On Tuesday 20 July 2010 15:37, Chris Blake wrote: > > > > I like to treat class and id semantically -- or at least according to > > my understanding of what that means. > > > > SOUNDS GOOD TO ME! > But there is nothing really wrong with a combination of both:- Content More content This allow

[css-d] CSS lists driving me nuts

2010-07-19 Thread Shortie Designs
Hi All - I'm still new to CSS and I'm trying to style some lists with CSS. I've created an unordered list - which is all good - but what I'm trying to avoid is this Eg: . List is all lovely on the first line but when it wraps is doesn't neatly indent. What I'm trying to achieve is

Re: [css-d] CSS lists driving me nuts

2010-07-19 Thread Duncan Hill
On Tue, 20 Jul 2010 07:23:57 +0100, Shortie Designs wrote: > Hi All - I'm still new to CSS and I'm trying to style some lists with > CSS. > > I've created an unordered list - which is all good - but what I'm trying > to > avoid is this > > Eg: > > . List is all lovely on the first l