Computing.Net > Forums > Web Development > Keep Web Side in perspective.

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Keep Web Side in perspective.

Reply to Message Icon

Name: lucky1
Date: November 23, 2004 at 13:57:44 Pacific
OS: wnn98se
CPU/Ram: 1.4 AMD / 512
Comment:

Hi,

Is there a way to keep the contents of a web site in perspective as it is reduced in size.

My website goes bonks as it is resized from the lower right corner !!!!!!!!!!

I am using HTML and a bit of CSS. . . . .

lucky1



Sponsored Link
Ads by Google

Response Number 1
Name: Don Arnett
Date: November 23, 2004 at 14:17:10 Pacific
Reply:

Depends on exactly what you mean.

If you want it to remain the same, put the entire page contents inside a DIV with it's width set to the desired width.


[DIV style="width:800"]
.
. all of page HTML
.
[/DIV]

If the browser is sizeed smaller, the page will look the same but scrollbars will be added and the user will have to scroll


If you want the page to get smaller, things closer together as the page gets smaller, you'd position things with DIV and TABLE tags and use percentages for widths of objects. This will only work to an extent as it wouldn't change the size of images. But, in theory, you could use javascript to change the image sizes also. I think that this would be a lot of work and probably wouldn't work well.

Be sure to come back and let us know if our suggestions helped!


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Keep Web Side in perspective.

How to create Project web access in www.computing.net/answers/webdevel/how-to-create-project-web-access-in/4041.html

variables in ASP.NET www.computing.net/answers/webdevel/variables-in-aspnet/942.html

Web site downloads www.computing.net/answers/webdevel/web-site-downloads/2839.html