If the list is a <ul></ul> based list you should be able to float the <ul> right.
 
If that is giving problems then you might need to wrap a <div> around it and float the <div> right.
 
The following code uses a bit of JS to make getting the list easier, but has a floated right <ul> (with appropriate "inline" style on the <li>) and seems to work correctly.......
 
 

<html>
<head>
<style>
body
{
 font: 10pt 'Lucida Grande',Arial,Tahoma,Verdana,Helvetica,sans-serif;
}
#index1
{
 float: right;
}
#index1 li
{
 display: inline;
 margin-left: 3px;
 margin-right: 3px;
}
</style>

</head>

<body>

<ul id="index1">
 <script>
 var alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
 for(i=0;i<26;i++)
 {
  document.write("<li>"+alphabet.substr(i,1)+"</li>");
 }
 </script>
</ul>


</body>
</html>

 
 
 
 
Regards,
Gary


 
On 7/22/05, Stephanie <[EMAIL PROTECTED]> wrote:
I need to create an alphabetic horizontal list to link to content on a page - problem I am having is that I want to float the list right but when I do that the alphabetic list is ordered from Z - A instead of A - Z.
 
Any clue as to how to solve this problem?
 
Stephanie Champion

Reply via email to