homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

css and tables

 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.




 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.


 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....



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

thanks Ill try that


 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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved