473,320 Members | 1,940 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 "), "
","&nbsp;&nbsp;&nbsp;")%></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!
Jul 19 '05 #1
2 1478

"eddie wang" <ew***@kmg.com> wrote in message
news:OO*************@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
Jul 19 '05 #2
"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 "), "
: ","&nbsp;&nbsp;&nbsp;")%></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

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Steel | last post by:
hi at all, can I include into a css file some frame and frameset propertyes like border=0? How? thank in advance Steel
7
by: Bob Bedford | last post by:
I've an image in a cell of a table. I've this CSS: ..dbtable{ width: 600px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; border-collapse: collapse; border: 1px solid #000000;
6
by: bugbear | last post by:
I'm trying to implement the purest and simplest tab styling I can. So I'd like each tab to be a box with left-top-right borders. The "row of tabs" sits on top of the content box. The content...
4
by: Peteroid | last post by:
In a standard GroupBox, how do I make the visible 'border line' not show (it looks like an etched in line about 5 pixels shy of each border of the group box)? Thanks in advance!
0
by: tshad | last post by:
I have a DataGrid: <asp:DataGrid AllowPaging="false" AllowSorting="True" AutoGenerateColumns="false" CellPadding="3" CellSpacing="0" ID="DataGrid1" runat="server" ShowFooter="false"
1
by: AMT2K5 | last post by:
Hello, I am just wondering if there is an easy way to do the following in my constructor IOScreen(int row, int col, int width, int height); sets the row, col, width, height attributes of the...
2
by: elkeseltza | last post by:
Hi I am supernew at all this webstuff and am learning as I go. One of the major problems I have already encountered on numerous occasions is that IE and FF don't display the same way! Latest...
6
by: =?Utf-8?B?dHllY3Rr?= | last post by:
Is there a way to customize the border line size? I'm looking to customize the line to larger than 1 pt., but smaller than 1 1/2 pt. Please advise. Thank you!
0
by: shapper | last post by:
Hello, Can I apply a top and bottom border to a fieldset but using an image to define a custom border line? How can I do this? Thank You, Miguel
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.