File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes DIV positioning Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "DIV positioning" Watch "DIV positioning" New topic

DIV positioning

accnit Jai
Ranch Hand

Joined: Feb 15, 2011
Posts: 33
I have two frames , first frame to display the webpage and second frame will be stick to bottom to perform as navigation bar with some buttons. I have requirement that, if user click on bottom frame button one popup should be displayed with the list of navigation links. to achieve this, i have created the DIV and inside DIV i have table, each row in table have different website link. The problem is positioning for DIV. I want to this navigation DIV to be display on parent frame on fixed position. but DIV moves when i scroll the Parent frame. I wanted to be fixed on given position. can someone please help me.
here is my framesets

<frameset rows="90,10" border="0" framespacing="0" ">
<frame id="content" name="content" src="" >
<frame id="navigationbar" src="html/Navigation.html" scrolling="no">
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63552

First thing I'd do is to redesign the page without frames. They're no longer in vogue.

[Asking smart questions] [About Bear] [Books by Bear]
jQuery in Action, 3rd edition
subject: DIV positioning
jQuery in Action, 3rd edition