W3C home > Mailing lists > Public > www-style@w3.org > January 2000

Re: Inline h*ll

From: Ian Hickson <py8ieh@bath.ac.uk>
Date: Thu, 13 Jan 2000 14:24:02 +0000 (GMT)
To: Matthew Brealey <thelawnet@yahoo.com>
cc: www-style <www-style@w3.org>
Message-ID: <Pine.GSO.4.04.10001131411200.28201-100000@mary.bath.ac.uk>
On Thu, 13 Jan 2000, Matthew Brealey wrote:

> I remain entirely unconvinced. 

There is not much I can do about that...

> I would appreciate if someone can explain how (for example) the
> border is where it is.

The border of an inline element is drawn around the padding edge of
the inline box. The padding is "drawn" around the font-size of the
element. It is important to note that the font-size, background,
padding, border and margins of inline elements are independent of the
line-height (except that line-height can be dependent on the font-size
if it is specified as a percentage, a ratio, or in "em" units).

==== off topic ====
>> BTW. It would be helpful, and would make your messages easier to
>> read (IMHO) if you could wrap your lines at the more usual 75
>> characters rather than 60,
> I am unable to do this unfortunately.

If you are using Yahoo!Mail, as your headers indicate, then hit
Options (in the left hand bar of the Yahoo!Mail web page) then select
"Mail Preferences" (under "Personalisation") and change the value of
"Screen Width (Composing)" from 55 (the default) to 75 (the netiquette
recommended value). I recommend changing the "Screen Width (Viewing)"
value to something greater, like 80, at the same time.

If you are not using Yahoo!Mail, or if you cannot change the width for
some other reason (why?!), then at least take the time to rewrap the
text so that quoted text does not look ragged like this:

> >>>: <p style="line-height: 14pt; font-size: 12pt;">
> This is a
> >>>: paragraph which<BR>contains a <BIG
> style="font-size:
> >>>: 300%;">BiG</BIG> element<BR> that will do weird

...but instead looks neat, like this:

>>>>: <p style="line-height: 14pt; font-size: 12pt;"> 
>>>>:  This is a paragraph which<BR>contains a
>>>>:  <BIG style="font-size: 300%;">BiG</BIG>
>>>>:  element<BR> that will do weird [...]

If you do not have the patience to do this by hand, then I can
recommend Emacs (www.emacs.org) which is free, cross platform, and
does this kind of thing very, very easily.

Cheers,
-- 
Ian Hickson                            ("`-''-/").___..--''"`-._   
http://www.bath.ac.uk/%7Epy8ieh/        `6_ 6  )   `-.  (     ).`-.__.`)
                                        (_Y_.)'  ._   )  `._ `. ``-..-' fL
Member, Mozilla Quality Assurance     _..`--'_..-_/  /--'_.' ,'
Browser Standards Compliance Team    (il).-''  (li).'  ((!.-'    
Received on Thursday, 13 January 2000 09:24:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:02 GMT