Roger Roelofs wrote:
> Les,
>
> On Jan 20, 2006, at 10:26 AM, Les Mizzell wrote:
>
>> I'm doing a vertical style form with CSS like: <snip>
>> But, I've got a paragraph in the middle of the form and I need a
>> single
>> checkbox to display *inline* inside the paragraph:
>>
>> <p id="inlineBOX">blah, blah, blah, blah <input type="checkbox">
>> blah....</p>
>>
>> So far, I've found NOTHING that will override the "#contactFORM input"
>> rule and get the darned checkbox to display inline inside the
>> paragraph,
>> including stuff like:
>>
>> #inlineBOX input {
>
> Without a test page I can't be sure, but how about
> #contactFORM #inlineBOX input { ... }
>
> Basically you need a selector with a higher specificity to override
> the other styles. You only need display: inline; + appropriate padding.
I am not sure, but I think you'll need to override the width, too
#contactFORM input {
display: block;
width: 350px;
}
#inlineBOX input {
display:inline;
width:auto;
}
Ingo
--
http://www.satzansatz.de/css.html
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/