Jack Bates wrote:
>
> Now it's horizontal, right justified, and fixed width - but the links
> are out of order : (
>
> Can anyone suggest how to style this <ol> so it's horizontal, right
> justified, fixed width, and in the correct order? (Without reordering
> the <ol>)
>   



ol
{
  background: blue;
  float: right;
}

li
{
  display: inline;
}

a
{
  color: white;
  display: block;
  float: left;
  padding: 4px;
  text-align: center;
  width: 128px;
}

a:hover
{
  background: gray;
}


Best,
~d

______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
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