Page 1 of 1

border-collapse Property

Posted: Mon Jul 07, 2014 8:18 pm
by Mike6580064

I am trying to use the border-collapse property on my grid but the border still doubles up between cells. I tried adding !important to the property but with no success. I just want a single 1px line between the lines of horizontal text.

.grid {
border-collapse: collapse;
border-bottom-style: solid;
border-bottom-width: 1px;
border-bottom-color: #cccccc;
border-top-style: solid;
border-top-width: 1px;
border-top-color: #cccccc;
}

Image


border-collapse Property

Posted: Mon Jul 07, 2014 8:27 pm
by Evgene Karachevtsev

Hello Mike,

Please clarify do you have one table or multiple tables (obtained by mapping)?


border-collapse Property

Posted: Tue Jul 08, 2014 12:12 pm
by Mike6580064

There is one (1 row x 2 columns) grid with a list service inside.

Image


border-collapse Property

Posted: Tue Jul 08, 2014 2:13 pm
by Kateryna Grynko

Hi Mike,

Mapping multiplies components, so styles applied to it will be displayed for every multiplied component separately.

You can add an HTML component to a page, set Type=div and move your Grid to this component. Then add a border for it.


border-collapse Property

Posted: Tue Jul 08, 2014 3:40 pm
by Mike6580064

Thanks Katya