cvs commit: www/en/docproj current.sgml

Simon L. Nielsen simon at FreeBSD.org
Mon Dec 6 05:20:27 PST 2004


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 at 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="handbook3"></a>
> > > > | -    <h3><font color="#660000">FreeBSD Handbook 3rd Edition</font></h3>
> > > > | +    <h3 class="red">FreeBSD Handbook 3rd Edition</h3>
> > >
> > > Hmm.  Does that actually buy us anything in the way of maintainability?
> > 
> > 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:
> > 
> > 	h3 {
> > 		color: maroon;
> > 	}
> > 
> > works too.
> 
> 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.

-- 
Simon L. Nielsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-doc/attachments/20041206/93fdac2a/attachment.bin


More information about the cvs-doc mailing list