Jump to content

table formatting

  • Please log in to reply
1 reply to this topic

#1 Guest_Jennifer Good_*

Guest_Jennifer Good_*
  • Guests

Posted 02 July 2006 - 02:30 PM

Is there a way to  get the  character size in pixels for the  standard character sizes?. If I use
<FONT SIZE='3'>, can I get  the width of the character in pixels, If it is Font  dependent, use 'Arial,Helvetica' for the FACE.



#2 wildteen88

  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 02 July 2006 - 06:00 PM

Can explain your problem more? ALso I would advise to not use the font tag. But learn CSS to style how your text on your page looks like, eg:
<span style="font-size: 12px;">This text size is 12px</span>
Or you can use this HTML and add it before the closing head (< /head>) tag:
<style type="text/css">body {
    font-size: 12px;
That will then format all the text to 12px. However you can still add in more CSS styles to format how your font looks like in a different html tag, such as the table tag with this:
table {
    font-size: 16px;
    font-family: Verdan, Arial, Helvetica;
That will then style any text in a table to 16px in size and use Verdana as the font. If you want to learn how to use CSS got to w3schools.com.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users