This is what I have come up with so far.
I stripped out the really unnecessary code in order to view the table correctly.
Carrzkiss
Main Topics
Browse All TopicsI have the code below that I am trying to work out - an example of the processed code: http://www.merchantaccount
Currently it is two columns on that row.
Is there a way to possibly get sponsor on the right side of that cell or how can I add a third colum so that I have more control over sponsor?
Thanks!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
If all you want to do is simply move over the [Sponsor]
Then you can wrap it in a <div> tag and align it to the Right.
<img border="0" src="<%=appUrl%>/images/new.
<%if Rec("submitDate") > date - 5 then %>
<%end if%>
<div align="right">
<%if Rec("hotLink") = 1 then %>
<font style="font-size:8pt">
<sup>[<font color="#cc0000">sponsor</fon
<%end if%>
</div>
Unfortunately, I don't understand ASP too well so that code means very little to me since my posted code had a lot of strRsp in it and I am not certain how to integrate your code with mine.
So instead trying to understand your code, I decided to see if I could just add some padding since I was not sure where the <div> you provided would go and where the strRsp would go.
try it without all that crap in it.
I HATE not being able to visual see what I am doing.
So.
Make another file and copy and paste the code below into it.
Save it and run it and see if it will do what you want it to do.
(You will have to add in your connections and everything to make it work.)
If you use DW (Dreamweaver) or similuar program, you will not be able to visual see the table form layout with the provided code below.
(If you get some errors running this code, and you have a LIVE site up with it, you can send me over the link and I will have a look at it for you. You can send over the link via my email, just browse my profile for it)
Carrzkiss
What I did - it doesn't seem to be working on Internet Explorer 8 unfortunately, so I am guessing that I do need three columns - but adding that middle column is where I have a problem.
Below is the code for the page.
Line 144 is where the <table> is created for the "link name". Line 155 / 156 is what I need to be in another / separate cell.
I also created an HTML page / images as well.
The page showing the error: http://www.merchantaccount
If you notice in IE8 and Firefox, My Merchant Account Blog is left aligned (which I want). In IE8, Merchant Account Blog seems to be centered and a bit bigger (font size) and no rating seems to be centered. (which I don't want).
If you use Firefox and have that "Outline Element" add-on, I tried to id some <table> and <td> to help see exactly which <table> and <td> is having problems. I can easily create / insert a <td> with HTML, but with the ASP, I just do not know what to add, etc.
Lines 268-272 confuses me as well - I thought that the "hot" (or "sponsored") links would be red - but that only seems to happen on http://www.merchantaccount
If you need more of the code, etc - please let me know. I am hoping that I provided everything. Thanks!
I did try the code above - copied it all and replaced what I thought was what you needed me to replace (below)
That generated:
Microsoft VBScript compilation error '800a0400'
Expected statement
C:\CLIENTS\C10489\MERCHANT
The reason I am using the strRsp - they came with the code I got.
line 129
Remove the Bracket
----------
On the 2nd one.
You really have a lot to learn.
I have been done this road myself so has everyone else that does programming.
I demostrated it in the code that I supplied for you.
You act like you are scared to dive in and do is correctly.
I do not know were you got this code from, but it works better the way that I demostrated.
------
I do not know what to tell you.
Add in the extra column that you want so badly into your code.
I do not like this code it is annoying, you cannot visually see the page layout,
It is crap coding and should never be taught, people need to learn how to program it properly.
Also do it as visual, it makes for better payout and better eye-candy for your viewers.
-------
You are not using my suggestions, you are not even taking it into consideration.
You keep on throwing this code up here, without doing what I tell you to.
How do you expect me to help you, if you are not going to do it like I state?
Sorry, I entered the code you gave me, I thought and it generated that error. I have not really been myself since my minor cardiac event and TIA. I have some good days and some bad days. So for now, I am forced to work with pre-made scripts and add what I can. And work with the good people at Experts Exchange to help me with what I have.
But I think I have figured it out - so far all the pages seem to be working and displaying properly.
I thought that since the column is only needed when it is a "sponsored" link, then adding the extra <td> would be needed, otherwise the <td> and the information in that cell would be used.
when you do something like that, then you would do something like this.
(Assuming the the records in the database is Sponsors )
<%if rs("Sponsor") ="None" then%>
No Sponsor
<%else%>
Sponsor information goes here
<%end if%>
This would look at the record and if the Field of Sponsor was to contact "None"
Then it would display the text: No Sponsor (or)
= a blank space in time.
Else
Display the Sponsors information to the page.
This is the best way to do something like that.
----------
What are you use to do your sites with? Are you using Notepad, DW or another type of program?
As you have absolutely 0 "No" visualization in design of your site.
It is all a crap-shot in getting it to function the way that you want it to look.
----Just Humor me, and check on running this code for me please?
I just spent the last 45 minutes removing all the rubish from it, to show you how it is done.
I have attached a screenshot of the way it looks inside DWCS3, after removing all the un-needed Tags
This is called Visual Programming.
Being able to see what you are doing.
See, I design my sites in DW, but I do all my coding by hand.
It is must more simplified and easier to work with and troubleshot.
DW to my is one of the best programs to come out for designing websites.
AS LONG as you know how to remove mess that is not needed and NEVER I repeat NEVER
Let DW do your ASP Programming for you.
It is called; Crap Coding.
----------
Please try out the code below for me.
And see what it does for you.
If it does not work for you, then make me up a demo of your database.
And the page that sends it's results to this page, and I will be more then happy to help you get it going properly and in a good solid way.
Let me know.
Carrzkiss
Business Accounts
Answer for Membership
by: carrzkissPosted on 2009-09-03 at 16:31:32ID: 25255934
Can you please provide the rest of the code for the 2 columns?
This is just the 1 column.