window resizing - width only?

Discussion in 'Web Design and Development' started by markgodley, May 17, 2009.

  1. markgodley macrumors regular

    Mar 25, 2009

    Bit of a strange one i know but is it possible to have the window resize when the user logs in. But only the width not the height.

    Basicly i have a background image and i want the width to be set so when the user comes to the site it adjusts to the correct width but keeping the original height.

    Is it possible?
  2. angelwatt Moderator emeritus


    Aug 16, 2005
    You'd have to use JavaScript to do it, but your visitors will be annoyed. No one likes their browser size messed with. I have such JavaScript blocked so it can't do anything to my browser like that.

Share This Page