Click here to Skip to main content
13,352,879 members (47,723 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Whenever i write display:inline and position:fixed together in style.. browsers scrolling functionality quits..
As a result only fixed amount of page is displayed...
I want to display two div's adjacent to each other at all times...
Posted 26-Feb-13 1:38am
ryanb31 26-Feb-13 7:53am
There are lots of examples online how to do this. Have you looked at them?
Member 9644631 26-Feb-13 10:38am
Can u please give me the links.. It would be great if u could.. Thanking you
ryanb31 26-Feb-13 10:39am
sri senthil kumar 1-Mar-13 8:20am
“Displaying two div's adjacent” if that’s all your requirement then you can go for “float” attribute with left and right value. If not explain bit more on what you want to do?
Member 9644631 1-Mar-13 9:11am
I have a gridview and a treeview...
One div consists of treeview and the other one consists of gridview...
These two div's have to be placed adjacent to each other always...
When the number of columns are less the div's are displayed adjacent to each other..
But when the number of columns increase the div with gridview crashes below treeview...
I want it displayed adjacent to each other..
sri senthil kumar 4-Mar-13 0:25am
Good, you want that to fixed in screen always like, even if u scroll up and down the postion of them to be static?

To display the div;s adjacent to each other you can check here "" you can use overflow property to make the div hav fixed size but when grid size increases scrollbar will come and it wont push the second div down.
vinodkumarnie 9-Mar-13 3:26am
Can you share your Source code and css you applied for division's...?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.180111.1 | Last Updated 26 Feb 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100