tags:

views:

49

answers:

1

hi,

here is my UI design

<div>
    <ul>
         <li>
             <a></a>
         </li>
    </ul>
</div>

text for anchor will be set on run time..can be of any length and I dnt want text to be get wrap..any idea how can I solve this..actaully I am creating a menu...

+1  A: 

To prevent text from wrapping using a CSS rule, use the following:

ul li a {
    white-space: nowrap;
}
Sohnee
Thanks its working...
BreakHead