dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: How to make variable size div using php?

  1. #1
    Join Date
    Mar 2012
    Posts
    2

    How to make variable size div using php?

    I have div section in my website where i place my contents.Below that div section i have three div which contain
    1> Facebook,twitter,google+ like buttons div section
    2> comments div section
    3> copyright div section

    The problem with this is that i need to make height adjustment of all the above four div sections according to the length of article in the conent div section.

    I found a solution a solution to this that use overflow:auto in the conent div section,but the problem with this is the ugly scroll bar we see when content overflows.

    Can anbody plz help me how to adjust the height of all the div sections using php, as i need to show my project in college

  2. #2
    Use CSS -> height:auto;

    Also if you wanna go deep into actual 'variable sized' elements, run away from pixel sizes, google around for "responsive design"

  3. #3
    Join Date
    Mar 2012
    Posts
    2
    thanks a lot

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles