www.webdeveloper.com
Results 1 to 3 of 3

Thread: [RESOLVED] How make a <div> with fixed height and width

  1. #1
    Join Date
    Sep 2008
    Posts
    10

    resolved [RESOLVED] How make a <div> with fixed height and width

    How to make a <div> with fixed height and width. If content inside it increases more than the height of the div then the div must become scrollable using scroll bar.

    Please help

    Thank You in advance.

  2. #2
    Join Date
    Mar 2010
    Posts
    2,803
    Code:
     
    #divId {
    width: 500px;
    height: 600px;
    overflow: auto
    }

  3. #3
    Join Date
    Sep 2008
    Posts
    10
    Thank You very much Tirna.

Thread Information

Users Browsing this Thread

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

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
  •  
HTML5 Development Center



Recent Articles