Click here to Skip to main content
15,922,533 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a slight issue. I have 2 divs within a content div, and they are both floated left. This works really well on my laptop with its high resolution, but when I test with lower resolutions the div on the right drops below. Is there a way to just make a scroll bar appear and not let the second div drop?
Posted

1 solution

Found the solution myself. Just add a width and height to the content div, and then add overflow: auto.
 
Share this answer
 
Comments
Mohamed Mitwalli 4-Apr-12 7:09am    
so mark it as solved

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