473,322 Members | 1,781 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,322 software developers and data experts.

Design problem: html and asp.

Hi all,

I have a asp page that display database information at
http://tbm.com.my/Application/tourmasterd.asp. My problem is the vertical
line(90 deg) that I want to make it invisible at the white colour row exists
between each country. May I know how to remove/invisible the vertical line(90
deg) at the white colour row only ?

Please advise. The code is below:

<%@ Language=VBScript %>
<!--#include file="adovbs.inc" -->
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
</HEAD>
<BODY>
<pre><img src="../../images/Bestour-banner.gif" width="650" height="58"></pre>
<!--Display the page data-->

<br>
<%

'server-side function to check for empty/null strings
Function CheckString(strValue)
If Len(strValue & "") = 0 Then
CheckString = "&nbsp;"
Else
CheckString = strValue
End If
End Function

Dim objRec
Set objRec=Server.CreateObject ("ADODB.Recordset")
objRec.Open "Select * From TourMaster Order By CountryCode Asc",
"DSN=bestgolf", adOpenKeyset, adLockOptimistic
%>

<TABLE align="center" CELLPADDING="0" cellspacing="1" WIDTH="100%"
bgcolor="#CCCCCC" bordercolor="#000000">
<THEAD>
<TR CELLSPACING="1" border="1" bgcolor="B9F7B6">
<TD><STRONG>Country</STRONG></TD>
<TD><STRONG>Destination</STRONG></TD>
<TD><STRONG>Twin Price<BR>from RM</STRONG></TD>
<TD><STRONG>Single Price<BR>from RM</STRONG></TD>
<TD><STRONG>Golf Club Venue</STRONG></TD>

</TR>
</THEAD>

<%
Dim intCounter
Dim intColourCounter
Dim strCountryCode

intColourCounter = 50
Do Until objRec.EOF
If strCountryCode <> objRec("CountryCode") And intCounter > 0 Then
Response.Write "<TR border=0 CELLSPACING=0
bgcolor=#ffffff><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR>"

End If

Response.Write "<TR bgcolor=FCD9BF>" & vbCrLf
If strCountryCode <> objRec("CountryCode") Then
Response.Write "<TD align=center CELLSPACING=0 border=0><B>" &
CheckString(objRec("CountryDesc")) & "</B></TD>" & vbCrLf
Else
Response.Write "<TD bgcolor=FCD9BF bordercolor=#FF9900></TD>"
End If

Response.Write " <TD align=center CELLSPACING=1 border=1><B>" &
CheckString(objRec("DestUrl")) & "</B></TD>" & vbCrLf
Response.Write " <TD align=center CELLSPACING=1 border=1>" &
FormatNumber(CheckString(objRec("TwinPrice")),2) & " </TD>" & vbCrLf
Response.Write " <TD align=center CELLSPACING=1 border=1>" &
FormatNumber(CheckString(objRec("SinglePrice")),2) & " </TD>" & vbCrLf
Response.Write " <TD align=center CELLSPACING=1 border=1>" &
CheckString(objRec("Venue")) & "</TD>" & vbCrLf
Response.Write "</TR>"
strCountryCode = objRec("CountryCode")
intCounter = intCounter + 1

intColourCounter = intColourCounter+50
objRec.MoveNext
Loop
%>

</TABLE>

<p class="txtBlk_leading">| <a href="\index.htm">Home</a> | About Us
|Packages| <a href="\ContactUs.htm">Contact
Us</a>|</p>
<p> </p>

</BODY>
</HTML>


Regards,
Jul 19 '05 #1
1 1160
Response.Write "<TD style=""border:0px""><STRONG>Country</STRONG></TD>"

See www.w3schools.com/css
Jul 19 '05 #2

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

Similar topics

43
by: grz02 | last post by:
Hi, Im an experienced database+software designer and developer, but, unfortunately, anything to do with web-programming and web-systems designs is still a pretty new area to me... (been working...
9
by: bigoxygen | last post by:
Hi. I'm using a 3 tier FrontController Design for my web application right now. The problem is that I'm finding to have to duplicate a lot of code for similar functions; for example, listing...
25
by: John Morgan | last post by:
Though I have designed and implemented a number of large reasonably well received web sites I do not consider myself a graphics designer I am now for the first time going to work with a ...
3
by: zlst | last post by:
Many technological innovations rely upon User Interface Design to elevate their technical complexity to a usable product. Technology alone may not win user acceptance and subsequent marketability....
8
by: Devin | last post by:
I am using Microsoft WebMatrix to write my ASP.NEt pages, and one functionality that that seems to lack is the ability to make these pages look nice. Is there any program out there like Frontpage,...
7
by: chrisn | last post by:
Do real developers use the design view? Thought it would be interesting to start a debate on this subject. According to all the MCP materials (yes, I know a bit mickey mouse), the design view...
1
by: Nogusta123 | last post by:
Hi, I have had a lot of problems getting web pages, master pages and content pages to render in VS2005 design view the same as they would in Internet Explorer. I did a lot of looking on the...
0
by: YellowFin Announcements | last post by:
Introduction Usability and relevance have been identified as the major factors preventing mass adoption of Business Intelligence applications. What we have today are traditional BI tools that...
5
by: rdemyan via AccessMonster.com | last post by:
I have a need to add another field to all of my tables (over 150). Not data, but an actual field. Can I code this somehow. So the code presumabley would loop through all the tables, open each...
9
by: AceKnocks | last post by:
I am working on a framework design problem in which I have to design a C++ based framework capable of solving three puzzles for now but actually it should work with a general puzzle of any kind and I...
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...
0
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
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....

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.