Re: [css-d] parent selector

2010-12-29 Thread Chetan Crasta
On Thu, Dec 30, 2010 at 4:38 AM, Jonas Geiregat wrote: > >        ... > > > Is it possible to change the css of the .btnwrapper class when hovering over > the .btn class ? > > I'm aware that it works the other way around when you're selecting the child > element on a parent's hover > But, wha

[css-d] parent selector

2010-12-29 Thread Jonas Geiregat
Hello, I have the following setup: ... Is it possible to change the css of the .btnwrapper class when hovering over the .btn class ? I'm aware that it works the other way around when you're selecting the child element on a parent's hover But, what about selecting parent elements ?

[css-d] CSS3: Use of the @namespace rule

2010-12-29 Thread Gabriele Romanato
Hi. It seems that css-d is a little reluctant with the adoption of the new CSS3 features. I saw many comments with a too backward tone. Anyway, I insist on my evangelic mission: http://onwebdev.blogspot.com/2010/12/css-use-of-namespace-rule.html ps. IE8 and 7 don't support it. But as far as

Re: [css-d] body has a top-margin that I can not figure out

2010-12-29 Thread Greg Wilker
Subject: Re: [css-d] body has a top-margin that I can not figure out > >you should read up on margin -collapsing >http://www.w3.org/TR/CSS21/box.html#collapsing-margins     If that proves too daunting, as W3C specifications often are,

Re: [css-d] body has a top-margin that I can not figure out

2010-12-29 Thread Eric A. Meyer
At 9:31 AM +0900 12/29/10, Philippe Wittenbergh wrote: On Dec 29, 2010, at 2:45 AM, Greg Wilker wrote: How come the header is pushing it down if it is "contained" within the contain element? you should read up on margin -collapsing http://www.w3.org/TR/CSS21/box.html#collapsing-margins

Re: [css-d] conditional comments, extra style sheets and IE6

2010-12-29 Thread Chetan Crasta
On Wed, Dec 29, 2010 at 1:48 PM, Lisa Frost wrote: > For a conditional comment i need to link to an IE specific .css file right? Any HTML element (or text) can be put inside a conditional comment. Including style elements or link elements. Here is a brief summary of how conditional comments work

Re: [css-d] image layout question

2010-12-29 Thread Thomas Pauly
Matthew I use a make-shift grid in CSS that I place images into. You have to specify a specific starting point in HTML using both a row class and a column class. If the image is larger than the grid box it will simply extend beyond the grid box so you have to take care specify the plac

Re: [css-d] conditional comments, extra style sheets and IE6

2010-12-29 Thread Alan Gresley
On 29/12/2010 5:41 PM, Lisa Frost wrote: Following on from earlier when i was advised to use overflow:hidden to get my div to expand, i've redone my template to include this plus what i think is the correct way to trigger haslayout for IE6 However since i have a) never before added a conditional

Re: [css-d] conditional comments, extra style sheets and IE6

2010-12-29 Thread Lisa Frost
On Wed, Dec 29, 2010 at 2:33 PM, Chetan Crasta wrote: > The easiest way (in my experience) to trigger hasLayout is with the > proprietary zoom:1 . You can put this declaration within a conditional > comment so that your page will validate. > > This is where i am getting confused with all my readin