Welcome to WebmasterWorld Guest from 54.196.175.173

Forum Moderators: not2easy

Message Too Old, No Replies

css and tables

     

fintan

9:37 am on Aug 15, 2002 (gmt 0)

10+ Year Member



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

10:44 am on Aug 15, 2002 (gmt 0)

10+ Year Member



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

11:03 am on Aug 15, 2002 (gmt 0)

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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

11:06 am on Aug 15, 2002 (gmt 0)

10+ Year Member



thanks Ill try that

moonbiter

2:45 pm on Aug 15, 2002 (gmt 0)

10+ Year Member



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.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month