By default, input is an inline element.  Not sure why margin would fail but 
width would work, but… great! :-)

On Feb 9, 2012, at 5:07 AM, Theodore Petrosky wrote:

>> span.PeoplePermissionsAttrVal input {
>>     margin-right: 1em;
>> }
>> 
> did do anything but:
> 
> span.PeoplePermissionsAttrVal input {
>     width: 75px;
> }
> 
> worked 
> 
> --- On Wed, 2/8/12, Ramsey Gurley <[email protected]> wrote:
> 
>> From: Ramsey Gurley <[email protected]>
>> Subject: Re: ERD2WMultiItemCustomComponent and CSS
>> To: "Theodore Petrosky" <[email protected]>
>> Cc: [email protected]
>> Date: Wednesday, February 8, 2012, 10:39 AM
>> Never heard of that component :-)
>> Try
>> 
>> span.PeoplePermissionsAttrVal input {
>>     margin-right: 1em;
>> }
>> 
>> Ramsey
>> 
>> On Feb 8, 2012, at 5:19 AM, Theodore Petrosky wrote:
>> 
>>> I am using ERD2WMultiItemCustomComponent but have a
>> problem targeting the element's css.
>>> 
>>> I don't know what else to say? when I look at the web
>> inspector in Safari, there don't appear to be any classes to
>> hook onto? The first element has an id but the remaining
>> elements have nothing.
>>> 
>>> there is a wrapping span
>>> 
>>> <span class="AttrVal EditAttrVal
>> PeoplePermissionsAttrVal">
>>>          
>>    <span>
>>> <span class="PropertyName">Can See User
>> Area</span> <input type="checkbox"
>> name="0.3.5.1.2.3.0.1.0.0.3.3.3.0.1.0.1.3.3.1.3.1.0.0.3.1"
>> id="peoplePermissions"
>> value="0.3.5.1.2.3.0.1.0.0.3.3.3.0.1.0.1.3.3.1.3.1.0.0.3.1"
>> /> 
>>> 
>>> <span class="PropertyName">Can Edit User
>> Settings</span> <input type="checkbox"
>> name="0.3.5.1.2.3.0.1.0.0.3.3.3.0.1.0.1.3.3.1.3.1.0.1.3.1"
>> value="0.3.5.1.2.3.0.1.0.0.3.3.3.0.1.0.1.3.3.1.3.1.0.1.3.1"
>> /> 
>>> 
>>> <span class="PropertyName">Can Create New
>> User</span> <input type="checkbox"
>> name="0.3.5.1.2.3.0.1.0.0.3.3.3.0.1.0.1.3.3.1.3.1.0.2.3.1"
>> value="0.3.5.1.2.3.0.1.0.0.3.3.3.0.1.0.1.3.3.1.3.1.0.2.3.1"
>> /> 
>>>              
>> </span>
>>> 
>>> I am trying to set the trailing space after the
>> checkboxes. Did I miss binding in something?
>>> 
>>> Ted
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be
>> ignored.
>>> Webobjects-dev mailing list      ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/ramseygurley%40gmail.com
>>> 
>>> This email sent to [email protected]
>> 
>> 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to