From the database I pick up some values and show it in a table. All the values are getting displayed properly. Of those fields I have one field which contains the network path of a certain file like this :
\\cdtower\share\GPRS\V12.4C\v12_4c_fix_CSR.xls
There are certain entries which are even bigger than this. I want to fix the width of this column to 10% of the screen. But it's not happening. Even I tried to create a dummy jpg file and span it to certain percentage. Where as all the remaining columns are getting adjusted by the width="10%" specifications, this particular column expands to the largest string size. How can I ensure that this column expands to the required width.
<tr>
<td><img src="images/forTable.gif" width="<%=7*colWidth%>" height="1"></td>
<td><img src="images/forTable.gif" width="<%=10*colWidth%>" height="1"></td>
<td><img src="images/forTable.gif" width="<%=10*colWidth%>" height="1"></td>
<td><img src="images/forTable.gif" width="<%=10*colWidth%>" height="1"></td>
<td><img src="images/forTable.gif" width="<%=33*colWidth%>" height="1"></td>
<td><img src="images/forTable.gif" width="<%=30*colWidth%>" height="1"></td>
</tr>
where - > colWidth = Session("screenWidth"/100
and the code after that is
sText=sText & "<tr bgColor=" & bgColor & ">"
sText=sText & "<td>" & fFont2 & "<b><a href='newEvent.asp?ID=" & ID & "&action=1' class='active'>" & _
eventDate1 & "</a></b></font></td>"
sText=sText & "<td>" & fFont2 & eventType1 & "</font></td>"
sText=sText & "<td>" & fFont2 & subSystem1 & "</font></td>"
sText=sText & "<td>" & fFont2 & link & "</font></td>"
sText=sText & "<td>" & fFont2 & description1 & "</font></td>"
sText=sText & "<td>" & fFont2 & remarks1 & "</font></td></tr>"
thanks.
\\cdtower\share\GPRS\V12.4C\v12_4c_fix_CSR.xls
There are certain entries which are even bigger than this. I want to fix the width of this column to 10% of the screen. But it's not happening. Even I tried to create a dummy jpg file and span it to certain percentage. Where as all the remaining columns are getting adjusted by the width="10%" specifications, this particular column expands to the largest string size. How can I ensure that this column expands to the required width.
<tr>
<td><img src="images/forTable.gif" width="<%=7*colWidth%>" height="1"></td>
<td><img src="images/forTable.gif" width="<%=10*colWidth%>" height="1"></td>
<td><img src="images/forTable.gif" width="<%=10*colWidth%>" height="1"></td>
<td><img src="images/forTable.gif" width="<%=10*colWidth%>" height="1"></td>
<td><img src="images/forTable.gif" width="<%=33*colWidth%>" height="1"></td>
<td><img src="images/forTable.gif" width="<%=30*colWidth%>" height="1"></td>
</tr>
where - > colWidth = Session("screenWidth"/100
and the code after that is
sText=sText & "<tr bgColor=" & bgColor & ">"
sText=sText & "<td>" & fFont2 & "<b><a href='newEvent.asp?ID=" & ID & "&action=1' class='active'>" & _
eventDate1 & "</a></b></font></td>"
sText=sText & "<td>" & fFont2 & eventType1 & "</font></td>"
sText=sText & "<td>" & fFont2 & subSystem1 & "</font></td>"
sText=sText & "<td>" & fFont2 & link & "</font></td>"
sText=sText & "<td>" & fFont2 & description1 & "</font></td>"
sText=sText & "<td>" & fFont2 & remarks1 & "</font></td></tr>"
thanks.