Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes HTML, CSS and JavaScript and the fly likes Layout approach Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Layout approach" Watch "Layout approach" New topic
Author

Layout approach

Zein Nunna
Ranch Hand

Joined: Mar 31, 2005
Posts: 245
Guys,

I just wanted pointers on on how I could accomplish the layout on my website:

I'm wanting to have a navigation pane on the left, a banner on the top with the site logo etc, and right at the bottom I want to have a disclaimer writing, what sort of stuff do I need to use to accomplish this? frames?

I am using <jsp: include... but that just appends the page at the bottom or top.

Regards
Zein
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Plenty of examples on the net:

here is one:
http://www.bigbaer.com/css_tutorials/two-column-header-footer.htm

Search google for: 2 column header footer CSS

Eric
Zein Nunna
Ranch Hand

Joined: Mar 31, 2005
Posts: 245
Hi Eric/Everybody else,

Thanks for the reply above.

I've had a look at the CSS approach it seems quite good, do you know of any good tutorial that can help me with developing the blue print of my page.

Also how does the CSS approach compare with Java Tiles? anybody.

I cant seem to find a website where the approach is solely CSS, I think the closest I came was download.com, that had substabtial CSS content.

Personally I'm looking to combine CSS with the Java Include directive, and maybe also put in some tables/rows somehwere along the line - is that how its meant to be done? I dont want to use an approach, when later it comes to maintaing the website, everyone is clueless.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I would say developer an HTML template of the css lasyout and place your includes into the spots where they need to go. Do not try to go from the includes to the css, will make you go bonkers.

An example of how flexiable CSS is: http://www.csszengarden.com/

Eric
Zein Nunna
Ranch Hand

Joined: Mar 31, 2005
Posts: 245
Cheers Eric,

The link above is fantastic. I'll have to start swotting on CSS now.

If theres anybody else in the same position as moi, I'd recommend the link above and also this website - perfect for beginners.

Regards
Zein
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Layout approach
 
Similar Threads
Pro Jakarta Struts, Second Edition : Reader Question
recursive method
Help suggest a proper layout manager for my form
How are tiles different than include?
Layout Problem