<big> and <small> = ?? (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


rubyaim -> <big> and <small> = ?? (5/3/2006 1:34:51)

I'm in the middle of cleaning up some code sent to me by a colleague who learned how to write html just after the internet was invented.

Would anyone know what <big> and <small> tags for font are equivalent to in pixels, points, 'size=', em or %? I'm not fussy, will take any conversion someone can come up with.

Once I figure that out I'll be able to style all the nested bigs as headings and smalls as whatever they should be. The code is even breaking in IE so I'm having trouble guestimating this.

Thanks for any help.




Kitka -> RE: <big> and <small> = ?? (5/3/2006 2:11:59)

Hi Sally,

They are absolute sizes that are calculated from a declared base font size.

Maybe this quote from W3C might help your calculations:

quote:

<absolute-size>
An <absolute-size> keyword refers to an entry in a table of font sizes computed and kept by the user agent. Possible values are:

[ xx-small | x-small | small | medium | large | x-large | xx-large ]

On a computer screen a scaling factor of 1.2 is suggested between adjacent indexes; if the 'medium' font is 12pt, the 'large' font could be 14.4pt. Different media may need different scaling factors. Also, the user agent should take the quality and availability of fonts into account when computing the table. The table may be different from one font family to another.

Note. In CSS1, the suggested scaling factor between adjacent indexes was 1.5 which user experience proved to be too large.


http://www.w3.org/TR/REC-CSS2/fonts.html#value-def-absolute-size

HTH.




rubyaim -> RE: <big> and <small> = ?? (5/3/2006 3:03:44)

Thanks Kitka, that does help [:)] . There is no base font in the code.

I think what she sent to me was written to 3.2 (though it's not been declared)
http://www.w3.org/TR/REC-html32

It did not occur to me to look at w3org until your post [8|]

I'll fiddle a bit more and send it to her to see if it's what she had in mind.





jaybee -> RE: <big> and <small> = ?? (5/3/2006 6:37:46)

quote:

There is no base font in the code.


In which case it's using the browser default, whatever that may be.




rubyaim -> RE: <big> and <small> = ?? (5/3/2006 18:56:13)

quote:

In which case it's using the browser default, whatever that may be.

That makes far too much sense [:D]

Of course, it will take me all day to figure out what the default is - I can find the default font in IE but not the size [&:]




emtohio -> RE: <big> and <small> = ?? (5/3/2006 19:08:07)

on my screen the big was 14pt

samll was 10pt





rubyaim -> RE: <big> and <small> = ?? (5/3/2006 19:21:27)

Thanks emtohio [:)]




jaybee -> RE: <big> and <small> = ?? (5/3/2006 20:11:00)

quote:

ORIGINAL: rubyaim

quote:

In which case it's using the browser default, whatever that may be.

That makes far too much sense [:D]

Of course, it will take me all day to figure out what the default is - I can find the default font in IE but not the size [&:]


All the browsers have a different default. You need to specify a font size in your body tag.




Tailslide -> RE: <big> and <small> = ?? (5/4/2006 2:46:26)

If I remember rightly IE is about 16px. Firefox, Opera, Mozilla, Netscape etc are about 14px. Mac browsers are around 12px (possibly 10px can't remember).




rubyaim -> RE: <big> and <small> = ?? (5/4/2006 3:08:44)

Thanks everyone who helped with this. I ended up making the executive decision not to even try to replicate what had been sent and to make the research department a template followed up with a bit of training on how to edit the code.

In case anyone is wondering why I was having so much trouble, here is a sample of the code.

This is after I had cleared out a lot of the excess so it would at least display in IE

<big
 style="color: rgb(0, 128, 0);"><br>
</big><big style="color: rgb(0, 0, 0);"><span
 style="color: rgb(0, 128, 0);"></span></big>
<div style="text-align: center;"><big><big style="font-weight: bold;"><big><big><big><big><span
 style="font-family: times;"><span
 style="color: rgb(0, 128, 0);"></span></span></big></big></big><big
 style="font-weight: bold; color: rgb(0, 128, 0); font-family: times;"><big><big><big><big><big><br>
Sugar Counts</big></big></big></big></big></big></big></big><big
 style="font-weight: bold; color: rgb(0, 128, 0); font-family: times;"><big><big><big><big><big><small><small><small><small><br>
</small></small></small><br></small></small></small></small></big></big></big>
<br>
<small>Field Test One<small><small><br>
</small></small></small><small><small><small><small><small><small><small><small><br>
</small></small></small></small></small></small></small></small></big></big></big></big></big></big></big></div>
<div style="text-align: times; color: rgb(0, 128, 0);"><big><big
 style="font-weight: bold;"><big style="font-weight: bold;"><big><big><span
 style="font-family: times;"><small><small><span
 style="font-family: times;"><br>
<br>
<br>
<small>Testing conducted at


[sm=unsure.gif]




Tailslide -> RE: <big> and <small> = ?? (5/4/2006 4:58:42)

Oh my god!




jaybee -> RE: <big> and <small> = ?? (5/4/2006 5:52:20)

She definitely wanted the font small then. [:D]

There's a post about js sizing of fonts in Hints and tips. There are problems with Safari at the moment but if he fixes that it could be useful.




rubyaim -> RE: <big> and <small> = ?? (5/4/2006 18:19:11)

quote:

Oh my god!


I caught up with her last night and asked what was used to create the code.

Notepad apparently ( and, I suspect, a couple of bottles of scotch [:D] )





jaybee -> RE: <big> and <small> = ?? (5/5/2006 4:22:17)

quote:

ORIGINAL: rubyaim

quote:

Oh my god!


I caught up with her last night and asked what was used to create the code.

Notepad apparently ( and, I suspect, a couple of bottles of scotch [:D] )




I suspect something much stronger than that. [;)]




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.078125