Jump to content

<table border="0" is deprecated, how can I replace it?


yoursurrogategod

Recommended Posts

Some documents list border as being deprecated, but going to the source, it appears as if it was still valid as of HTML4:

 

http://www.w3.org/TR/html4/struct/tables.html#h-11.3.1

 

Interestingly enough, it's still valid in HTML5 as well, however it only accepts two values, empty or 1. 1 indicates that there is a border, and empty indicates that there isn't. The actual style of the border should be set in CSS.

Link to comment
https://forums.phpfreaks.com/topic/261252--/#findComment-1338804
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.