[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ProgSoc] Determining Netscape Font Size




	I am using CSS (cascade Style Sheets) in a project where I need to
select an area of text. For this I am using layers, the select layer is
below a text area.
	
	Now I need to align the text with the "background" layers, and to
do so I need to define the font and size of it in pixels, and be able to
define it for a user regardless of user "browser setup".

	That is why I need to know how to define the actual pixel width
and height of a font(Courier) when displayed by Netscape. If you specify
the size with a style-sheet e.g.  "font-size: 10px" netscape does not
necessarily display that font at that size.

	I am currently using a <pre> tag so we have fixed width text, and
it doesn't always work, any suggesttions.


Rodrigo del Busto			| 
rod@nospam.progsoc.uts.edu.au			|
http://www.progsoc.uts.edu.au/~rod	|

"Life is not fair, anyone that say diferent is trying to sell 
something", Princes Bride




--
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.

This list is archived at <http://www.progsoc.uts.edu.au/lists/progsoc/>