HTML CSS examples for CSS Widget:Table
Superscript <sup> within table alignment
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .menu-item {<!--from w w w .jav a2 s . c om--> margin-top:26px; margin-bottom:26px; } .num { font-size:2.3em; color:Chartreuse; font-weight:bold; } .fdname { float:left; font-size:2.3em; margin-left:0px; color:yellow; font-weight:bold; margin-left:6px; } .gf-vg { color:blue; float:left; } .price { float:left; font-size:2.3em; color:pink; font-weight:bold; margin-left:16px; } </style> </head> <body> <table class="menu-item"> <tbody> <tr> <td class="num">Lor</td> <td> <span class="fdname">Lorem i</span> <sup class="gf-vg">Lorem ip</sup> <span class="price">Lorem</span> </td> </tr> <tr> <td></td> <td>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ullamcorper molestie lacus sed fermentum</td> </tr> <tr> </tr> </tbody> </table> </body> </html>