You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-user@incubator.apache.org by David Brunette <Da...@chordiant.com> on 2006/11/02 21:05:38 UTC

Table Border Skinning

 

     Hello all.  I am trying to skin our <tr:table /> components to
remove the border between all the cells in the table.  I tried to set
'border-style:  none' on many selectors for both af|table and
af|column... but nothing seemed to work.  The only way I was able to
remove the border was to set the border-color and background-color to be
the same.

 

     Then I noticed something in the rendered HTML and the generated CSS
file.  Each of the rendered <td /> elements have an attribute of
class="x6m xag".  The class 'x6m' has the style that I wanted... but the
border-style was being overridden by the class 'xag'.  In the generated
CSS file, I found:

 

.OraTableBorder1111,.xag {border-style:solid;border-width:1px}

 

     I do not see this selector in any of the documentation I have, so I
am wondering if this is really supposed to be happening.  Is this
'.OraTableBorder1111' supposed to be taking over the border-style of my
table or column components??  I found a similar situation with the
border-style on sortable column headers, but I suspect the answer will
be the same, so I will hold off on the details of that issue for now.

 

     Thanks...

 

Dave

The information transmitted herewith is sensitive      information of Chordiant Software or its customers and is intended only for use to the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon, this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.

Re: Table Border Skinning

Posted by Danny Robinson <da...@gmail.com>.
That would work, but shouldn't that surely be a skinning decision?

Thx,

D.

On 11/2/06, Adam Winer <aw...@gmail.com> wrote:
>
> You could set horizontalGridVisible="false" and
> verticalGridVisible="false"
> on the table.
>
> -- Adam
>
>
> On 11/2/06, David Brunette <Da...@chordiant.com> wrote:
> >
> >
> >
> >      Hello all.  I am trying to skin our <tr:table /> components to
> > remove the border between all the cells in the table.  I tried to set
> > 'border-style:  none' on many selectors for both af|table and
> > af|column... but nothing seemed to work.  The only way I was able to
> > remove the border was to set the border-color and background-color to be
> > the same.
> >
> >
> >
> >      Then I noticed something in the rendered HTML and the generated CSS
> > file.  Each of the rendered <td /> elements have an attribute of
> > class="x6m xag".  The class 'x6m' has the style that I wanted... but the
> > border-style was being overridden by the class 'xag'.  In the generated
> > CSS file, I found:
> >
> >
> >
> > .OraTableBorder1111,.xag {border-style:solid;border-width:1px}
> >
> >
> >
> >      I do not see this selector in any of the documentation I have, so I
> > am wondering if this is really supposed to be happening.  Is this
> > '.OraTableBorder1111' supposed to be taking over the border-style of my
> > table or column components??  I found a similar situation with the
> > border-style on sortable column headers, but I suspect the answer will
> > be the same, so I will hold off on the details of that issue for now.
> >
> >
> >
> >      Thanks...
> >
> >
> >
> > Dave
> >
> > The information transmitted herewith is sensitive      information of
> > Chordiant Software or its customers and is intended only for use to the
> > individual or entity to which it is addressed. If the reader of this
> message
> > is not the intended recipient, you are hereby notified that any review,
> > retransmission, dissemination, distribution, copying or other use of, or
> > taking of any action in reliance upon, this information is strictly
> > prohibited. If you have received this communication in error, please
> contact
> > the sender and delete the material from your computer.
> >
> >
>
>


-- 
Chordiant Software Inc.
www.chordiant.com

Re: Table Border Skinning

Posted by Adam Winer <aw...@gmail.com>.
You could set horizontalGridVisible="false" and verticalGridVisible="false"
on the table.

-- Adam


On 11/2/06, David Brunette <Da...@chordiant.com> wrote:
>
>
>
>      Hello all.  I am trying to skin our <tr:table /> components to
> remove the border between all the cells in the table.  I tried to set
> 'border-style:  none' on many selectors for both af|table and
> af|column... but nothing seemed to work.  The only way I was able to
> remove the border was to set the border-color and background-color to be
> the same.
>
>
>
>      Then I noticed something in the rendered HTML and the generated CSS
> file.  Each of the rendered <td /> elements have an attribute of
> class="x6m xag".  The class 'x6m' has the style that I wanted... but the
> border-style was being overridden by the class 'xag'.  In the generated
> CSS file, I found:
>
>
>
> .OraTableBorder1111,.xag {border-style:solid;border-width:1px}
>
>
>
>      I do not see this selector in any of the documentation I have, so I
> am wondering if this is really supposed to be happening.  Is this
> '.OraTableBorder1111' supposed to be taking over the border-style of my
> table or column components??  I found a similar situation with the
> border-style on sortable column headers, but I suspect the answer will
> be the same, so I will hold off on the details of that issue for now.
>
>
>
>      Thanks...
>
>
>
> Dave
>
> The information transmitted herewith is sensitive      information of
> Chordiant Software or its customers and is intended only for use to the
> individual or entity to which it is addressed. If the reader of this message
> is not the intended recipient, you are hereby notified that any review,
> retransmission, dissemination, distribution, copying or other use of, or
> taking of any action in reliance upon, this information is strictly
> prohibited. If you have received this communication in error, please contact
> the sender and delete the material from your computer.
>
>