Re: page organisation whith CSS

The current Amaya version provides a too limited support of CSS for doing that.
You can play with margins, paddings, borders but not positions, widths and 
heights.

> 
> --------------0AA3CFD9B9D4C9297DD47B9C
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> I'd enjoy to use Amaya to writte and print documents. So I need to
> create a style sheet to specify the pages look what : I want  each page
> to have athe same header and footer where I can place some repetitive
> informations (document identification, name of my society ...) and
> between them my text.
> I desesperatly try to specify the organisation of a page, and write a
> style sheet with the following instructions :
> body {width: 21CM; height: 29.7cm}
> #header {position: fixed; whith: 100%; height: 15%; top: 0; right: 0;
> bottom: auto; left:0}
> #sidebar{position: fixed; width: 10em; height: auto; top: 15%; right:
> auto; bottom: 100px; left:0}
> #main{position: fixed; widht: auto; height: auto; top: 15%; right: 0;
> bottom: 100px; left: 10em}
> #footer{position: fixed; width: 100%; height: 100px; top: auto; right:
> 0; bottom: 0; left:0}
> 
> The body of my *.xhtml file looks like:
> <body>
>    <DIV id="header">my reference number : ........</DIV>
>    <DIV id="sidebar"> sidebar</DIV>
>    <DIV id="main">the texte  </DIV>
>     <DIV id="footer"> F.Faure / CEA/  19-12-00 </DIV>
> </body>
> 
> But all this seems to be wrong. I try to use the instruction PAGE, but I
> have the same result.
> Is there some body who can help me?
> Thanks,
> 
> 
> --
> /\/\/\/\/\-- Speaking for myself, not my employer --/\/\/\/\/\
> Francoise FAURE
> CEA/CESTA
> BP 2                          EMail : fauref@bordeaux.cea.fr
> 33114 Le Barp Cedex            Tel  : +33 (0) 557 04 51 63
> France
> \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> 
> 
> 
> --------------0AA3CFD9B9D4C9297DD47B9C
> Content-Type: text/html; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> <html>
> I'd enjoy to use Amaya to writte and print documents. So I need to create
> a style sheet to specify the pages look what : I want&nbsp; each page to
> have athe same header and footer where I can place some repetitive informations
> (document identification, name of my society ...) and between them my text.
> <br>I desesperatly try to specify the organisation of a page, and write
> a style sheet with the following instructions :
> <br>body {width: 21CM; height: 29.7cm}
> <br>#header {position: fixed; whith: 100%; height: 15%; top: 0; right:
> 0; bottom: auto; left:0}
> <br>#sidebar{position: fixed; width: 10em; height: auto; top: 15%; right:
> auto; bottom: 100px; left:0}
> <br>#main{position: fixed; widht: auto; height: auto; top: 15%; right:
> 0; bottom: 100px; left: 10em}
> <br>#footer{position: fixed; width: 100%; height: 100px; top: auto; right:
> 0; bottom: 0; left:0}
> <p>The body of my *.xhtml file looks like:
> <br>&lt;body>
> <br>&nbsp;&nbsp; &lt;DIV id="header">my reference number : ........&lt;/DIV>
> <br>&nbsp;&nbsp; &lt;DIV id="sidebar"> sidebar&lt;/DIV>
> <br>&nbsp;&nbsp; &lt;DIV id="main">the texte&nbsp; &lt;/DIV>
> <br>&nbsp;&nbsp;&nbsp; &lt;DIV id="footer"> F.Faure / CEA/&nbsp; 19-12-00
> &lt;/DIV>
> <br>&lt;/body>
> <p>But all this seems to be wrong. I try to use the instruction PAGE, but
> I have the same result.
> <br>Is there some body who can help me?
> <br>Thanks,
> <br>&nbsp;
> <pre>--&nbsp;
> /\/\/\/\/\-- Speaking for myself, not my employer --/\/\/\/\/\
> Francoise FAURE
> CEA/CESTA
> BP 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EMail : fauref@bordeaux.cea.fr
> 33114 Le Barp Cedex&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tel&nbsp; : +33 (0) 557 04 51 63
> France
> \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/</pre>
> &nbsp;</html>
> 
> --------------0AA3CFD9B9D4C9297DD47B9C--
> 

-- 
     Irene.

Received on Thursday, 21 December 2000 08:55:05 UTC