I am totally and completely new to CSS (and find it very confusing!). Here's my problem:
.news{padding:15px; font-family:Tahoma, Verdana;font-size:10px; background-color:#FFFF99;border-left-style:solid; border-color:white;border-left-width:2.0mm; border-right-style:solid; border-right-width:0.0mm; border-top-style:solid; border-top-width:0.0mm; border-bottom-style:solid; border-bottom-width:0.0mm}
Notice I have to add a thick white border to the left of the table to add spacing between the table and my body text? This just doesn't seem right. Can anybody suggest something better??
The table is defined as:
<table border="0" cellpadding="2" class="news" cellspacing="0" style="border-collapse: collapse" id="AutoNumber4" width="161" align="right">
There is no style defined for the cell itself.
.news{padding:15px; font-family:Tahoma, Verdana;font-size:10px; background-color:#FFFF99;border-left-style:solid; border-color:white;border-left-width:2.0mm; border-right-style:solid; border-right-width:0.0mm; border-top-style:solid; border-top-width:0.0mm; border-bottom-style:solid; border-bottom-width:0.0mm}
Notice I have to add a thick white border to the left of the table to add spacing between the table and my body text? This just doesn't seem right. Can anybody suggest something better??
The table is defined as:
<table border="0" cellpadding="2" class="news" cellspacing="0" style="border-collapse: collapse" id="AutoNumber4" width="161" align="right">
There is no style defined for the cell itself.