Re: Stumped!

by "Donna M Smillie" <dms(at)zetnet.co.uk>

 Date:  Thu, 24 Feb 2000 08:22:23 -0000
 To:  <hwg-techniques(at)hwg.org>
 References:  network
  todo: View Thread, Original
----- Original Message -----
From: Peter Benoit <pbenoit(at)triton-network.com>

> Headers by definition have a space below them to separate it from the
rest
> of the content.  Why don't you do something like:
>
> TD.bigger {
> font-family: Arial, Helvetica, sans-serif;
> font-size:14pt;
> font-face:bold;
> text-align: left;
> }
>
> You get the H3 without the H3.  ;)

The problem with that is that it messes up the logical structure of the
document, assuming the H3 tags were used because the text is actually a
heading and not just to get the font formatting.

Why not use something like:

h3 {
  font-family: arial, helvetical, sans-serif;
  margin-bottom: 0px;
}

That should get rid of the margin below the heading, while keeping it as
a heading and leaving the structure of the document intact.

Regards,
Donna
--
dms(at)zetnet.co.uk
Different Worlds:  http://www.users.zetnet.co.uk/dms/
Pictures of the Past, The Leslie Smith Family,
An Introduction to HTML, Copyright Considerations
Online Bookshop

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