|
| |
|
|
rubyaim
Posts: 757 Joined: 6/22/2005 Status: offline
|
<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.
_____________________________
Sally
|
|
|
|
Kitka
Posts: 2520 Joined: 1/31/2002 From: Australia Status: offline
|
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.
_____________________________
Kitka **It is impossible to make anything foolproof because fools are so ingenious.**
|
|
|
|
emtohio
Posts: 113 Joined: 2/23/2006 From: Dave Stevens Status: offline
|
RE: <big> and <small> = ?? - 5/3/2006 19:08:07
on my screen the big was 14pt samll was 10pt
_____________________________
Dave Stevens President FIELDMEDICS.COM
|
|
|
|
Tailslide
Posts: 6296 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
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).
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
|
|
rubyaim
Posts: 757 Joined: 6/22/2005 Status: offline
|
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
_____________________________
Sally
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|