#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2013
    Location
    Delhi, India
    Posts
    14
    Rep Power
    0

    Web Page Size in HTML


    How to change the web page size in html and css ? I'm having the problem while opening in diff browsers !!!? I am designing a web page using html and css, while running the html file i have page size difference in various browser can i set a web page dimension ?
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2013
    Posts
    27
    Rep Power
    0
    Try out this one it may help you

    Use <div> tags...
    Example:
    in html file...
    <div id="content" >
    ...content matter codes...
    </div>

    in css file...
    #content { height:500px width:500px }

    This will restrict the content area to the given dimensions

IMN logo majestic logo threadwatch logo seochat tools logo