Re: ERD2WMultiItemCustomComponent and CSS
Re: ERD2WMultiItemCustomComponent and CSS
- Subject: Re: ERD2WMultiItemCustomComponent and CSS
- From: Ramsey Gurley <email@hidden>
- Date: Thu, 09 Feb 2012 07:57:30 -0700
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@hidden> wrote:
>
>> From: Ramsey Gurley <email@hidden>
>> Subject: Re: ERD2WMultiItemCustomComponent and CSS
>> To: "Theodore Petrosky" <email@hidden>
>> Cc: email@hidden
>> 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@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden