user3413623
user3413623

Reputation: 80

YUI datatable not styling

i am using YUI2 to add the plugins to my table.

this is an example:

http://www.tampografica.com/atech/admin/YUIdatatable.html

it is not loading the CSS styling anybody knows why?

Upvotes: 2

Views: 300

Answers (1)

alex
alex

Reputation: 490481

Update

Add the class yui-skin-sam to the div with an id of markup.

Example

Example


The link element is malformed.

<link rel=stylesheet type="text/css" href="<link rel=" stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?2.9.0/build/datatable/assets/skins/sam/datatable.css"> 

...and the HTML parser is using the first href attribute it comes across.

Try this...

<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?2.9.0/build/datatable/assets/skins/sam/datatable.css"> 

...and then it works!

Upvotes: 3

Related Questions