Solved

Data tables Editor Width with Scoll

Posted on 2014-09-22
3
173 Views
Last Modified: 2014-09-22
I'm currently trying to implement a simple datatable with editor.

datatables.net

I need the table to be within inside the container however it seems to break out across the page.

please see link below.

www.shl.me/editor/1/

Many thanks in advance.
0
Comment
Question by:Geektank
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
rgranlund earned 500 total points
ID: 40336580
div.container {
    margin: 0 auto;
    max-width: 980px;
    overflow: scroll;
}

.dataTables_wrapper:after {
    clear: both;
    content: "";
    display: block;
    height: 0;
    visibility: hidden;
width:980px;
}

Open in new window

0
 

Author Comment

by:Geektank
ID: 40336808
Thanks
0
 

Author Closing Comment

by:Geektank
ID: 40336813
overflow-x: auto;
 

was the key, thanks.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! https://www.google.com/about/careers/students/guide-to-technical-development.html How to Know You are Making a Difference at EE In August, 2013, one …
Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now