James Gardener schrieb:
> Thanks Matt and Stefan,
>  
> Your suggestions are very helpful.  Now my page can display all the
> header, menu, body and footer now. 
>  
> But I still have one more question regarding the layout, as my menu
> appears under the body(bottom left side of the page) instead of on the
> upper left side of the page.  Maybe my question is just a simple html
> problem, but I did find very hard to use facelets.(I have tried many
> things after searching the Internet.)   I have attached my
> template.xhtml, navigation.xhtml and welcome.xhtml that uses this
> template.xhtml.  Could you please tell me what's wrong with my template.
>  
> Thanks a lot,
> James 
>  
Actually facelets is the best and easiest templating mechanism i have
used so far, things as they are cannot really get easier.
Tiles and others are hell compared to facelets.
Anyway your question indeed is a general HTML question

you defined several divs, doing the layouts
the divs per se do nothing except marking an area for more content.

So what you did was having the body and then the navigation

you need to alter the positions of your divs via css and position
absolute or relative (depending on your situation)

I assume:

<link rel="stylesheet" type="text/css" href="../../css/example_basic.css" />

should do that, but it is not found, your relativ path probably is not
correct,
either use a base href to access it, or alter the relative path so that
your css is found again.


Reply via email to