T
ThunderMusic
Hi,
I have the some css (provided at the end of the post) and use it in my aspx
page (code provided at the end too): the problem is, the TDLeftBar class
should limit the width to a minimum of 150px but it does not work... Can
somebody tell me what's wrong? I tried with width and min-width, same
result... I tried to change the background-color and it worked fine. What's
wrong???
Thanks
ThunderMusic
******* CSS *******
table.TABLEMaster
{
border: 0px;
padding: 0px;
background-color:white;
margin:0px;
width:100%;
}
table.TABLEMaster tr td.TDTitle
{
color:black;
text-align:center;
width:1000px;
}
table.TABLEMaster tr td.TDLeftBar
{
min-width:150px;
color:black;
text-align:left;
vertical-align:top;
padding-top:50px;
padding-right:15px;
}
table.TABLEMaster tr td.TDContent
{
color:Black;
text-align:left;
vertical-align:top;
}
table.TABLEMaster tr td.TDRightBar
{
color:black;
text-align:right;
width:70px;
padding-left:15px;
vertical-align:top;
}
table.TABLEMaster tr td.TDFooter
{
color:black;
text-align:center;
font-size:x-small;
}
******* End CSS *******
******* ASPX *******
<table id="tblMasterPageMain" class="TABLEMaster">
<tr>
<td colspan="3" class="TDTitle">
Some Content
</td>
</tr>
<tr>
<td class="TDLeftBar">
Some Content
</td>
<td class="TDContent">
Some Content
</td>
<td class="TDRightBar">
Some Content
</td>
</tr>
<tr>
<td colspan="3" class="TDFooter">
Some Content
</td>
</tr>
</table>
******* End ASPX *******
I have the some css (provided at the end of the post) and use it in my aspx
page (code provided at the end too): the problem is, the TDLeftBar class
should limit the width to a minimum of 150px but it does not work... Can
somebody tell me what's wrong? I tried with width and min-width, same
result... I tried to change the background-color and it worked fine. What's
wrong???
Thanks
ThunderMusic
******* CSS *******
table.TABLEMaster
{
border: 0px;
padding: 0px;
background-color:white;
margin:0px;
width:100%;
}
table.TABLEMaster tr td.TDTitle
{
color:black;
text-align:center;
width:1000px;
}
table.TABLEMaster tr td.TDLeftBar
{
min-width:150px;
color:black;
text-align:left;
vertical-align:top;
padding-top:50px;
padding-right:15px;
}
table.TABLEMaster tr td.TDContent
{
color:Black;
text-align:left;
vertical-align:top;
}
table.TABLEMaster tr td.TDRightBar
{
color:black;
text-align:right;
width:70px;
padding-left:15px;
vertical-align:top;
}
table.TABLEMaster tr td.TDFooter
{
color:black;
text-align:center;
font-size:x-small;
}
******* End CSS *******
******* ASPX *******
<table id="tblMasterPageMain" class="TABLEMaster">
<tr>
<td colspan="3" class="TDTitle">
Some Content
</td>
</tr>
<tr>
<td class="TDLeftBar">
Some Content
</td>
<td class="TDContent">
Some Content
</td>
<td class="TDRightBar">
Some Content
</td>
</tr>
<tr>
<td colspan="3" class="TDFooter">
Some Content
</td>
</tr>
</table>
******* End ASPX *******