I set the href of each tab to be “controller/method” so that it will display in the tab.
It really went great for the contents to load in the tab but as I set the styles of the html table (sample content that came from controller/method) and it doesn’t work.
Below is the screenshot of the tab loaded via ajax.

Here is the result if the method is directly access from the URL.

Question: Why does the table don’t appear to be the same when loaded via ajax?
Already solved this problem.
I placed the css in the main page thus, making the dynamic content acquire the styles.