Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I believe this is what you need (might need tweaking according to your needs):</p> <pre><code>function getInternetExplorerVersion() // Returns the version of Windows Internet Explorer or a -1 // (indicating the use of another browser). { var rv = -1; // Return value assumes failure. if (navigator.appName == 'Microsoft Internet Explorer') { var ua = navigator.userAgent; var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); if (re.exec(ua) != null) rv = parseFloat(RegExp.$1); } return rv; } function checkIEVersion() { var ver = getInternetExplorerVersion(); if (ver &gt; -1) { if (ver == 6.0) { $html = "&lt;TABLE id=\"tableToModify\" width=\"1100px\" border=\"1\" class='list questionaire' width='600'&gt;" + "&lt;TR class='columndesc'&gt;" + "&lt;TD WIDTH=\"50%\"&gt;Col1&lt;font color=\"red\"&gt;*&lt;/font&gt;&lt;/TD&gt;" + "&lt;TD WIDTH=\"50%\"&gt;Col1&lt;font color=\"red\"&gt;*&lt;/font&gt;&lt;/TD&gt;" + "&lt;/TABLE&gt;"; } else { $html = "&lt;TABLE id=\"tableToModify\" width=\"1100px\" border=\"1\" class='list questionaire' width='600'&gt;" + "&lt;TR class='columndesc'&gt;" + "&lt;TD WIDTH=\"22%\"&gt;Col1&lt;font color=\"red\"&gt;*&lt;/font&gt;&lt;/TD&gt;" + "&lt;TD WIDTH=\"22%\"&gt;col2&lt;font color=\"red\"&gt;&lt;/font&gt;&lt;/TD&gt;" + "&lt;TD WIDTH=\"22%\"&gt;col3&lt;font color=\"red\"&gt;&lt;/font&gt;&lt;/TD&gt;" + "&lt;TD WIDTH=\"22%\"&gt;col4&lt;font color=\"red\"&gt;*&lt;/font&gt;&lt;/TD&gt;" + "&lt;TD WIDTH=\"22%\"&gt;col5&lt;font color=\"red\"&gt;*&lt;/font&gt;&lt;/TD&gt;" + "&lt;TD WIDTH=\"12%\"&gt; col6&lt;font color=\"red\"&gt;*&lt;/font&gt;&lt;/TD&gt;" + "&lt;/TABLE&gt;"; } document.write($html); } } checkIEVersion(); </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload