473,399 Members | 2,774 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,399 software developers and data experts.

ASP and Fonts

BlankI have the code;

<%
Response.Write("<TD valign=""top"">")
Response.Write("<A href=""image.asp?ImageID=" & lngImageID & """><B>" &
strTitle & "</B><BR>")
Response.Write("<IMG src=""image.asp?ImageID=" & lngImageID & """
width=""100"" border=""1""</A>>")
Response.Write("</TD>")
Response.Write("<TD valign=""top"">")
Response.Write("<BR>")
Response.Write(strDescription)
Response.Write("</TD>")
%>

and is giving me fonts that I do not want, so, my question is, how can I
change the font and size of the values when I will show in the browser?

thank you in advance

Al
Jul 19 '05 #1
4 1498
Use client-side style sheets and / or <font> tags. Nothing to do with ASP
(and especially not databases).

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"AlejandroT" <un***********@yahoo.com> wrote in message
news:O9**************@tk2msftngp13.phx.gbl...
BlankI have the code;

<%
Response.Write("<TD valign=""top"">")
Response.Write("<A href=""image.asp?ImageID=" & lngImageID & """><B>" &
strTitle & "</B><BR>")
Response.Write("<IMG src=""image.asp?ImageID=" & lngImageID & """
width=""100"" border=""1""</A>>")
Response.Write("</TD>")
Response.Write("<TD valign=""top"">")
Response.Write("<BR>")
Response.Write(strDescription)
Response.Write("</TD>")
%>

and is giving me fonts that I do not want, so, my question is, how can I
change the font and size of the values when I will show in the browser?

thank you in advance

Al

Jul 19 '05 #2
Hi,

You should to use STYLE in the web page.

You put the following code between of the <HEAD></HEAD>

<style>
a:link { text-decoration: none; color : mediumblue; }
a:visited { text-decoration: none; color : mediumblue; }
a:hover { text-decoration: none; color : #ff802b; }
body {
font-weight: bold;
font-size: 8pt;
color: black;
font-family: Verdana, Arial, Tahoma;
}
</style>
--
Saludos,
Jhonny Vargas P. [MS-MVP]
Santiago de Chile
http://www.mvp.cl
"AlejandroT" <un***********@yahoo.com> escribió en el mensaje
news:O9**************@tk2msftngp13.phx.gbl...
BlankI have the code;

<%
Response.Write("<TD valign=""top"">")
Response.Write("<A href=""image.asp?ImageID=" & lngImageID & """><B>" &
strTitle & "</B><BR>")
Response.Write("<IMG src=""image.asp?ImageID=" & lngImageID & """
width=""100"" border=""1""</A>>")
Response.Write("</TD>")
Response.Write("<TD valign=""top"">")
Response.Write("<BR>")
Response.Write(strDescription)
Response.Write("</TD>")
%>

and is giving me fonts that I do not want, so, my question is, how can I
change the font and size of the values when I will show in the browser?

thank you in advance

Al

Jul 19 '05 #3
On Tue, 10 Feb 2004 15:42:48 -0400, "AlejandroT"
<un***********@yahoo.com> wrote:
and is giving me fonts that I do not want, so, my question is, how can I
change the font and size of the values when I will show in the browser?


You hit three separate groups that have nothing to do with what you
want to accomplish. Try this group:

alt.html.tags

And this site:

http://www.google.com/search?hl=en&i...=html+font+tag

Jeff
Jul 19 '05 #4
More on css at www.w3schools.com
--
Brynn
www.coolpier.com

*****
I reply and post to this newsgroup in an attempt to help other users.
I in no way guarantee the effects of scripts posted ...
and sometimes post partial scripts, untested to point users in the right
direction.

ALWAYS test my and everyone elses scripts before use ... duh ;)
*****
"AlejandroT" <un***********@yahoo.com> wrote in message
news:O9**************@tk2msftngp13.phx.gbl...
BlankI have the code;

<%
Response.Write("<TD valign=""top"">")
Response.Write("<A href=""image.asp?ImageID=" & lngImageID & """><B>" &
strTitle & "</B><BR>")
Response.Write("<IMG src=""image.asp?ImageID=" & lngImageID & """
width=""100"" border=""1""</A>>")
Response.Write("</TD>")
Response.Write("<TD valign=""top"">")
Response.Write("<BR>")
Response.Write(strDescription)
Response.Write("</TD>")
%>

and is giving me fonts that I do not want, so, my question is, how can I
change the font and size of the values when I will show in the browser?

thank you in advance

Al

Jul 19 '05 #5

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

Similar topics

1
by: Jack Charbonneau | last post by:
I have a bunch of custom fonts installed on my system. For instance if I look at the font drop-down in word pad I see about 90 fonts, but if I build an app using VS.Net, add a label, and try to...
0
by: LaidBack Bill | last post by:
My application allows the user to select fonts. I fill in a combo box control with the available fonts by looping through all System.Fonts: ' Get all the screen fonts ReDim...
4
by: L | last post by:
Hi there, Does C# support OpenType fonts? My c# application is not recognizing OpenType fonts. Thanks, Lalasa.
4
by: Aaron Gray | last post by:
Is there anyway to get a list of all the availiable fonts in Javascript ? Aaron
2
by: Luc | last post by:
I saw a few posts on this newsgroup about it but nothing to help me resolve this problem: We designed a window in .NET on a platform using small fonts (120 ppp). But this window will run on...
1
by: Atul | last post by:
Hi, I have installed a truetype font (.ttf) on a linux machne (SUSE linux 10, KDE) by copying it to my .fonts folder. I can use the font in all applications like open-office and firefox browser....
8
by: traditore | last post by:
Hello. I'm trying to load fonts in a web page using "style" tag. The TTF files are in other page whose URL is, for example, "http://myURL/fonts". The HTML code is something like: <html>...
12
by: ctclibby | last post by:
Hi all Have a customer that wants a specific font included in her web page design; Comic Sans MS. This is one of the MS core fonts. The problem I have is that some of the *nix browsers do NOT...
2
by: Gary | last post by:
1. I've installed a bunch of fonts in main application, which is in native C++ code using AddFontResourceEx 2. A C# application is launched from this main application, but failed to enumerate...
2
tpgames
by: tpgames | last post by:
Two days ago, MS office Word would type JP fonts, I thought. I didn't think I was using Works. Now, it won't type in JP. Jasc Paint shop pro 8, should type JP fonts because I am using XP, according...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.