Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Numbering is getting restarted while opening HTML file in IE 11 when it contains hyper link.

$
0
0

Hi,

I have a HTML file which contains numbering list and that list's some line contains hyper links. When we open that file in IE 11, the numbering list is getting restarted when the hyperlinks line reached. But same file is properly opening ion IE 8. The HTML file code snippet is given below.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html;CHARSET=UTF-8" />
    <style type="text/css">
        body{
            margin: 2pt 3pt 2pt 3pt;
            font-family: sans-serif;
            color: #000000;
            background-color: #FFFFFF;
            font-size: 10pt;
        }        
        
        li{
            padding: 5pt;            
        }            
    </style>
</head>
<body class="manual">    
<a name="1">
        <h4>My Project Details</h4>
        <ol type="1">
            <li>Project Name.</li>
            <li>Project Title.</li>
            <li>Project Description. <a href="#">Click Here</a></li>
            <li>Project Date.</li>          
        </ol>    

</body>
</html>

Here, the output is displaying as

My Project Details
1.Project Name.
2.Project Title.
1.Project Description. Click Here
2.Project Date.

Could you please help why the output is displaying like this?

Thanks in advance.

Regards,

Hari.


Viewing all articles
Browse latest Browse all 3527


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>