incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeanne Waldman <jeanne.wald...@oracle.com>
Subject Re: Simple question about skins and image borders
Date Wed, 05 Jul 2006 03:30:07 GMT
What is causing the borders anyway? Is it the browser default?
If so, we can create a skinning hook for these, and even default it in 
the simple skin to border-width:0px.

Cosma Colanicchia wrote:

> Ok, this is a solution.. but I think that 99.9% of people using
> af:objectImage out there don't want those ugly borders, maybe we could
> create a skinning hook for this component.
>
> If you agree I can create a JIRA for this.
>
> Cosma
>
>
>
> 2006/7/4, Jeanne Waldman <jeanne.waldman@oracle.com>:
>
>> Hello,
>>
>> There are no specific skinning hooks for the objectImage component,
>> which is why you don't see it documented.
>>
>> Are you trying to remove the image borders of the objectImage component?
>>
>> If so, you can use the styleClass or inlineStyle attributes.
>> If you use inlineStyle, it would look like this:
>>
>> <af:objectImage inlineStyle="border-width:0px"/>
>>
>> - Jeanne
>>
>> Cosma Colanicchia wrote:
>>
>> > Hi,
>> >
>> > I'm trying to remove the image borders using a Trinidad skin, but I 
>> can't
>> > find a component named objectImage in the adf-faces-skins-doc.xml. I
>> > would
>> > like to do this in the skin, instead of loading a separate css with a
>> > generic .image { border-width: 0px } style.
>> >
>> > This should be an easy one, but still can't find where I'm wrong.
>> > Anyone can
>> > help?
>> >
>> > Thank you
>> > Cosma
>> >
>>
>>
>


Mime
View raw message