ideaessence
01-09-2010, 08:40 PM
Hi,
I am working on customizing a template for someone here:
http://www.ideaessence.com/mullaneylawoffices/
In Internet Exploder 7, the square bullets are not showing up. It looks exactly how it should in Firefox. I want to make it look just how it does in Firefox now, but in Internet Exploder as well. First, I searched and thought it was an issue with the CSS for the actual elements directly involved. I thought for sure I found the problem in this thread:
http://codingforums.com/showthread.php?t=140138
Here's the strange thing. I kept changing things to add a margins/padding but it didn't work no matter what I did. Then I copied and pasted the HTML of the unordered list and the corresponding CSS into a separate page. I also copied and pasted the DIV called "left-nav" and its corresponding CSS into the separate page. Here is what I copied, pasted, and opened:
<!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">
<style type="text/css">
#left-nav
{width:220px; float:left;}
.leftlinks{
width:150px;
float:left;
}
.leftlinks ul
{
list-style-type: square;
text-align: left;
width: 100%;
padding-top: 2px;
}
.leftlinks ul li{
padding-top: 6px;
padding-bottom: 6px;
border-bottom: 1px solid #E8D9BD;
margin: 0;
}
.leftlinks ul li a
{
text-align: left;
padding-left: 5px;
font-size: 12px;
letter-spacing:1px;
text-decoration: none;
color: #4E4739;
}
.leftlinks ul li a:hover
{
color: #4E4739;
padding-left: 5px;
text-decoration:underline;
font-weight:bold;
}
</style>
<div id="leftnav"><div class="leftlinks">
<ul>
<li><a href="#">Areas of Practice</a></li>
<li><a href="#">Estate Planning</a></li>
<li><a href="#">PA Estate Administration</a></li>
<li><a href="#">Why Have a Will?</a></li>
<li><a href="#">Medicaid</a></li>
<li><a href="#">Funeral Pre-Planning</a></li>
<li><a href="#">Federal Estate and Gift Taxes</a></li>
<li><a href="#">PA Inheritance Tax Rates</a></li>
<li><a href="#">Title Insurance</a></li>
<li><a href="#">Meet the Staff</a></li>
</ul>
</div></div>
</html>
When I opened the separate page, it looked perfect in both Internet Exploder and Firefox, just how I want it. I am guessing this means that the issue must be arising from the CSS or size of something it's surrounded in? I can't figure out what I need to actually write in order to fix this.
Does anyone know how how to fix it so it looks identical in both Internet Exploder and Firefox?
Thanks for any help.
I am working on customizing a template for someone here:
http://www.ideaessence.com/mullaneylawoffices/
In Internet Exploder 7, the square bullets are not showing up. It looks exactly how it should in Firefox. I want to make it look just how it does in Firefox now, but in Internet Exploder as well. First, I searched and thought it was an issue with the CSS for the actual elements directly involved. I thought for sure I found the problem in this thread:
http://codingforums.com/showthread.php?t=140138
Here's the strange thing. I kept changing things to add a margins/padding but it didn't work no matter what I did. Then I copied and pasted the HTML of the unordered list and the corresponding CSS into a separate page. I also copied and pasted the DIV called "left-nav" and its corresponding CSS into the separate page. Here is what I copied, pasted, and opened:
<!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">
<style type="text/css">
#left-nav
{width:220px; float:left;}
.leftlinks{
width:150px;
float:left;
}
.leftlinks ul
{
list-style-type: square;
text-align: left;
width: 100%;
padding-top: 2px;
}
.leftlinks ul li{
padding-top: 6px;
padding-bottom: 6px;
border-bottom: 1px solid #E8D9BD;
margin: 0;
}
.leftlinks ul li a
{
text-align: left;
padding-left: 5px;
font-size: 12px;
letter-spacing:1px;
text-decoration: none;
color: #4E4739;
}
.leftlinks ul li a:hover
{
color: #4E4739;
padding-left: 5px;
text-decoration:underline;
font-weight:bold;
}
</style>
<div id="leftnav"><div class="leftlinks">
<ul>
<li><a href="#">Areas of Practice</a></li>
<li><a href="#">Estate Planning</a></li>
<li><a href="#">PA Estate Administration</a></li>
<li><a href="#">Why Have a Will?</a></li>
<li><a href="#">Medicaid</a></li>
<li><a href="#">Funeral Pre-Planning</a></li>
<li><a href="#">Federal Estate and Gift Taxes</a></li>
<li><a href="#">PA Inheritance Tax Rates</a></li>
<li><a href="#">Title Insurance</a></li>
<li><a href="#">Meet the Staff</a></li>
</ul>
</div></div>
</html>
When I opened the separate page, it looked perfect in both Internet Exploder and Firefox, just how I want it. I am guessing this means that the issue must be arising from the CSS or size of something it's surrounded in? I can't figure out what I need to actually write in order to fix this.
Does anyone know how how to fix it so it looks identical in both Internet Exploder and Firefox?
Thanks for any help.