2 Pixel Gap between Table Cells

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
ThiNg
Propeller Head
Posts: 23
Joined: Tue Jul 22, 2008 5:53 am

2 Pixel Gap between Table Cells

Post by ThiNg »

I am stuck on a styling problem. All if the cells in my tables have a 2 pixel gap between then. I have set the margins and the padding to zero for the cell classes (and the table), and when I add borders, there is still a 2 pixel gap. Has anyone come across this before? I will post a screenshot or the CSS code if you need it...
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: 2 Pixel Gap between Table Cells

Post by LTinker68 »

Go to the Table Properties screen for each table, and in the Borders screen, set the cell border spacing to 0. And select the option to collapse the cell borders.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
ThiNg
Propeller Head
Posts: 23
Joined: Tue Jul 22, 2008 5:53 am

Re: 2 Pixel Gap between Table Cells

Post by ThiNg »

Lisa,

Once again you are my saviour!

Now, I didn't see anything in the CSS change. What is the property that controls these cell borders? I need to change 183 files with multiple tables. Any ideas??
ThiNg
Propeller Head
Posts: 23
Joined: Tue Jul 22, 2008 5:53 am

Re: 2 Pixel Gap between Table Cells

Post by ThiNg »

Found it!!

In the Style Sheet Editor (that'll teach me to edit my CSS manually :? ), under the Tables heading, expand the Table node and set the border-collapse setting to a value of collapse.

Hope that saves someone else hours of frustration...
Post Reply