In XHTML 1.0 table border color should be placed in the css and not in the code for the page.
In this case how is it possible to have tables on different pages with different border colors ?
Also when I assign a border color in css it gives the color to the top/bottom/left/right borders around the outside of a table,but not to any of the inner borders. How is this done ??
Mika





detox posted this at 12:58 — 22nd January 2002.
They have: 571 posts
Joined: Feb 2001
not having jumped into XHTML too far yet, I assume that if you want to have different border colors on different tables you would assign them a different class in the css file. Much like you would with different link colors throughout a site.
Not sure on the second question. If it is done through css though try using
<?phpBORDER: solid 1px #000000;
?>
Detox -TWF Moderator
DetoxDezigns - freelance
disaster-master posted this at 14:11 — 22nd January 2002.
She has: 2,152 posts
Joined: May 2001
Here are some links for reference until Suzanne appears.
The first two are on borders and the third is a really good CSS reference in general.
http://www.jegsworks.com/demos/DemoCSS/i-tborders.htm
http://www.htmlgoodies.com/beyond/css_borders.html
http://www.mako4css.com/index.htm
Sonia
"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming -- WOW--What a Ride!!!"
Suzanne posted this at 19:44 — 22nd January 2002.
She has: 5,512 posts
Joined: Feb 2000
1. different table border colours on different pages -- use classes
2. inner borders -- define as well
3. grid look (no spaces between) -- border-collapse
http://www.webreview.com/style/css1/charts/mastergrid.shtml
http://www.westciv.com.au/style_master/
http://www.bradsoft.com/
and/or Schengili-Roberts' book Core CSS -- excellent reference.
love me, love my brain :: iStockphoto portfolio