DataTablesSrc icon indicating copy to clipboard operation
DataTablesSrc copied to clipboard

Styling table responsive doesn't work because cdn link doesn't include the following attributes rel="stylesheet" type="text/css"

Open daffaharizal opened this issue 2 years ago • 1 comments

Maybe it's just changing the documentation, but it's really necessary for a better user experience. I experienced it because the cdn link from the official documentation didn't include it.

daffaharizal avatar Mar 17 '23 01:03 daffaharizal

Is this on the installation page (or somewhere else)? The rel="stylesheet" attribute is absolutely needed and I accidentally removed that recently. I've just added it back.

The type attribute however isn't required - indeed MDN recommend not including it:

The common use of this attribute is to define the type of stylesheet being referenced (such as text/css), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the type attribute, but is actually now recommended practice.

AllanJard avatar Mar 17 '23 09:03 AllanJard