Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: HTML Div Help
04-22-2012, 07:40 PM #1
- Join Date
- Apr 2012
- Thanked 0 Times in 0 Posts
HTML Div Help
Hi! I need help doing something complicated, although I thought it would be simple to do.
What I want is three divs all in one row, the first two 150px in width, and the last one I want it to stretch to the end of the screen, depending on the screen size of the viewer. I achieved the 3 divs in a row using float:lefts.
Also, I wanted the third div to scroll horizontally only in the div, meaning I don't want the scroll-bar to be on the bottom of the entire screen. (this I already managed, just wondering if I can achieve it with this code in tact)
So basically this is what I want:
Menu 150px | Submenu 150px | Images all the way to the end of screen to right.
If I set the width of the third div to 100%, it goes to a new line and literally fills 100% width of the whole screen.
Help, I'm still kind of a beginnger!
Edit: I figured it out.
Last edited by wallflower; 04-22-2012 at 09:11 PM.