Click here to Skip to main content
15,894,254 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
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
Comments
ZurdoDev 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
ZurdoDev 26-Feb-13 10:39am    
http://www.lmgtfy.com/?q=two+div%27s+adjacent+to+each+other+at+all+times
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..

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900