HTML CSS examples for CSS Property:font
Overriding font-colors using CSS
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .mail_item {<!--from w ww. j a va 2 s .co m--> width:100%; height:77px; padding:3px; float:left; border-bottom:2px solid Chartreuse; } .mail_item:hover { background-color:yellow; color:blue; } .mail_item_table { width:100%; } .mail_item_table_picture { width:71px; height:71px; } .mail_item_table_username { font-size:15px; font-weight:bold; } .mail_item_table_message { font-size:14px; } .mail_item_table_time { width:100px; font-size:14px; font-weight:bold; color:pink; } .mail_item:hover .mail_item_table_time { color:OrangeRed; } </style> </head> <body> <div class="mail_item"> <table class="mail_item_table" border="0"> <tbody> <tr> <td rowspan="3" width="70"> <img src="https://www.java2s.com/style/demo/Opera.png" class="mail_item_table_picture"> </td> </tr> <tr> <td class="mail_item_table_username">Lorem ipsum</td> <td class="mail_item_table_time" rowspan="3" align="right">Lorem ipsum </td> </tr> <tr> <td class="mail_item_table_message" valign="top">Lorem ipsum dolor sit am</td> </tr> </tbody> </table> </div> </body> </html>