I have the following (minimised) HTML:
<html>
<head>
<style type="text/css">
.wrap {
float:right;
}
ul.login {
margin:0;
width:140px;
height:60px;
list-style:none!important;
}
ul.login li{
float:left;
color:red;
}
</style>
</head>
<body>
<div class="wrap" >
<ul class="login">
<li>Logged in as </li>
<li><a>Ghost Out</a></li>
<li><a>Admin Home</a></li>
<li><a>Alumni Home</a></li>
<li><a>Your profile</a></li>
<li><a>Log out</a></li>
<li><a>to your profile</div></div></a></li>
</ul>
</ul>
</div>
</body>
</html>
Which according to this tutorial: How do I render <li> side-by-side?
should make the li's display side by side.
As far as I can see I have implemented it correctly, but it is not working. Have I made a mistake, am I missing something or is there a reason this is not working?
PS I want it to start from the right hand side.