473,657 Members | 2,625 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 12798
"dancer" <da****@microso ft.comwrote in message
news:%2******** ********@TK2MSF TNGP03.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****@microso ft.comwrote in message
news:%2******** ********@TK2MSF TNGP03.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****@microso ft.comwrote in message
news:%2******** ********@TK2MSF TNGP03.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.ukwr ote in message
news:if******** *************@e clipse.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****@microso ft.comwrote in message
news:%2******** ********@TK2MSF TNGP03.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...........w hat can I say!

--
--
Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"Eliyahu Goldin" <RE************ **************@ mMvVpPsS.orgwro te in
message news:O3******** ******@TK2MSFTN GP06.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.ukwr ote in message
news:if******** *************@e clipse.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****@microso ft.comwrote in message
news:%2******* *********@TK2MS FTNGP03.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
5548
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
27361
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 programatically and all works well, except for one thing: I don't seem to be able to make a paragraph apear in bold. I have tried: Selection.Font.Bold = wdToggle ' does not work I have tried: Selection.Font.Weight = 700 ' does not work I have tried:...
4
7753
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
11461
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 ReadOnly. Label.Font.Style = FontStyle.Bold --> ReadOnly error again. Any Suggestions appreciated. Thanks
2
2860
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 change the selected text to bold, italic or underlined without using the font dialog?
4
13353
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" but if i try this for bold and italic it doesn't work Dim f As New Font("Verdana", 30, FontStyle.Bold And FontStyle.Italic)
1
2719
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, btnCalculate.Font.Style | FontStyle.Bold);
5
2601
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 documentations is excellent. This code looks to me like it should swap the bold highlight around, but Regular never gets reapplied, leaving both labels in Bold. Maybe there is a better way of doing this (aside from the obvious refactor), but...
2
7743
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 As Font For Each c As DataGridViewCell In dgrv1.SelectedCells cs = c.Style Console.WriteLine(c.Style.Font) fnt = dgrv1.Font Console.WriteLine(fnt.Name)
7
5200
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
8392
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8305
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8503
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7321
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6163
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1950
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1607
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.