0

I've started creating simple data table with bootstrap styling based on : http://www.datatables.net/examples/styling/bootstrap.html .

The result is not the same as the example, you can see here:

$(document).ready(function() {
   $('#example').dataTable({});
} );

http://jsfiddle.net/yb3kk8cn/

Elements above and below the table (filter and the paginanation) position is overlapping, not inline.

3
  • its fine and same as the example Commented Sep 3, 2015 at 4:54
  • In the fiddle, if you just make the result frame wider, bootstrap will put nav items inline. Something about elements colapsing and stacking when the container is less than 970 px wide Commented Sep 3, 2015 at 5:11
  • Thank you, solved. It's about the size of container. What I need to do is create a wrapper with min-width. Commented Sep 3, 2015 at 7:49

1 Answer 1

2

Elements above and below the table (filter and the paginanation) position is overlapping, not inline.

This only happens on small screen sizes, which is more likely on jsfiddle because of the layout.

I think your fiddle looks correct otherwise. Your table headings are bold but that's an easy css fix.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.