This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Problem with html layout, layout running. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Problem with html layout, layout running." Watch "Problem with html layout, layout running." New topic
Author

Problem with html layout, layout running.

vanan saravanan
Ranch Hand

Joined: Jun 02, 2006
Posts: 95
Hi, I'm trying to design a website. What i did was to design a flash header. The navigation for the website is on the flash header and on a different frame. My problem is that i cant seem to align both frames properly. Is there a easier way to go about this problem.

The width of both tables in each individual frame is 100%. So that it expands based on user resolution. However the tables on the top and bottom don't align.


Please view my website here.
http://www.studio6.com.sg/index2.html
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61450
    
  67

I suggest that you will have better luck and more control by ditching the tables for positioning in favor of CSS.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Neerav Narielwala
Ranch Hand

Joined: Dec 08, 2006
Posts: 106
There is one way that you make one single page without frames and scrolling in a table... it will work.


<a href="http://www.java-tips.org/java-tutorials/tutorials/" target="_blank" rel="nofollow">Java Tutorials</a> | <a href="http://www.planet-java.org" target="_blank" rel="nofollow">Java Weblog</a> | <a href="http://computer-engineering.science-tips.org" target="_blank" rel="nofollow">Computing Articles</a>
vanan saravanan
Ranch Hand

Joined: Jun 02, 2006
Posts: 95
If i use CSS can i still navigate without the top header reloading everytime..
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by vanan saravanan:
If i use CSS can i still navigate without the top header reloading everytime..


Not without using frames or using Ajax for EVERYTHING, which is never a good idea or use Flash for the entire site, which I'd avoid like the plegue if I were a user coming to your site.

I suppose the question is what is behind the design decision to create a Flash based navigation header but have the rest of the site HTML?


GenRocket - Experts at Building Test Data
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with html layout, layout running.