[WSG] to border or not to border, that is the question
Hi All I've always been one to remove border attributes from data table markup. However, today I disabled styles on a fairly complicated table and realized it made very little sense without any demarcation between the cells. It would be simple enough to do table border=1. And table, td, th, thead, tbody, tfoot {border:none;} And then add them back as needed. What do you think? Is it a good idea? Should I turn around and run away from adding some presentational markup in my pages? Ted Drake Front-end Engineer Yahoo! Tech ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] to border or not to border, that is the question
It would be simple enough to do table border=1. And table, td, th, thead, tbody, tfoot {border:none;} And then add them back as needed. What do you think? Is it a good idea? Should I turn around and run away from adding some presentational markup in my pages? I think it's find to have border=1 in the markup. As you said, without the CSS, the table really lacks visually, so I think you would actually be making it less accessible by not hard coding the border. -- -- C Montoya rdpdesign.com ... liquid.rdpdesign.com ... montoya.rdpdesign.com ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] to border or not to border, that is the question
Hi, However, today I disabled styles on a fairly complicated table and realized it made very little sense without any demarcation between the cells. It would be simple enough to do table border=1. I've found that tables really need a border to make sense, much the same as a fieldset needs the border. I think it should be the default, basically. So, for all my tables I include border=1 and style however I want over the top of that. Ben Buchanan -- --- http://www.200ok.com.au/ --- The future has arrived; it's just not --- evenly distributed. - William Gibson ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **