Re: [css-d] Changing Visibility on Just One Element

2014-12-17 Thread Joergen Lang
I think the mistake lies in your selector. #cart-contents is very likely nested *inside* the form, not surrounding it - at least according to your html. So #cart-contents form ... will probably not work as expected. Try #cart-contents legend { visibility: hidden; } or { display: none; }an

Re: [css-d] Two classes, two conflicting rules, which wins ?

2013-10-01 Thread Joergen Lang
I tend to agree. Since .c2 is defined after .c1 it takes precendence over the first declaration. AFAIK the order in which the classes are defined within the attribute do not influence. Far more than anyone could ever ask for is here: http://stackoverflow.com/questions/15670631/does-the-order-o

Re: [css-d] Label Wrap

2013-08-13 Thread Joergen Lang
Here's one way: form { display: table; } input, label { display: table-cell; } Here's another: form { position: relative; } label { position: absolute; left: 2em; } In these examples I'm using the form itself for context (table/positioning). If this collides with oth

Re: [css-d] Label Wrap

2013-08-12 Thread Joergen Lang
Could we see some code, please? Jørgen Am 13.08.13 01:05, schrieb Karl DeSaulniers: Hello all, I have a input check box and a label to the right of it. I want it so that the text in the label does not wrap below the check box but still wraps to the side. How can I do this? TIA. Best, ___

Re: [css-d] Safari re-resize problem: floats and media queries

2013-01-26 Thread Joergen Lang
Am 26.01.13 06:24, schrieb David Laakso: On Fri, Jan 25, 2013 at 4:56 AM, Joergen Lang wrote: Safari (6.02) appears to have an issue with resizing an image in a floated list after encountering a media query breakpoint. http://www.joergen-lang.de/testing/resize.html Any hints, ideas

[css-d] Safari re-resize problem: floats and media queries

2013-01-25 Thread Joergen Lang
Hello everyone, Safari (6.02) appears to have an issue with resizing an image in a floated list after encountering a media query breakpoint. Test case here: http://www.joergen-lang.de/testing/resize.html (see below for code) When I reduce the window width the images scales down properly.

Re: [css-d] image width in CSS?

2012-12-17 Thread Joergen Lang
Hi Jan-Erik, there are ways to do that. They are called attribute selectors and adjacent sibling combinators. Your structure: Bla bla bla bla bla So if wanted a special style for your figcaption you could write something like this: img[width="1024"] + figcaption { border: 1px sol

Re: [css-d] Equal length columns?

2012-10-23 Thread Joergen Lang
Am 23.10.12 18:29, schrieb Al Sparber: [...] All CSS methods, except for "all-natural" CSS 3 methods, are hacks that come with potential consequences such as the inability to support same-page links or design limitations. Your statements appear to be a little gernal. Could you please elaborat

Re: [css-d] Equal length columns?

2012-10-23 Thread Joergen Lang
Am 23.10.12 18:29, schrieb Al Sparber: [...] All CSS methods, except for "all-natural" CSS 3 methods, are hacks that come with potential consequences such as the inability to support same-page links or design limitations. Your statements appear to be a little gernal. Could you please elaborat

Re: [css-d] Equal length columns?

2012-10-23 Thread Joergen Lang
Google is your friend. :o) A search for "css equal height columns" should bring up some good results. This article IMHO is a good starting point: http://matthewjamestaylor.com/blog/equal-height-columns-cross-browser-css-no-hacks hth, Jørgen Am 22.10.12 19:59, schrieb J.C. Berry: Hello al

Re: [css-d] Equal length columns?

2012-10-23 Thread Joergen Lang
Am 22.10.12 20:13, schrieb Al Sparber: [...] I would like to extend one column of our site all the way to the bottom of the varying middle column (first column always same length). [...] "CSS-only" methods would essentially be hacks like negative padding or using borders. The 'padding' pr