I have a table that measures 100 cells by 50 (no kidding) but I want to apply a sort of intercellular border every 10 cells horizontally and vertically. How would I do this without destroying my large table and putting its data in 50 independant tables?
Joined: 15 May 2004 Posts: 8259 Location: Castle Rock CO USA
Posted: Thu Feb 28, 2008 3:41 pm
You can create a style that applies a border to certain cells - maybe something like
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Well I already have like 20 different classes for the fields and each cell is seperately by a black line of 1 pixel instead of cellspacing (I think this is the default). This is the structure of the file:
Code:
classes (including backgrounds, cell borders, text size etc.)
[table]
row 1 (each row is 100 cells)
row 2
row 3
etc for 47 more.
[/table]
But I was wondering how to apply cellspacing that seperated the table into 10x10 sections but still be 1 table in code
Joined: 15 May 2004 Posts: 8259 Location: Castle Rock CO USA
Posted: Fri Feb 29, 2008 7:26 am
You can apply another class to tds
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
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