Re: CSS oddity in IE5

by "Craig S. Kiessling" <wulin(at)netzero.net>

 Date:  Wed, 19 Jul 2000 22:10:13 -0700
 To:  <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
"em" is a measurement unit, as pica (pc), borrowed from the traditional
print industry. It doesn't stand for anything, but rather, denotes the space
taken up by an average "m" in text.

Sincerely,

Craig S. Kiessling
Certified HTML  Programmer (Web Developer / Designer)
STI Productions
wulin(at)netzero.net
http://wulin.web.com
http://www.angelcities.com/members/northwind/index.html

-----Original Message-----
From: Rebecca Jean Pedersen <rjp(at)mail.tele.dk>
To: Keith Purtell <kpurtell(at)vantagemed.net>
Cc: hwg-techniques(at)hwg.org <hwg-techniques(at)hwg.org>
Date: Wednesday, July 19, 2000 1:53 PM
Subject: Re: CSS oddity in IE5


>try basing your margin on px instead of em.  em is dependent on the size
>of the font in this instance.  i forget what em is short for but its the
>number of units of the thingie youre talking about.  (gee... i sound
>real intelligent with my "thingie" don't i?)
>
>if its for an intranet is it browser specific?
>
>
>Keith Purtell wrote:
>>
>> I've been building an external style sheet for an intranet with several
>> classes that let me modify font size. When I use the classes with the
>> paragraph tag, IE5 will move the paragraphs containing the smaller size
>> slightly to the left, and move the paragraphs with the larger size text
to
>> the right. Netscape does not do this. I've tried wrapping these
paragraphs
>> in DIV tags and using BR clear="all" without results. Any ideas on why
this
>> happens? TIA, and here is some code from the CSS external doc and the
test
>> HTML doc ...
>>
>> P {
>> font-family: Georgia, Times, 'Times New Roman', serif;
>> font-style: normal;
>> text-align: left;
>> margin-left: 2.5em;
>> margin-right: 2.5em}
>> .MIN2 {
>> font-size: .75em}
>> .PL2 {
>> font-size: 2em}
>>
>> <P CLASS="MIN2"><B>P</B> CLASS=MIN2 same as <B>P</B> except smaller</P>
>> <P><B>P</B> No CLASS, just ordinary <B>P</B></P>
>> <P CLASS="PL2"><B>P</B> CLASS=PL2 same as <B>P</B> except larger</P>
>>
>> Keith Purtell, Web Designer
>


_____NetZero Free Internet Access and Email______
   http://www.netzero.net/download/index.html

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.