Hi,

  I am a newbie to CSS and I have run into something that is beyond my current 
CSS skills. I am trying to put a small circle to the right of each horizontal 
menu list item. The circle appears in FF but not in IE. I have attached the CSS 
and the HTML file. Please let me know if there is anything else I can provide 
to make it easier to debug. Thanks for your help.

1. sample.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Home Page</title>
<link href="sample.css" media="all" rel="stylesheet" />

</head>

<body>
<div id="main_wrapper">
  <div id="header">
    <div id="header_inner">
      <div id="header_left"></div>
      <div id="header_center"><img id = "logo" src="logo.gif"></img> </div>
      <div class = "top_txt">Sign In . Register</div>
      <div id="header_right"></div>
      
     <div id="hdr_nav">
     <div id="menu_left_start"></div>

     <div id="menu_left">
     <ul>
      <li><a href="localhost">Home</a><span class = "menu_dot"></span></li>
     </ul> 
     </div>
     
     </div>

    </div>
  </div>

</div>
<!--end main_wrapper-->
</body>
</html>


2. sample.css

* {margin: 0; padding: 0;}

#main_wrapper { 
 width:960px;/*+20 for the borders*/ 
 margin-left:auto; 
/* centers layout when > max width */

 margin-right:auto;
 border: solid #002D70;
 border-width: 10px 10px 0 10px; 
} 

#header {
 width: 960px;
 float: left;
}

#header_inner {
        float: left;
        width: 960px;
        }

#header_left {
 float: left;
 background-image:url("top_left_img.gif"); background-repeat:no-repeat;
 width: 11px;
 height: 38px; 
}

#header_center {
 float: left;
 background-image:url("header_tile_img.gif"); background-repeat:repeat-x; 
 width: 84.64%;
 height: 38px; 
}

#header_right {
 float: left;
 background-image:url("top_right_body_img.gif"); background-repeat:no-repeat; 
 width: 11px;
 height: 38px; 
}

#logo {
 float: left;
 height: 38px;
 width: 200px;
}

..top_txt
{
font-weight:bold; color:#006FB5; font-family:Arial; margin:0px; font-size:12px; 
float: left;
background-image:url("header_tile_img.gif"); background-repeat:repeat-x; 
width: 125px;
text-align: right;
}

#hdr_nav {
clear: both;
width: 960px;
height: 30px;
margin-left: 10px;
margin-right: 10px;
}

#menu_left_start {
background-image:url("tab_bar_left_img.gif"); background-repeat:no-repeat;
float: left;
width: 5px;
height: 28px;
}

#menu_left {
float: left;
height: 28px;
width: 59%;
background-image:url("tab_bg_tile_img.gif"); 
background-repeat:repeat-x;
}

#menu_left ul {
margin-left: 25px;
padding-left: 30px;
}

#menu_left ul li{
display: inline;
list-style-type: none;
margin-right: 10px;
overflow: visible;
}

#menu_left ul li a{
padding-left: 22px;
text-decoration: none;
color: white;
line-height: 28px;
vertical-align: top;
font-weight:bold; color:white; font-family:Arial; font-size:12px;
height: 28px;
}

..menu_dot {
width: 6px;
height: 28px;
padding-left: 10px;
background-image:url("whitedot_sized.png");
background-position: top;
background-repeat: no-repeat;
} 

/* inner div margin */
#header_inner, #nav_inner, #content_inner, #promo_inner {
        overflow:hidden; /* prevents oversize elements from breaking the layout 
*/
        }


-Prathaban 



______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to