English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Hi..
I am trying to divide one page in two frames. I am trying to use a div instead of frames...
The page is a navigation on the left hand side. i need to see everytime the navigation on the

left, in other frame.. there wil be the content..

how can i do that?

2007-08-23 00:52:35 · 5 answers · asked by Ankush S 1 in Computers & Internet Programming & Design

thanks for answers, but i need to have that left navigation frames fixed in each n every page, can anyone show me the live content exactly like i required..

2007-08-23 01:49:07 · update #1

5 answers

In order to have the navigation fixed on every page, you can “include” it via some backend script (PHP) or you can use SSI (kinda obsolete though). If you don’t have backend support, then you can include your navigation via Javascript. For the content part though, if you need to make it scrollable, just add “overflow: scroll” to the CSS.

2007-08-23 05:01:38 · answer #1 · answered by alta grace e 1 · 0 0

Ditto what fred12ned said or alternatively, give it a wrapper div, with a certain overall width for the screen (say 85%, so as not to eat up the whole screen, and not let screen lines stretch uncomfortably long, then inside that) div floated left, say 25% and div floated right, say 74%, both the inside divs with margin-left: 0, margin-right: 0, overflow: hidden;

2007-08-23 11:39:48 · answer #2 · answered by fjpoblam 7 · 0 0

This works for me:

#nav {position: absolute; left: 0px; margin: auto; padding: 30px 10px 10px 30px; width: 160px; height: auto;}

#content {position: absolute; width: 485px; height: auto; left: 205px; margin: auto; }

2007-08-23 08:10:13 · answer #3 · answered by Anonymous · 0 0






You left contents here

2007-08-23 08:08:31 · answer #4 · answered by eyewinkler 2 · 0 0


Left Stuff here


2007-08-23 07:56:53 · answer #5 · answered by fred12ned 2 · 0 0

fedest.com, questions and answers