HTML CSS examples for CSS Widget:UL Horizontal
Display all sub-level lists inline with css
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> li, ul { display:inline-block } </style> <!-- www . j a va 2 s.c om--> </head> <body> <ul> <li>Lorem ipsum <ul> <li>Lorem ipsum</li> <li>Lorem ipsum <ul> <li>Lorem ipsum</li> </ul> </li> </ul> </li> </ul> </body> </html>