Click to See Complete Forum and Search --> : Bolding Text - yes I'm new!!!


petrocan
03-20-2003, 03:31 PM
I can't figure out how to bold the following text in "_"...if anyone can help you assistance would be greatly appreciated.

Function GenTheBody
Dim msg
msg = "Changeover Details" & vbCrLf & vbCrLf

Ribeyed
03-20-2003, 06:20 PM
hi,
the following would do the job for you.

msg = "<B>Changeover Details</B>" & vbCrLf & vbCrLf

petrocan
03-21-2003, 09:14 AM
This is how it turns out with that...

<b>Changeover Details</b>

I don't know if it matters that this info is being posted to email, but I've tried <b> [b]...and I've put both inside and outside the "_"...

...any more suggestions?

Ribeyed
03-21-2003, 09:24 AM
hi,
i have no problems with this working the way i suggested. Here is the code i used to test it. Run this in a seperate page and you will see. I think maybe there is an error in your code somewhere else.


<%@LANGUAGE="VBSCRIPT" %>
<html>
<head>
<title>Untitled Document</title>

</head>

<body>
<%
msg = "<B>Changeover Details</B>" & vbCrLf & vbCrLf

%>
<%=msg%>
</body>
</html>