Search code examples
phpcssyuiyui-datatable

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?


Solution

  • 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!