HTML CSS examples for CSS Widget:UL Horizontal
Display inline in ul tag
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> li {<!-- w w w . jav a 2 s .c om--> display:inline; } </style> </head> <body> <div class="links1"> <ul style="float:left; position:absolute; top:115px; right:200px; display:inline;"> <li> <a href="#">Lorem ipsum dolor </a> </li> <li> <a href="#">Lorem ipsum d</a> </li> <li> <a href="#">Lorem ipsum do</a> </li> <li> <a href="#">Lorem ip</a> </li> <li> <a href="#">Lorem ipsu</a> </li> </ul> </div> </body> </html>