HTML question - TechRepublic
Question
February 12, 2013 at 01:00 PM
slayer_

HTML question

by slayer_ . Updated 13 years, 3 months ago

Google isn’t being very helpful today 🙁

So I got a long page of tables, it’s meant to be printed. each table is one after another, with no line breaks.
Basically, its table /table table /table
etc.
It’s done this way to look like a table in word, but as separate tables so that HTML paginates properly.

This works good, but the borders of the tables double up, making the top border of each subsequent table double width in appearance.
I fixed this in css by setting the top border of the table to 0. Thus, every bottom border is the next tables top border and it looks good. For the first table in the list, I changed the code to put the top border. Making it the only table in the list of tables that has a top border.

But my issue, when the tables get distributed to printed pages, the second page starts the table without the top border.

So how do I fix it so that, either the first table on the second page has the border, or that the borders don’t double each other up?

If it matters, this page is only ever displayed in Internet Explorer.

This discussion is locked

All Comments