943,747 Members | Top Members by Rank

Ad:
Jan 8th, 2009
0

auto resizing the web page help!!

Expand Post »
hi
i an designing a website and i just want that if a user open it on any resolution then it will fit it self to that resolution and no scroll bars will come like google,yahoo etc.

i know it is possible but not know how
so pls help me thank u
Similar Threads
Reputation Points: 10
Solved Threads: 2
Light Poster
cpeeyush1 is offline Offline
29 posts
since Sep 2008
Jan 8th, 2009
0

Re: auto resizing the web page help!!

<div style="text-align:center;">this text will be in center, no mater what.</div>
Reputation Points: 18
Solved Threads: 0
Light Poster
NextCom is offline Offline
26 posts
since Dec 2008
Jan 13th, 2009
0

Re: auto resizing the web page help!!

those pages msn, yahoo or google have two type of layout,
one is wide other one is narrow. you need to be very good in css to do this and js as well
Reputation Points: 6
Solved Threads: 19
Posting Whiz in Training
fatihpiristine is offline Offline
283 posts
since Sep 2007
Jan 15th, 2009
0

Re: auto resizing the web page help!!

design your layout, in em and %
no pixel layouts, no pixel font sizes,
set your image sizes, in px,
and float text around them dont try to rigidly structure it
dont expect the site to look the same,
if it looks the same 2048*1520 as it does 640*480,
it will look stupid on both
just make how it does look, look good

Mozilla, Opera, IE, Avant, text readers,
what happens if the next user is on a Mac, Safari looks different on a Mac to what it does on windows

just for self confidence, go here BrowserShots and put the url of a site you think is pretty good, into the system.
over the next few minutes it will load screen dumps of the site in dozens of different browsers and resolutions
Every site looks like **expletive deleted** in some combination of res and browser
Reputation Points: 562
Solved Threads: 368
Posting Maven
almostbob is offline Offline
2,970 posts
since Jan 2009
Mar 31st, 2009
0

Re: auto resizing the web page help!!

This is an example of the sort of thing I'm trying to achieve and I think it might be what theOP wants:

http://www.dannylane.co.uk/main.php#

The whole web page fits my browser window by just scaling up or down. It's done in Javascript but I think it uses an external file. I can make it work with an image file in Javascript or with frames in HTML but only pictures will resize and the code seems flakey.

Does anyone know how to do it?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Nickolls is offline Offline
1 posts
since Mar 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: Stop executing script
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: w3schools examples don't work





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC