HTML CSS examples for CSS Widget:UL Element
move some text down in a li tag
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #mylist ul {<!--from w w w. jav a 2 s.c om--> position:absolute; float:left; list-style-type:none; margin:0px; padding:0px; } #mylist li { float:left; list-style-type:none; margin:0px; padding:11px 0 0 0; width:81px; height:81px; border:2px solid Chartreuse; } </style> </head> <body> <ul id="mylist"> <li>Lorem</li> <li>Lorem </li> <li>Lore</li> </ul> </body> </html>