Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 2004 14:20:23 +0100
From:      "Simon L. Nielsen" <simon@FreeBSD.org>
To:        Ceri Davies <ceri@submonkey.net>, Giorgos Keramidas <keramida@freebsd.org>, Murray Stokely <murray@freebsd.org>, doc-committers@freebsd.org, cvs-doc@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: www/en/docproj current.sgml
Message-ID:  <20041206132022.GA756@zaphod.nitro.dk>
In-Reply-To: <20041206130917.GE513@submonkey.net>
References:  <200412042304.iB4N488e000350@repoman.freebsd.org> <20041206115045.GB513@submonkey.net> <20041206120320.GA1224@orion.daedalusnetworks.priv> <20041206130917.GE513@submonkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2004.12.06 13:09:17 +0000, Ceri Davies wrote:
> On Mon, Dec 06, 2004 at 02:03:20PM +0200, Giorgos Keramidas wrote:
> > On 2004-12-06 11:50, Ceri Davies <ceri@submonkey.net> wrote:
> > > On Sat, Dec 04, 2004 at 11:04:08PM +0000, Murray Stokely wrote:
> > > > murray      2004-12-04 23:04:08 UTC
> > > >
> > > >   FreeBSD doc repository
> > > >
> > > >   Modified files:
> > > >     en/docproj           current.sgml
> > > >   Log:
> > > >   Use CSS for headings instead of <font> tags.
> > >
> > > > | @@ -65,7 +65,7 @@
> > > > |      the open documentation problem reports.</p>
> > > > |
> > > > |      <a name=3D"handbook3"></a>
> > > > | -    <h3><font color=3D"#660000">FreeBSD Handbook 3rd Edition</fo=
nt></h3>
> > > > | +    <h3 class=3D"red">FreeBSD Handbook 3rd Edition</h3>
> > >
> > > Hmm.  Does that actually buy us anything in the way of maintainabilit=
y?
> >=20
> > Yes, CSS can buy us a lot in maintainability and consistency.  We just
> > have to be a bit careful when we use it.  For instance, in this change
> > the "red" class name should probably go away.  Removing the class and
> > making all <h3> elements have a standard style with:
> >=20
> > 	h3 {
> > 		color: maroon;
> > 	}
> >=20
> > works too.
>=20
> Everyone apart from you who has replied has totally missed the point.
> I'm sold on CSS, just not on having a h3.red entry for red h3 elements.

In my exprimental www/ tree, I have done it like this:

h1, h2, h3 {
  color: #990000;
  margin-bottom: 0.01em;
}
h2 A:visited, h2 A:link {
  color: #990000;
}

Well, and a lot more, but I also agree that CSS is the way.  I don't
really think there is any reason to care about non CSS browsers, wrt.
to layout / colors etc. if it's just still possible to see the
content.

--=20
Simon L. Nielsen

--sm4nu43k4a2Rpi4c
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBtFyWh9pcDSc1mlERAhTcAKCsJvZv7VCbF2UCt8xXITNzNPDmSgCfUqge
FwVqFvZlzf/BR240oZ4Zd3U=
=RHik
-----END PGP SIGNATURE-----

--sm4nu43k4a2Rpi4c--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041206132022.GA756>