/    Sign up×
Community /Pin to ProfileBookmark

Resizing layout using javascript?

G’day everyone.

Hope you can help me out on this one.

I’m looking to do a site that is generally the size of 1024×768 – however, if a user is usin 800×600 I want the layout to resize itself to fit that resolution.

A site I have found that uses this method is : hmv.co.uk, however, after looking through the code I can’t find anywhere that is allowing it to do this.

Does anyone know? Is it even JavaScript that has been used to do this? If I am posting in the wrong section please let me know and I will try elsewhere.

Thankyou for your time xx

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@LeeUJul 14.2006 — Moved to CSS forum ...
Copy linkTweet thisAlerts:
@SiddanJul 14.2006 — wouldn´t it be better to have a fluid site?

Design it for 800x600 and if the user has greater resolution, it will then stretch out
×

Success!

Help @funkyem spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...