Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 03-27-2002, 07:53 PM   #1
Member (10 bit)
 
Join Date: Dec 2001
Posts: 592
Making site good for different resolutions

I used Frontpage to make my site, and I just now realized that I made it in 1280x1024, and it looks screwed up in other resolutions.

Is there any way to make it fit to all resolutions? I know there are some programs out there that can do this, but can I just use Frontpage? What do I do?
KlumpDud is offline   Reply With Quote
Old 03-27-2002, 07:57 PM   #2
Member (13 bit)
 
DrZaius's Avatar
 
Join Date: Jul 2000
Location: Fullerton, CA
Posts: 7,030
If you're using tables to layout your site, make sure to use precent widths rather than absolute. For example, if you set the width of a cell to be 80%, it will resize depending on the visitors resolution. However, if you set it to be 1,024 pixels wide, anyone will a lower resolution will have to scroll horizontally.
__________________
"A witty saying proves nothing." - Voltaire
DrZaius is offline   Reply With Quote
Old 03-27-2002, 09:42 PM   #3
Member (10 bit)
 
Join Date: Dec 2001
Posts: 592
I'm confused, how do I know about frames? How do I do the percent thing? HOWWWWWW???
KlumpDud is offline   Reply With Quote
Old 03-27-2002, 09:46 PM   #4
Member (13 bit)
 
DrZaius's Avatar
 
Join Date: Jul 2000
Location: Fullerton, CA
Posts: 7,030
I don't use Front Page since it writes really bloated code, so what I would recommend is to open your HTML file in a text editor like Notepad, and check out the HTML Goodies site and take the basic primers. The best way to make good pages is by knowing the actual HTML.

http://www.htmlgoodies.com
DrZaius is offline   Reply With Quote
Old 03-28-2002, 03:25 PM   #5
Member (10 bit)
 
Join Date: Dec 2001
Posts: 592
Thanks. However, I'm on a time constraint and need to get my site up asap because I'm going out of town. If you could just tell me how to do this one thing, I promise I will learn html next week and never bother you guys again Perhaps I could send you the html and you could tell me if there's anything that could be done?
KlumpDud is offline   Reply With Quote
Old 04-09-2002, 04:39 PM   #6
Member (5 bit)
 
Join Date: Apr 2002
Location: In my apartment
Posts: 31
This code will let you easily create a page that detects the visitor's screen resolution and automatically loads a specific page depending on which resolution is used.
Insert it in the head tags.
Also remember to rename the http://www.yahoo.com URLs to the URL of your website

^head^
^script^var width = screen.width;var res =(((!(640-width))*1)+((!(800-width))*2)+((!(1024-width))*3)+((!(1152-width))*4)+((!(1280-width))*5)+((!(1600-width))*6)); if(!(res)) res = 1;if (res=='1') {window.location='http://www.yahoo.com'}if (res=='2') {window.location='http://www.yahoo.com'}if (res=='3') {window.location='http://www.yahoo.com'}if (res!='1' && res!='2' && res!='3') {window.location='http://www.yahoo.com'}^/script^
^/head^

Good luck!

Edited by moderator to stop this whole thread from redirecting to yahoo - replace ^ with < and >.

______________
[Morpheus]

Last edited by glc; 04-10-2002 at 12:54 AM.
Morpheus is offline   Reply With Quote
Old 04-09-2002, 04:55 PM   #7
Resident Slacker
 
homer15's Avatar
 
Join Date: Dec 2001
Location: Suisun City, California (i know, where the hell is that?!?!?)
Posts: 2,620
this thread is taking me straight to yahoo.com!
__________________
Friends help you move. REAL friends help you move bodies. - me
quite possibly the best book ever written... by me
homer15 is offline   Reply With Quote
Old 04-10-2002, 08:39 AM   #8
Member (5 bit)
 
Join Date: Apr 2002
Location: In my apartment
Posts: 31
Screen Resolution

Sorry guys, the previous script seemed to forward everyone to yahoo! See the attatchment for the real code
Attached Files
File Type: txt resolution.txt (712 Bytes, 57 views)

Last edited by Morpheus; 04-10-2002 at 08:42 AM.
Morpheus is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:23 PM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0