You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Oliver Gottwald <ol...@hotmail.com> on 2005/10/11 16:21:22 UTC
quick dataTable format question
hi everyone,
i was wondering ....
is there a way to get rid of the spacing between columns on a dataTable?
i have a spec for a client that requires that. a quick response would be
greatly appreciated.
oliver
Re: quick dataTable format question
Posted by Andrew robinson <an...@gmail.com>.
Another way:
In the style off your data table class, set the border-collapse css
attribute. Example:
<style type="text/css">
TABLE.myDataTable {
*border**-**collapse*: collapse;
}
</style>
...
<h:dataTable ... styleClass="myDataTable"...
On 10/11/05, Marius Kreis <ma...@nulldevice.org> wrote:
>
> i think you can do this with stylesheets.
> use the attribute columnClasses="mycolumn" to assign a styleclass to the
> columns and attach a stylesheet containing something like
>
> .mycolumn
> {
> border-spacing: 0;
> padding: 0;
> }
>
> Oliver Gottwald wrote:
> > hi everyone,
> >
> > i was wondering ....
> >
> > is there a way to get rid of the spacing between columns on a dataTable?
> >
> > i have a spec for a client that requires that. a quick response would
> > be greatly appreciated.
> >
> > oliver
> >
> >
> >
>
>
Re: quick dataTable format question
Posted by Marius Kreis <ma...@nulldevice.org>.
i think you can do this with stylesheets.
use the attribute columnClasses="mycolumn" to assign a styleclass to the
columns and attach a stylesheet containing something like
.mycolumn
{
border-spacing: 0;
padding: 0;
}
Oliver Gottwald wrote:
> hi everyone,
>
> i was wondering ....
>
> is there a way to get rid of the spacing between columns on a dataTable?
>
> i have a spec for a client that requires that. a quick response would
> be greatly appreciated.
>
> oliver
>
>
>
Re: quick dataTable format question
Posted by Oliver Gottwald <ol...@hotmail.com>.
bruno,
duuu on my part. it worked! thank you for the quick response.
oliver
>From: Bruno Aranda <br...@gmail.com>
>Reply-To: "MyFaces Discussion" <us...@myfaces.apache.org>
>To: MyFaces Discussion <us...@myfaces.apache.org>
>Subject: Re: quick dataTable format question
>Date: Tue, 11 Oct 2005 16:28:56 +0200
>
>Use the attributes cellspacing="0" and/or cellpadding="0",
>
>Regards,
>
>Bruno
>
>2005/10/11, Oliver Gottwald <ol...@hotmail.com>:
> > hi everyone,
> >
> > i was wondering ....
> >
> > is there a way to get rid of the spacing between columns on a dataTable?
> >
> > i have a spec for a client that requires that. a quick response would
>be
> > greatly appreciated.
> >
> > oliver
> >
> >
> >
Re: quick dataTable format question
Posted by Bruno Aranda <br...@gmail.com>.
Use the attributes cellspacing="0" and/or cellpadding="0",
Regards,
Bruno
2005/10/11, Oliver Gottwald <ol...@hotmail.com>:
> hi everyone,
>
> i was wondering ....
>
> is there a way to get rid of the spacing between columns on a dataTable?
>
> i have a spec for a client that requires that. a quick response would be
> greatly appreciated.
>
> oliver
>
>
>