![]() |
border(grid line) now showing up
The following html doesn't show up cell borders(grid line). Why?
Thanks. <table width="97%" height="81" border="1" bordercolor=royalblue cellpadding="0" cellspacing="0"> <tr><td align=center> <%If not ars.EOF and not ars.BOF then%> <table cellpadding="0" cellspacing="0" border="0" width="100%" align=center> <tr><td width="20%" align="center"><font class=content2><B>line_item_nm</B></Font></td> <td width="10%" align="center"><font class=content2><B>Total Onshore</B></td> <td width="8%" align="center"><font class=content2><B>Hedge Impace</B></td> <td width="8%" align="center"><font class=content2><B>Core Gas</B></td> <td width="8%" align="center"><font class=content2><B>Non-Core Gas</B></td> <td width="8%" align="center"> <p align="center"><font class=content2><B>Oil</B></td> <td width="8%" align="center"><font class=content2><B>Region</B></td> <td width="8%" align="center"><font class=content2><B>Royalty</B></td> <td width="8%" align="center"><font class=content2><B>Sold</B></td> </tr> <TR><TD colspan=9><HR size=2 color=darkblue></TD></TR> <%bgcolor = "" do while not ars.EOF if ars.Fields("line_item_nm")= "$/BBL" then bgcolor = "Linen" else bgcolor="" end if %> <tr bgcolor="<%=bgcolor%>" height=17> <td align="left" bgcolor="#FFFF99"><Font class=content4><%=replace(ars.Fields("line_item_nm "), " "," ")%></font></td> <td align="right" bgcolor="#FFFF99"><Font class=content4><%=ars.Fields("TOTAL_ONSHORE_AMOUNT ")%></td> <td align="right"><Font class=content4><%=ars.Fields("HEDGE_AMOUNT")%></td> <td align="right"><Font class=content4><%=ars.Fields("CORE_GAS_AMOUNT")%></td> <td align="right"><Font class=content4><%=ars.Fields("NON_CORE_GAS_AMOUNT" )%></td> <td align="right"><Font class=content4><%=ars.Fields("Oil_AMOUNT")%></td> <td align="right"><Font class=content4><%=ars.Fields("REGION_AMOUNT")%></td> <td align="right"><Font class=content4><%=ars.Fields("ROYALTY_AMOUNT")%></td> <td align="right"><Font class=content4><%=formatnumber(nulltozero(ars.fiel ds("sold_amount")),2)% ></td> </tr> <%ars.MoveNext loop%> </table> *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
Re: border(grid line) now showing up
"eddie wang" <ewang@kmg.com> wrote in message news:OOw1NFP8DHA.696@tk2msftngp13.phx.gbl... > The following html doesn't show up cell borders(grid line). Why? > Thanks. > Not sure. I'd try asking in a group that is more focused on CSS as opposed to server-side programming, perhaps: comp.infosystems.www.authoring.stylesheets Ray at work |
Re: border(grid line) now showing up
"eddie wang" wrote:
: The following html doesn't show up cell borders(grid line). Why? : Thanks. : : : <table width="97%" height="81" border="1" bordercolor=royalblue : cellpadding="0" cellspacing="0"> : : <tr><td align=center> : <%If not ars.EOF and not ars.BOF then%> : <table cellpadding="0" cellspacing="0" border="0" width="100%" : align=center> : <tr><td width="20%" align="center"><font : class=content2><B>line_item_nm</B></Font></td> : <td width="10%" align="center"><font class=content2><B>Total : Onshore</B></td> : <td width="8%" align="center"><font class=content2><B>Hedge : Impace</B></td> : <td width="8%" align="center"><font class=content2><B>Core : Gas</B></td> : <td width="8%" align="center"><font class=content2><B>Non-Core : Gas</B></td> : <td width="8%" align="center"> : <p align="center"><font class=content2><B>Oil</B></td> : <td width="8%" align="center"><font : class=content2><B>Region</B></td> : <td width="8%" align="center"><font : class=content2><B>Royalty</B></td> : <td width="8%" align="center"><font : class=content2><B>Sold</B></td> : : </tr> : <TR><TD colspan=9><HR size=2 color=darkblue></TD></TR> : <%bgcolor = "" : do while not ars.EOF : : if ars.Fields("line_item_nm")= "$/BBL" then : bgcolor = "Linen" : else : bgcolor="" : end if : : %> : <tr bgcolor="<%=bgcolor%>" height=17> : <td align="left" bgcolor="#FFFF99"><Font : class=content4><%=replace(ars.Fields("line_item_nm "), " : "," ")%></font></td> : <td align="right" bgcolor="#FFFF99"><Font : class=content4><%=ars.Fields("TOTAL_ONSHORE_AMOUNT ")%></td> : <td align="right"><Font : class=content4><%=ars.Fields("HEDGE_AMOUNT")%></td> : <td align="right"><Font : class=content4><%=ars.Fields("CORE_GAS_AMOUNT")%></td> : <td align="right"><Font : class=content4><%=ars.Fields("NON_CORE_GAS_AMOUNT" )%></td> : <td align="right"><Font : class=content4><%=ars.Fields("Oil_AMOUNT")%></td> : <td align="right"><Font : class=content4><%=ars.Fields("REGION_AMOUNT")%></td> : <td align="right"><Font : class=content4><%=ars.Fields("ROYALTY_AMOUNT")%></td> : <td align="right"><Font : class=content4><%=formatnumber(nulltozero(ars.fiel ds("sold_amount")),2)% : ></td> : </tr> : <%ars.MoveNext : loop%> : </table> The outer table is not closed and it is the only one with the border on. -- Roland Hall /* This information is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. */ Technet Script Center - http://www.microsoft.com/technet/scriptcenter/ WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp MSDN Library - http://msdn.microsoft.com/library/default.asp |
| All times are GMT. The time now is 10:06 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.