473,466 Members | 1,320 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Default Unit for Font Size

Wheh I make the following statement, what is the unit for the font size.

<td colspan='1' bgcolor='#F4F4F4'><font face='Verdana'
size='1'><b>TestData</b></font></td>

Thank you very much for your reply.

Smith
Nov 19 '05 #1
4 3024
that's an absolute font size..it's up to the browser to decide how to render
it..

it goes from 1-7, with 3 being the normal. All you know is that 1 is
smaller than 2 which is smaller than 3.

It's useful because if a user likes having really large text, his/her
default size might be larger, meaning "1" on his/her screen will still be
relatively small to normal, but still readable (hopefully)

Anyways, you should be using css...and that wasn't really an asp.net
question...

Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"JohnSmith90" <SS******@hotmail.com> wrote in message
news:em**************@TK2MSFTNGP15.phx.gbl...
Wheh I make the following statement, what is the unit for the font size.

<td colspan='1' bgcolor='#F4F4F4'><font face='Verdana'
size='1'><b>TestData</b></font></td>

Thank you very much for your reply.

Smith

Nov 19 '05 #2
Thanks for the reply.
1. Does the font-size specification in a grid... like
smaller,larger,xx-small.... etc corresponds to the below mentioned
numbers(1-7) ?
2. In the HTML text I have set the size as I quoted, I want to make sure the
grid text size also same as rest of the fonts. How to make sure that?
Thanks,
Smith


"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:%2****************@TK2MSFTNGP14.phx.gbl...
that's an absolute font size..it's up to the browser to decide how to render it..

it goes from 1-7, with 3 being the normal. All you know is that 1 is
smaller than 2 which is smaller than 3.

It's useful because if a user likes having really large text, his/her
default size might be larger, meaning "1" on his/her screen will still be
relatively small to normal, but still readable (hopefully)

Anyways, you should be using css...and that wasn't really an asp.net
question...

Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"JohnSmith90" <SS******@hotmail.com> wrote in message
news:em**************@TK2MSFTNGP15.phx.gbl...
Wheh I make the following statement, what is the unit for the font size.

<td colspan='1' bgcolor='#F4F4F4'><font face='Verdana'
size='1'><b>TestData</b></font></td>

Thank you very much for your reply.

Smith


Nov 19 '05 #3
smaller, larger, xx-small are css font sizes...there are 8 of them

they don't map perfectly, because "medium" in css is the 4th font...but 3 is
the "normal" font in html....if you don't mix and match them and you always
use one style or the other, you won't have any problems.

AS for the "grid" I take it you are talking about datagrids? You can use
the ItemStyle and such to specify the font-size. Without knowing how your
grid is (or being 100% sure you mean datagrid) I can't answer in more
details..

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"JohnSmith90" <SS******@hotmail.com> wrote in message
news:OB**************@TK2MSFTNGP10.phx.gbl...
Thanks for the reply.
1. Does the font-size specification in a grid... like
smaller,larger,xx-small.... etc corresponds to the below mentioned
numbers(1-7) ?
2. In the HTML text I have set the size as I quoted, I want to make sure
the
grid text size also same as rest of the fonts. How to make sure that?
Thanks,
Smith


"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:%2****************@TK2MSFTNGP14.phx.gbl...
that's an absolute font size..it's up to the browser to decide how to

render
it..

it goes from 1-7, with 3 being the normal. All you know is that 1 is
smaller than 2 which is smaller than 3.

It's useful because if a user likes having really large text, his/her
default size might be larger, meaning "1" on his/her screen will still be
relatively small to normal, but still readable (hopefully)

Anyways, you should be using css...and that wasn't really an asp.net
question...

Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"JohnSmith90" <SS******@hotmail.com> wrote in message
news:em**************@TK2MSFTNGP15.phx.gbl...
> Wheh I make the following statement, what is the unit for the font
> size.
>
> <td colspan='1' bgcolor='#F4F4F4'><font face='Verdana'
> size='1'><b>TestData</b></font></td>
>
> Thank you very much for your reply.
>
> Smith
>
>



Nov 19 '05 #4
Yes. I am talking about datagrid.
Smith

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:uP**************@TK2MSFTNGP09.phx.gbl...
smaller, larger, xx-small are css font sizes...there are 8 of them

they don't map perfectly, because "medium" in css is the 4th font...but 3 is the "normal" font in html....if you don't mix and match them and you always use one style or the other, you won't have any problems.

AS for the "grid" I take it you are talking about datagrids? You can use
the ItemStyle and such to specify the font-size. Without knowing how your
grid is (or being 100% sure you mean datagrid) I can't answer in more
details..

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"JohnSmith90" <SS******@hotmail.com> wrote in message
news:OB**************@TK2MSFTNGP10.phx.gbl...
Thanks for the reply.
1. Does the font-size specification in a grid... like
smaller,larger,xx-small.... etc corresponds to the below mentioned
numbers(1-7) ?
2. In the HTML text I have set the size as I quoted, I want to make sure
the
grid text size also same as rest of the fonts. How to make sure that?
Thanks,
Smith


"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:%2****************@TK2MSFTNGP14.phx.gbl...
that's an absolute font size..it's up to the browser to decide how to

render
it..

it goes from 1-7, with 3 being the normal. All you know is that 1 is
smaller than 2 which is smaller than 3.

It's useful because if a user likes having really large text, his/her
default size might be larger, meaning "1" on his/her screen will still be relatively small to normal, but still readable (hopefully)

Anyways, you should be using css...and that wasn't really an asp.net
question...

Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"JohnSmith90" <SS******@hotmail.com> wrote in message
news:em**************@TK2MSFTNGP15.phx.gbl...
> Wheh I make the following statement, what is the unit for the font
> size.
>
> <td colspan='1' bgcolor='#F4F4F4'><font face='Verdana'
> size='1'><b>TestData</b></font></td>
>
> Thank you very much for your reply.
>
> Smith
>
>



Nov 19 '05 #5

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

Similar topics

2
by: Isaac Grover | last post by:
Hi everyone, Rather than have this construct in my pages: <table> <tr><td><font face=arial size=3>line1</font></td></tr> <tr><td><font face=arial size=3>line2</font></td></tr> <tr><td><font...
3
by: Marti | last post by:
Dear everyone, Its my understanding that IE6 now uses a default text-size of "Small" rather than IE5's "Medium". Since I have used relative font-sizes (usually in ems) on all my sites, I am...
55
by: Haines Brown | last post by:
I've been setting font-size 1em; as the default in my style sheets. Until now, that seemed to be ok. But now I'm beginning to wonder. My aim is to have an easily readable, but not overly large...
54
by: Brett Baisley | last post by:
Hello, I am trying to figure out how to change the default font-family and font-size. I tried adding this to the BODY section, but it didn't work. I tried to the P section, but they are not...
8
by: Fast Eddie | last post by:
I've done a bit of searching, and I can't find the answer to this question: If you omit the "font-size" property from all of your CSS, does it default to 100%? Thanks for bearing with a newbie.
2
by: SK | last post by:
Hello, I am creating a web server control derived from datagrid for the first time. Now I would like to set the prefix of my control by default to SK instead of CC1. Is that possible? The other...
3
by: Marty McFly | last post by:
Hello, I have a control class that inherits from System.Web.UI.WebControls.Button. When I drag this control from the "My User Controls" tab in the toolbox onto the form, I want it to reflect the...
12
by: Doogie | last post by:
How do I make a value the default value for a combo box in ASP 3.0? What I have below does NOT work, yet I've seen it in HTML file examples before (and works if I put it in a HTML file by itself,...
58
by: Don Li | last post by:
I've tried <body style="font-family:Verdana,Arial,Helvetica;font-size:0.8em;"> or <body style="font-family:Verdana,Arial,Helvetica;font-size:11pct;"> or <body...
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
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
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.