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

Bold Font

Using ASP.net 1.1

I know I should be using CSS. But until I have time to learn that, what is
the code for bold font?
In other words, what should go in this code to make the font bold?
<font face="Verdana" Size="2">
Jun 24 '07 #1
7 12786
"dancer" <da****@microsoft.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
Using ASP.net 1.1

I know I should be using CSS. But until I have time to learn that, what is
the code for bold font?
In other words, what should go in this code to make the font bold?
<font face="Verdana" Size="2">

<b>.......</b>
--
http://www.markrae.net

Jun 24 '07 #2
There's a dedicated element for that. <strong></strong>.
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"dancer" <da****@microsoft.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
Using ASP.net 1.1

I know I should be using CSS. But until I have time to learn that, what is
the code for bold font?
In other words, what should go in this code to make the font bold?
<font face="Verdana" Size="2">


Jun 24 '07 #3
Why not learn about simple span elements for inline styling

<span style="font-size:100px;font-family: verdana, times, serif;">easy
example</span>

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"dancer" <da****@microsoft.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
Using ASP.net 1.1

I know I should be using CSS. But until I have time to learn that, what is
the code for bold font?
In other words, what should go in this code to make the font bold?
<font face="Verdana" Size="2">


Jun 24 '07 #4
And the setting for bold will be

font-weight:bold;

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"John Timney (MVP)" <x_****@timney.eclipse.co.ukwrote in message
news:if*********************@eclipse.net.uk...
Why not learn about simple span elements for inline styling

<span style="font-size:100px;font-family: verdana, times, serif;">easy
example</span>

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"dancer" <da****@microsoft.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>Using ASP.net 1.1

I know I should be using CSS. But until I have time to learn that, what
is the code for bold font?
In other words, what should go in this code to make the font bold?
<font face="Verdana" Size="2">



Jun 25 '07 #5
lol...........what can I say!

--
--
Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:O3**************@TK2MSFTNGP06.phx.gbl...
And the setting for bold will be

font-weight:bold;

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"John Timney (MVP)" <x_****@timney.eclipse.co.ukwrote in message
news:if*********************@eclipse.net.uk...
>Why not learn about simple span elements for inline styling

<span style="font-size:100px;font-family: verdana, times, serif;">easy
example</span>

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"dancer" <da****@microsoft.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>>Using ASP.net 1.1

I know I should be using CSS. But until I have time to learn that, what
is the code for bold font?
In other words, what should go in this code to make the font bold?
<font face="Verdana" Size="2">




Jun 25 '07 #6
Simply...

<span style="font-weight: 600">Text</span>

Work: Opera, IE, NN, Mozilla.

Jun 27 '07 #7

And...

<font face="Verdana" Size="2" style="font-weight: 600">

Jun 27 '07 #8

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

Similar topics

11
by: Victor Martin | last post by:
Bold text in proportional fonts use up more space than non-bold text. Is there a way to keep the space bold takes up within the limits of the regular text while keeping the same font?
6
by: Ronny sigo | last post by:
Hello all, I have made a form with a lot of entryfields and one button which, when clicked on, transforms all of the entryfields values into a MS Word document. All the formatting is done...
4
by: anthony | last post by:
hi, why can't i set the font of a button to bold at run time (it's read only), i can only set at design time. it can be done in vb6. thx
3
by: Rich | last post by:
Could someone share how to toggle the font property of a label from regular to bold and back to regular? I have tried label.Font.Bold = True but get the error message that this property is...
2
by: Adam Honek | last post by:
Okay, Assinging the font and its style (bold, italic etc.) using the font dialog is easy such as: FontDialog1.ShowDialog() txtEmailBody.SelectionFont = FontDialog1.Font But how does one...
4
by: paraidy | last post by:
Hi, i'm using a richtextbox named r1, and i want to write in Bold and italic, i tryed this for bold and it work Dim f As New Font("Verdana", 30, FontStyle.Bold) r1.Font = f r1.Text = "Hello" ...
1
by: Henry Jones | last post by:
I found some code to change the font on a button to bold: private void btnBold_Click(object sender, System.EventArgs e) { btnCalculate.Font = new Font(btnCalculate.Font, ...
5
by: fidtz | last post by:
Sorry for asking here, but I don't know enough dotnet or Windows programming yet to be very good at googling for answers. OTOH, this is the first question I haven't be able to resolve myself, the...
2
by: =?Utf-8?B?UmljaA==?= | last post by:
I have code to bold text in a datagridviewcell: Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim cs As DataGridViewCellStyle, fnt...
7
by: RickMerrill | last post by:
it appears that <ttwill not do <b> although it will do <u>. IS there any way to do bold with a fixed width?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.