Solved

html text size

Posted on 1999-01-18
7
162 Views
Last Modified: 2013-12-16
hi, simple question...unfortunately, i only have 15 points to offer at this time...question isn't too hard...
in Word for example you can have text at size 8 to 36..points
in html it's only 1->7..what do these correspond to in point size???
thankyou
0
Comment
Question by:cybermoonlight
  • 3
  • 3
7 Comments
 
LVL 6

Expert Comment

by:clifABB
ID: 1469258
There is no definite answer to the question.

Because html was written to be device independent, there is no true correspondence between screen font size and html font size.

That is to say, size 1 in one browser may not be the same size in another browser on another machine.  An example of this might be viewing html on WebTV compared to viewing html on a standard PC.

Because you only have 15 points, I won't answer this.  You can take the information and then delete the question.
0
 
LVL 2

Author Comment

by:cybermoonlight
ID: 1469259
thankyou cliffABB....points up to 20.....
0
 
LVL 6

Expert Comment

by:clifABB
ID: 1469260
cybermoonlight:
Save your points for another question.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 2

Author Comment

by:cybermoonlight
ID: 1469261
i really need this answer..please, i'll increase the points if i can please.
0
 
LVL 6

Expert Comment

by:clifABB
ID: 1469262
I answered your question, I just didn't post it as an answer so you could save your points.
0
 
LVL 1

Accepted Solution

by:
bear454 earned 20 total points
ID: 1469263
CliffABB is on the right track.  Each browser, on each operating system, uses a different default font size to develop the 7 HTML gradients.  For example, fonts run smaller on MACs then PCs, but larger on UNIX (Solaris for example) where the average resloution is higher.  MSIE will let you set a font face & pitch (in points) using the <FONT> tag, but this only works with IE, and only if you have a font set that is available on all platforms.
If you need to limit the size of the text specifically, and cross platform, I have 2 options...
1) Use images designed to appear as fonts - you could theoretically create an image for each letter, using 2-bit gifs, and produce the document without long load times.
2) PDF - Adobe Acrobat is supported everywhere, and always looks the same...

What does any of this have to do with VB?
0
 
LVL 2

Author Comment

by:cybermoonlight
ID: 1469264
well i am making a wysiwyg html editor and i don't know what font size to use for 1 to 7!! thanks
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Text Transformation using ActionScript 3 5 135
VBA filters 2 59
Access Object Property from VBA Module in Excel 2010 2 31
Recommendation vb6 to vb.net or others 14 148
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question