Posted: Thu Nov 12, 2009 2:08 pm customize rules in a table
i had a simple two column table with 20 rows. i need a vertical rule to separate columns and rules under each row. i used the rules=all which gave me two vertical rules, one after the first column and one after the last column – one too many. i did get a rule under each row, though which is good.
I then inserted a column in the middle so that I could use the colgroup tag. I had to tell it there were 3 columns after the first to get it to work, but it worked, except in IE 6 there is still a faint vertical rule at the end. the big problem is, now i don't have horizontal rules. the <hr> tag gives too much space above it and below.
code looks like this now:
<table width="429" border="1" cellspacing="0" cellpadding="0" frame="void" rules=groups>
You'll need a little css help and giving the table an id.
This method works with the exceptions;
IE col border is light colored.
FF puts bottom border on last row.
Safari, Opera and Chrome does not have a bottom border on last row.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum