I am trying to make something display in IE8 - namely, the dots in each table row that mimics a list. It's done in asp.net and has some server controls, so the changes that I can make are pretty limited. I made some style sheet changes that do the trick in current browsers, but the dots/bullets don't display in IE 8. I have created a sample page that demonstrates the problem. Code is below, as is a jsFiddle link.
Any ideas on how I might find an IE-compatible way to display the bullets on each line? I guess I could stick an image there, butwho knows what other hijinx I may run into. Thanks in advancve for any advice.
<!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>
<title>Untitled Page</title>
<!-- Add jquery for client side functionality... -->
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css" />
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
<style>
.TableListItems
{
padding: 10px 5px 0px 15px;
text-decoration:none;
font-weight:normal;
border: none 0 white;
}
td.TableListItems
{
display:list-item;
list-style:disc inside;
}
</style>
</head>
<body>
<table cellspacing="0" rules="all" border="1" style="width:100%;border-collapse:collapse;">
<tr>
<th scope="col" style="width:100%;">The title</th>
</tr><tr class="TableListItems">
<td class="TableListItems">A line of text a line of text</td>
</tr><tr class="TableListItems">
<td class="TableListItems">more lines of text more lines of text</td>
</tr><tr class="TableListItems">
<td class="TableListItems">still more lines of text</td>
</tr>
</table>
</body>
<script language="javascript" type="text/javascript">
$(document).ready(function () {
$("td.TableListItems").css( { "display":"list-item", "list-style":"inside" } );
});
</script>
</html>
and- balise?
– Orelsanpls Jun 03 '14 at 22:22