RE: table vs. div tag in site

2005-04-28 Thread Jörg Schaible
Daniel Frey wrote on Wednesday, April 27, 2005 4:42 PM:

 Hello
 
 I am revising my sites css. I would like the left navigation
 column to have ist gray background going to the bottom of the
 page. Trying to find out how this can be achieve I have found
 that there are two different types of maven sites on the web:
 1. Those I get where the left and body columns are just
 wrapped into a div tag (i.e. http://maven.apache.org/), and
 2. those where they are placed with a table (i.e.
 http://db.apache.org/). I would like to have the table
 version, as it fullfills my needs easily. How can I switch to
 this type of documentation? Are there templates to be exchanged or so?

There's only one Maven site on the web, the one with CSS. db.apache.org is not 
done with Maven. You can apply your own template though by defining your own 
site.jsl (see xdoc-plugin docs). Drawback is that you have to update all parts 
taken from the original with every new release of the plugin yourself.

- Jörg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: table vs. div tag in site

2005-04-28 Thread Brett Porter
Actually, db.apache.org was done with an older version of Maven. You
can get that look and feel, using the div/ approach, using
maven.xdoc.theme=classic.

Note that the table style is definitely not a good way to be doing
layout, and the web is moving much more towards (albeit slowly) CSS
driven layout.

You can customise with a whole new site.jsl as recommended, but also
by just supplying an alternate stylesheet (preferred). The stylesheet
could easily set the left nav to extend to 100% of the content.

- Brett

On 4/28/05, Jörg Schaible [EMAIL PROTECTED] wrote:
 Daniel Frey wrote on Wednesday, April 27, 2005 4:42 PM:
 
  Hello
 
  I am revising my sites css. I would like the left navigation
  column to have ist gray background going to the bottom of the
  page. Trying to find out how this can be achieve I have found
  that there are two different types of maven sites on the web:
  1. Those I get where the left and body columns are just
  wrapped into a div tag (i.e. http://maven.apache.org/), and
  2. those where they are placed with a table (i.e.
  http://db.apache.org/). I would like to have the table
  version, as it fullfills my needs easily. How can I switch to
  this type of documentation? Are there templates to be exchanged or so?
 
 There's only one Maven site on the web, the one with CSS. db.apache.org is 
 not done with Maven. You can apply your own template though by defining your 
 own site.jsl (see xdoc-plugin docs). Drawback is that you have to update all 
 parts taken from the original with every new release of the plugin yourself.
 
 - Jörg
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: table vs. div tag in site

2005-04-28 Thread Brett Porter
I just tried google feeling lucky with 100% height div and got this:
http://www.webmasterworld.com/forum83/200.htm

makes sense - try 100% on the body (but also test what happens when
you resize to less than the size of the content to make that doesn't
get mucked up).

HTH,
Brett

On 4/28/05, Daniel Frey [EMAIL PROTECTED] wrote:
 Thanks Brett for the clear answer. I agree with you, tables is hardcoded
 layout stuff, and a distinct separation of layout and content is also what I
 prefer.
 
 Did you try to stretch the nav column with css yourself? I would appreciate
 some help. When trying to extend the maven-basic.css to stretch to the
 extend of the page there are basically to ids the should be considered:
 
 html
 ...
 body class=composite
 ...
 div id=leftColumn
 div id=navcolumn
...
 
 In my mave-basic.css I added the following instructions:
 
 #navcolumn {
 ...
 height: 100%;
 }
 
 #leftColumn {
 ...
 height: 100%;
 ...
 }
 
 However, no stretching is visible. Any clue what would do the trick?
 
 Thanks in advance.
 Daniel Frey
 
 -Ursprüngliche Nachricht-
 Von: Brett Porter [mailto:[EMAIL PROTECTED]
 Gesendet: Donnerstag, 28. April 2005 08:38
 An: Maven Users List
 Betreff: Re: table vs. div tag in site
 
 Actually, db.apache.org was done with an older version of Maven. You can get
 that look and feel, using the div/ approach, using
 maven.xdoc.theme=classic.
 
 Note that the table style is definitely not a good way to be doing layout,
 and the web is moving much more towards (albeit slowly) CSS driven layout.
 
 You can customise with a whole new site.jsl as recommended, but also by just
 supplying an alternate stylesheet (preferred). The stylesheet could easily
 set the left nav to extend to 100% of the content.
 
 - Brett
 
 On 4/28/05, Jörg Schaible [EMAIL PROTECTED] wrote:
  Daniel Frey wrote on Wednesday, April 27, 2005 4:42 PM:
 
   Hello
  
   I am revising my sites css. I would like the left navigation column
   to have ist gray background going to the bottom of the page. Trying
   to find out how this can be achieve I have found that there are two
   different types of maven sites on the web:
   1. Those I get where the left and body columns are just wrapped into
   a div tag (i.e. http://maven.apache.org/), and 2. those where they
   are placed with a table (i.e.
   http://db.apache.org/). I would like to have the table version, as
   it fullfills my needs easily. How can I switch to this type of
   documentation? Are there templates to be exchanged or so?
 
  There's only one Maven site on the web, the one with CSS. db.apache.org is
 not done with Maven. You can apply your own template though by defining your
 own site.jsl (see xdoc-plugin docs). Drawback is that you have to update all
 parts taken from the original with every new release of the plugin yourself.
 
  - Jörg
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: table vs. div tag in site

2005-04-28 Thread Daniel Frey
Thanks Brett for the clear answer. I agree with you, tables is hardcoded
layout stuff, and a distinct separation of layout and content is also what I
prefer.

Did you try to stretch the nav column with css yourself? I would appreciate
some help. When trying to extend the maven-basic.css to stretch to the
extend of the page there are basically to ids the should be considered: 

html
...
body class=composite
...
div id=leftColumn
div id=navcolumn
   ...

In my mave-basic.css I added the following instructions:

#navcolumn {
...
height: 100%;
}

#leftColumn {
...
height: 100%;
...
}

However, no stretching is visible. Any clue what would do the trick?

Thanks in advance.
Daniel Frey

-Ursprüngliche Nachricht-
Von: Brett Porter [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 28. April 2005 08:38
An: Maven Users List
Betreff: Re: table vs. div tag in site

Actually, db.apache.org was done with an older version of Maven. You can get
that look and feel, using the div/ approach, using
maven.xdoc.theme=classic.

Note that the table style is definitely not a good way to be doing layout,
and the web is moving much more towards (albeit slowly) CSS driven layout.

You can customise with a whole new site.jsl as recommended, but also by just
supplying an alternate stylesheet (preferred). The stylesheet could easily
set the left nav to extend to 100% of the content.

- Brett

On 4/28/05, Jörg Schaible [EMAIL PROTECTED] wrote:
 Daniel Frey wrote on Wednesday, April 27, 2005 4:42 PM:
 
  Hello
 
  I am revising my sites css. I would like the left navigation column 
  to have ist gray background going to the bottom of the page. Trying 
  to find out how this can be achieve I have found that there are two 
  different types of maven sites on the web:
  1. Those I get where the left and body columns are just wrapped into 
  a div tag (i.e. http://maven.apache.org/), and 2. those where they 
  are placed with a table (i.e.
  http://db.apache.org/). I would like to have the table version, as 
  it fullfills my needs easily. How can I switch to this type of 
  documentation? Are there templates to be exchanged or so?
 
 There's only one Maven site on the web, the one with CSS. db.apache.org is
not done with Maven. You can apply your own template though by defining your
own site.jsl (see xdoc-plugin docs). Drawback is that you have to update all
parts taken from the original with every new release of the plugin yourself.
 
 - Jörg
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



table vs. div tag in site

2005-04-27 Thread Daniel Frey
Hello

I am revising my sites css. I would like the left navigation column to have
ist gray background going to the bottom of the page. Trying to find out how
this can be achieve I have found that there are two different types of maven
sites on the web: 1. Those I get where the left and body columns are just
wrapped into a div tag (i.e. http://maven.apache.org/), and 2. those where
they are placed with a table (i.e. http://db.apache.org/). I would like to
have the table version, as it fullfills my needs easily. How can I switch to
this type of documentation? Are there templates to be exchanged or so?

Thanks
Daniel Frey



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]