Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1

Thread: HTML Div Help

  1. #1
    New to the CF scene
    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 10:11 PM.


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts