Thanks!
-----Original Message-----
From: Donald Carroll
[mailto:donald.carroll@f...]
Sent: Wednesday, August 28, 2002 8:23 AM
To: HTML Code Clinic
Subject: [html_code_clinic] Re: Line Break In HTML
Code
Sorry but the example didn't look right the last time I
posted it to you so
I am sending it again.
sTable = ""
sTable = sTable & "<td class='td20center'>" & vbCrLf
sTable = sTable & Mid(aAuthorizeDate(iCnt),3,2) & "/"
sTable = sTable & Right(aAuthorizeDate(iCnt), 2) & "/"
sTable = sTable & Left(aAuthorizeDate(iCnt),2) & "</td>"
Now it looks right.
Donald
> > > > > Thanks for responding Imar.
> What I was looking for was to use the "_" character since
I did not want a
b> reak in the HTML code. As somebody else correctly
informed me, I should
h> ave sent my question to the VBScript forum and not the
HTML forum.
> Rita
> -----Original Message-----
> From:
Imar Spaanjaars [mailto:Imar@S...]
> Sent:
Monday, August 26, 2002 10:49 PM
> To:
HTML Code Clinic
> Subject:
[html_code_clinic] Re: Line Break In HTML
C> ode
> Hi Rita,
> Seems like you're building HTML dynamically.
It looks like
y> ou are using
> ASP so you can use the vbCrLf (Carriage
Return + Line Feed)
t> o break the
> source code.
> sTable = sTable & "<td class='td20center'>"
& vbCrLf & >
Mid(aAuthorizeDate(iCnt),3,2) & "/" &
R> ight(aAuthorizeDate(iCnt), 2) & "/" > &
Left(aAuthorizeDate(iCnt),2)
> & "</td>"
> This will break after <td
class='td20center'> in the source
o> f the HTML, so
> any code that follows will be on the next
line.
> HtH
> Imar
> > At 03:14 PM 8/26/2002 -0700, you wrote:
> >Hi Imar.
> >
> >Thanks for the response.
> >
> >I'm looking to break the Code of the HTML,
not to put the
t> ext onto 2 lines.
> >It's just easier for me to read it if it's
on 2 lines.
> >
> >Here's an example. I used the Enter key
after
> >Right(aAuthorizationDate(iCnt), 2) but got
an error.
> >
> >sTable = sTable & "<td class='td20center'>"
&
M> id(aAuthorizeDate(iCnt),3,2)
> >& "/" & Right(aAuthorizeDate(iCnt), 2) &
"/" &
L> eft(aAuthorizeDate(iCnt),2)
> >& "</td>"
> > > ---
> Improve your web design skills with these
new books from
G> lasshaus.
> Usable Web Menus
> h>
ttp://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> r-20
> Constructing Accessible Web Sites
> h>
ttp://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> r-20
> Practical JavaScript for the Usable Web
> h>
ttp://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> r-20
http://p2p.wrox.com/manager.asp
o> r
%> %email.unsub%%.
---
Improve your web design skills with these new books from
Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---
Change your mail options at http://p2p.wrox.com/manager.asp
or