Css style of the table

<html>
<style>
 li.tab_sel
 {
 /*float:left;*/
 list-style:none;
 Font-weight: bold;
 Color: white;
 Height: 20px;
 Line-height: 20px;
 Border-width: 1px;
 Border-style: solid;
 Padding-left: 20px;
 Padding-right: 20px;
 background-color: -sharp4D4F53;
 Text-decoration: none;
 Text-transform: uppercase;
 }
 li.tab_sel:hover
 {
 Background: -sharp7AB800;
 Color: -sharp000000;
 }
-sharptitle{
    height: 20px;
    width: auto;
    padding:0px;
    margin:0px;
}

-sharptitle ul{
    width: auto;
    padding:0px;
    margin:0px;
    float:left;
}
</style>
<div class="title">
<ul>
<li class="tab_sel">a</li>
<li class="tab_sel">b</li>
<li class="tab_sel">c</li>
</ul>
</div>
</html>

the above code produces the following effect:

how do I place A/B/C on the far left? Leave no white space on the left and top

Dec.04,2021

your css can also be optimized. Generally, clear the default style before writing css. If it is only demo, then directly

 *{
   padding:0;
   margin:0
 }
 li.tab_sel
 {
  ...
   Border:1px solid -sharpfff; //
   Padding:0 20px;  //
  ...
 }

text-align:left;

li.tab_sel
{
padding-left: 0px;
}

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e974ab-4741d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e974ab-4741d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?