Forum Moderators: open
My right side box links look like this in IE:
Link1
Link2
Link3
Link4
Link5
LInk6
When its in Firefox it does this:
Link1 Link2 Link3 Link4 ---- then goes off the page.
Any idea what may be causing this.. Thats what i thought being w3c valid would stop from happening because im using perfect code, the css is vaild as well.
Just post the CSS that is used by the links and the html that the links are in..
Like are they in divs or uls, spans.....
It is likely that you are just experiencing different default behaviors.
For example in IE... text is aligned center in table cells.. In FF it is left.. it isn't that one doesn't work it is that one works differently by default.
index.html
<html>
<head>
<meta name="generator" content="">
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="imagetoolbar" content="false">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="robots" content="index, follow">
<meta name="author" content="">
<meta http-equiv="Content-Language" content="en">
<meta name="Rating" content="General">
<meta name="revisit-after" content="15 Days">
<link href="style2.css" rel="stylesheet" type="text/css">
</head>
<body class="homepage">
<div id="content-b">
<div id="content-b-inner">
<ul id="nav-menu">
<li><a href="#" title="LINK1">LINK1</a></li>
<li><a href="#" title="LINK1">LINK1</a></li>
<li><a href="#" title="LINK1">LINK1</a></li>
<li><a href="#" title="LINK1">LINK1</a></li>
<li><a href="#" title="LINK1">LINK1</a></li>
</ul>
</div>
</div>
</body>
</html>
style2.css
body { background: #FFFFFF; color: #333333; font: 62.5%/1.6em "Lucida Grande", "Lucida Sans Unicode", verdana, geneva, sans-serif; min-width: 780px; text-align: center; }
#content-b { float: left; font-size: 1em; width: 300px; background-color: #dddddd; margin: 0 0 3px 0; display: block; }
#content-b-inner { padding: 8px 18px 8px 18px; border-left: 1px solid black; border-top: 1px solid black; border-bottom: 1px solid black; display: block; }
#content-b-inner div { margin-bottom: .8em; }
#nav-bb { border-bottom: 1px solid black; display: block; }
#nav-menu ul
{
list-style: none;
padding: 0;
margin: 0;
display: block;
}
#nav-menu li
{
display: block;
}
#nav-menu li a
{
background-color: #FFFFFF;
height: 2em;
line-height: 2em;
float: left;
width: 26em;
display: block;
border: 0.1em solid #999999;
color: #333333;
text-decoration: none;
text-align: center;
}
#nav-menu li a:hover
{
text-decoration: none;
background: #999999;
}