Hi all,

I went and did a little digging on stylesheets..  While I am by not means a
stylesheet guru, what I found was that by using the import statement or the
link statement following the main stylesheet statement, you can override
various stylesheet tags.

So, by adding this line:

                        <link rel="stylesheet" type="text/css" href="./style/main.css" 
/>
--> new line      <link rel="stylesheet" type="text/css"
href="./style/project.css" />
                        <link rel="stylesheet" type="text/css" href="./style/print.css"
media="print" />

I am able to override existing tags in the html.  So it seems that we should
either have a style sheet "project.css" specified in the project.xml file
that is then used, or just always specify a project.css and then if you need
a custom style sheet, you provide it.  It seems though that if you also want
to specify what logo image to use, and you do that via the POM, then it
might make sense to specify what project.css file to include as well.

Eric

-----Original Message-----
From: Glenn A. McAllister [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 9:58 AM
To: [EMAIL PROTECTED]
Subject: RE: Overriding the default Jakarta stylesheet in maven:docs


On Mon, 22 Apr 2002, Eric Pugh wrote:

> +1  I want to use Maven for my own company projects.  I also want to
> convince the dbforms people to use Maven, however they aren't a jakarta
> project, and will want their own logo.  Also the colours as well.
>
> maybe there should be some things like logo's and colors that are
> customizable, but some things that are not, like structure and content?

The discussion about colour has happened already, but I didn't see a real
desicion made in the end.

Assuming that we do allow colors to be modified (which is debatable, but I
can understand why people would want it) how would we?  All of that is
controlled by stylesheets, and to the best of my knowledge they aren't
parameterizable.  That being said, I'm no CSS expert, so feel free to
shoot me down. :)

Glenn McAllister
SOMA Networks, Inc.

Reply via email to