Solved

Data tables Editor Width with Scoll

Posted on 2014-09-22
3
174 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
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…

863 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

23 Experts available now in Live!

Get 1:1 Help Now