Results 1 to 3 of 3

Thread: Resizing the Browser

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2004
    Posts
    610

    Resizing the Browser

    Hey guyz,

    i wanted to resize the browser.. becusae when i run it and play it... the webpage is not automatically expanded to the maximum.. how do i set it that every time i open it,... its automatically expanded.


    Lets say i want to make the browser size as 800*600.. is there anyway i can set the size herE?

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Re: Resizing the Browser

    WHen you design your webpages, simply avoid using absolute values. I.e. instead of using:

    Code:
    <INPUT TYPE="text" width="500px" style="width:500px" />
    use:
    Code:
    <INPUT TYPE="text" width="100%" style="width:100%" />

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Resizing the Browser

    javascript code:
    Code:
    window.resizeTo(800,600);

Posting Permissions

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



Click Here to Expand Forum to Full Width