开发者

YUI datatable not styling

开发者 https://www.devze.com 2023-02-28 17:21 出处:网络
i am using YUI2 to add the plugins to my tabl开发者_运维知识库e. this is an example: http://www.tampografica.com/atech/admin/YUIdatatable.html

i am using YUI2 to add the plugins to my tabl开发者_运维知识库e.

this is an example:

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

it is not loading the CSS styling anybody knows why?


Update

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

Example

YUI datatable not styling


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!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号