Problem with Internet Explorer Display
Problem with Internet Explorer Display
DanOsh
Posts: 37Questions: 11Answers: 1
In Firefox and Chrome, my tables display. In Internet Explorer they don't. I'm using the purchased copy of DataTables Editor.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Perhaps IE is more sensitive to the errors in your code.
For example, your <div> tag immediately inside the body section has no closing </div> tag.
Just two slashes required at the start... :-)
Also, as noted in the documentation for the nightlies, keep in mind that the nightly version can and does break from time to time. Use the CDN release version for production.
Allan
The
<
div> correction didn't work, but thanks for the heads up.
Allan - sorry, not sure by what you mean for two slashes to start??
Below is my code which is relatively simple and as I said, it displays great in Firefox and Chrome, but not IE -- http://www.skywateryachts.com/dataviews_test/boats_sold.html
```
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
<script type="text/javascript" language="javascript" src="js/dataTables.editor.js"></script>
<script type="text/javascript" language="javascript" src="resources/syntax/shCore.js"></script>
<script type="text/javascript" language="javascript" src="resources/demo.js"></script>
<script type="text/javascript" language="javascript" class="init">
var editor; // use a global for the submit and return data rendering in the examples
$(document).ready(function() {
} );
</script>
</head>
<body style='margin-top:0;margin-left:10px;margin-right:10;'>
<table id="example" class="display" cellspacing="0" width="100%">
<thead>
<tr>
<th>Vessel<br />Name</th> <!-- style="white-space: nowrap" -->
<th>Base<br />Category</th>
<th style="text-align: center">LOA</th>
<th>Built</th>
<th>Builder</th>
<th>Date<br />Sold</th>
</tr>
</thead>
</body>
</html>```
Never mind Allan, I got it.
I thought at first you meant start with // before the page or DataTables editor coding. I opened up a sample file and there it jumped out at me, I had href's starting with //, different than the sample files. Not sure how that changed up on me.
Thanks for putting me on the correct path.