Forwarded, because sometimes I'm a bit daft and didn't add the CSS list, and
others might find the chart useful.

-Jack
---------- Forwarded message ----------
From: Jack Timmons <[EMAIL PROTECTED]>
Date: Wed, Apr 16, 2008 at 9:49 AM
Subject: Re: [css-d] checkbox margins
To: Daniel Kessler <[EMAIL PROTECTED]>


Actually, I think Christian Kirchhoff indirectly corrected me by adding
quotes instead. I'm not sure if it's required (I never use attribute
selection, no need to yet, and not IE friendly), so my example of them was
probably wrong

If you haven't found it, Quirksmode.org has an excelent CSS Compatability
Chart (1) I'll reference if for some reason I can't remember.

Just remember that by doing ul.classname input that you're targetting all
input types (text, password, submit, etc), so keep that in mind.

-Jack Timmons

1: http://www.quirksmode.org/css/contents.html
  On Wed, Apr 16, 2008 at 9:39 AM, Daniel Kessler <[EMAIL PROTECTED]> wrote:

>
> On Apr 16, 2008, at 9:54 AM, Jack Timmons wrote:
>
> > Others may have a better idea, but since I can't see an exact example if
> > give a better answer, I'll go with this:
> >
> > Checkboxes are of type "input" first of all. If your lists have classes,
> > you can try something like:
> >
> > ul.classname input{}
> >
> > But that will go for any input. You can try aiming for atrribute
> > selectors, too, although I believe that doesn't work in IE6 or <:
> >
> > input[type=checkbox]
> >
> > Anyone correct me if I'm off here.
> >
> >
>
>  I didn't understand that previously.  It didn't work in ie7 either, but
> more importantly I get it.  This is not a big deal and it won't matter if
> it's missing.  I was just trying to do things the way I thought was right
> and that was a margin instead of a nbsp;   In this case that ul has just
> checkboxes in it cause I'm using it to lay out a list of options.  So, I
> targeted the ul inputs, as you suggested.
>
>
> Thank you Jack and everyone else that answered.
>
>
> --
>
> Daniel Kessler
>
> University of Maryland College Park
> School of Public Health
> 3302E HHP Building
> College Park, MD  20742-2611
> Phone: 301-405-2545
> http://sph.umd.edu
>
>
>
>
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to