Results 1 to 3 of 3

Thread: Make Columns Equal

  1. #1
    Join Date
    Feb 2008
    Posts
    90
    Thanks
    3
    Thanked 2 Times in 2 Posts

    Default Make Columns Equal

    I have a website in which i incorporate many divs inside larger and larger divs. The main page consists of a Main Div and a Sidebar Div (to the left of the main div) When i put content in the maindiv, it expands accordingly, and the same happens when i input data into the sidebar div.

    However, my question is this, how do i get the sidebar height to be equal to the height of the main div. For Example:
    If i put alot of information into the sidebar div, it will show up longer then the main div. How can i achieve the main sidebar to be equal to the sidebar?

    Thanks alot!

  2. #2
    Join Date
    Feb 2009
    Posts
    303
    Thanks
    18
    Thanked 36 Times in 36 Posts

    Default

    Use this nifty DD script:

    http://www.dynamicdrive.com/style/bl...height-script/

    // X96 \\
    Alex Blackie, X96 Design
    My Website
    I specialize in: HTML5, CSS3, PHP, Ruby on Rails, MySQL, MongoDB, Linux Server Administration

  3. The Following User Says Thank You to X96 Web Design For This Useful Post:

    SChaput (07-03-2009)

  4. #3
    Join Date
    Feb 2008
    Posts
    90
    Thanks
    3
    Thanked 2 Times in 2 Posts

    Default

    Awesome, thank you.
    Just what i was looking for!

Bookmarks

Posting Permissions

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