| css and tables
|
fintan

msg:1211477 | 9:37 am on Aug 15, 2002 (gmt 0) | I have over 500 pages to edit and I need to do it fast, can css insert a border value of "0" in a table or do I have to do it the hard way. I would be greatful for any help. Thanks fintan.
|
SmallTime

msg:1211478 | 10:44 am on Aug 15, 2002 (gmt 0) | Hi, welcome to WebmasterWorld. I think we are talking apples and oranges here, that is no. A clever use of find and replace might do it.
|
Nick_W

msg:1211479 | 11:03 am on Aug 15, 2002 (gmt 0) | Actually, I believe it can:
table { border: 0; }
But that won't work if you have border="1" in your table tags or inline styles.... Nick
|
fintan

msg:1211480 | 11:06 am on Aug 15, 2002 (gmt 0) | thanks Ill try that
|
moonbiter

msg:1211481 | 2:45 pm on Aug 15, 2002 (gmt 0) | Mmm, you'll need it to be: table, td { border: 0; } if you want to get rid of the grid. This is because setting a border on a table in CSS only sets the outside border of a table element. Note that border: none also works. Also, as far as I can tell this will override a border="1" declaration in html in most modern browsers.
|
|
|