Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
LinkBack Thread Tools
Old 01-09-2009, 05:47 PM   #1 (permalink)
Registered User
 
Join Date: May 2007
Location: British Columbia, Canada
Posts: 53
OS: vista


Design for all resolutions

Hi people,

I developed a menu page that looked ok on my monitor but it was all "scrambled" on a lower resolution monitor.

I used percentages to size and position the elements...

How else should I approach this problem?

Thank you!

BrentC
BrentC is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 01-09-2009, 06:32 PM   #2 (permalink)
Manager Home Support, Assistant Manager Articles Team
 
DonaldG's Avatar
 
Join Date: Aug 2007
Location: Somerset, UK
Posts: 10,164
OS: XPsp2 Laptop & Vista Ultimate Desktop

My System

Blog Entries: 1
Re: Design for all resolutions

Hi Brent

Lets have the URL so that we can look at it and advise.

What size is your monitor?
__________________
.

Lest we forget...

"They shall grow not old, as we that are left grow old;
Age shall not weary them, nor the years condemn.
At the going down of the sun and in the morning
We will remember them."



DonaldG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-11-2009, 01:29 PM   #3 (permalink)
Registered User
 
Join Date: May 2007
Location: British Columbia, Canada
Posts: 53
OS: vista


Re: Design for all resolutions

My URL is [url=http://24.71.42.16/MENU-test8.htm[/URL]

My monitor that I developed the page on is 1280 x 960

Thanks Donald!

Brent
BrentC is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-11-2009, 04:39 PM   #4 (permalink)
Registered User
 
FredT's Avatar
 
Join Date: Nov 2007
Posts: 388
OS: Mac OS X 10.5.7 and XP SP2


Re: Design for all resolutions

It looked ok to me even when I made my browser window really small. Maybe it is a problem with the browser. What browser were you using when it looked scrambled?
FredT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-11-2009, 04:55 PM   #5 (permalink)
Moderator: Design
 
dm01's Avatar
 
Join Date: Oct 2006
Location: Richmond, B.C.; Canada
Posts: 1,433
OS: Windows XP [Version 5.1.2600] SP3 | Ubuntu Jaunty Jackalope | Windows 7 BETA

My System

Re: Design for all resolutions

Opera doesn't like it at all.

From Opera's internal Error Console:

Code:
Inline script thread
Error:
name: TypeError
message: Statement on line 109: Cannot convert undefined or null to Object
Backtrace:
  Line 109 of inline#1 script in http://24.71.42.16/MENU-test8.htm
     document.getElementById("flagbanner").style.width=screen.width();
stacktrace: n/a; see 'opera:config#UserPrefs|Exceptions Have Stacktrace'
__________________


Validate your Markup Validate your CSS Notepad++
Please use [html], [php], and [code] when posting code or markup.
I do not help by Private Message or e-mail. If for some reason I have over-looked a reply to a thread that I have previously replied to, then send me a message.
dm01 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-11-2009, 05:14 PM   #6 (permalink)
TSF Enthusiast
 
sobeit's Avatar
 
Join Date: Nov 2007
Location: NEAR
Posts: 7,433
OS: windows/linux


Send a message via MSN to sobeit Send a message via Yahoo to sobeit
Re: Design for all resolutions

I tested it with chrome and the page did not even show up. It messed up with avant, msie8. safari, opera, and firefox.

My suggestion would be to place the navigation menu inside of a table using pixels instead of percentages. This way it will always stay the same.
__________________
there's been global warming since the ice age

Last edited by sobeit; 01-11-2009 at 05:16 PM.
sobeit is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-15-2009, 10:31 AM   #7 (permalink)
Registered User
 
ggormsen's Avatar
 
Join Date: Nov 2008
Location: Phx AZ USA
Posts: 39
OS: XP SP3 / Vista Ult Home x86

My System

Re: Design for all resolutions

First thing I would do, if I were you, is to open up notepad, copy paste your java script into it, save it as whateveryouwant.js and link to it, then do the same with your css. Name it whateveryouwant.css
That will clean your code up quite a bit.
To fix your problem, I would make a #main and encompass everything into it. It is basically what Sobeit says, but without those nasty little tables.
Question for you, because I do not know: With such a simple page, do you really need the browser fixes in your code?
ggormsen is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-17-2009, 08:08 PM   #8 (permalink)
Registered User
 
Join Date: May 2007
Location: British Columbia, Canada
Posts: 53
OS: vista


Re: Design for all resolutions

I re-coded the menus using a horizontal ul (unordered list) and that works on low resolutions that is provided with my editor. I still had to use JavaScript to make adjustments for different browsers.

Can anyone see why the text in the yellow bordered div has more space on the top for paragraph 1 and not on paragraph 2 (It does this on firefox but not IE) ?

Brent
BrentC is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-20-2009, 01:48 PM   #9 (permalink)
Registered User
 
Join Date: May 2007
Location: British Columbia, Canada
Posts: 53
OS: vista


Re: More Design for all resolutions

I then tried it on another lo res monitor - the menu bar and paragraph didn't align correctly...What should I try now?

Note: sometimes my server is off line - do try again at :

http://24.71.42.16/MENU-test8.html

Also: How do I enable links like the one above (ie. to make it active on mouseover)? I tried Insert Link but it didn't work.

Thanks,

Brent
BrentC is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-20-2009, 01:49 PM   #10 (permalink)
Registered User
 
Join Date: May 2007
Location: British Columbia, Canada
Posts: 53
OS: vista


Re: Design for all resolutions

Correction: I now see that the link is working once I posted it.
BrentC is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-20-2009, 06:15 PM   #11 (permalink)
Design Team Member
 
Jaxo's Avatar
 
Join Date: Feb 2008
Location: Deming, NM
Posts: 312
OS: XP SP2 & Vista


Razz Re: Design for all resolutions

Quote:
Originally Posted by sobeit View Post
My suggestion would be to place the navigation menu inside of a table using pixels instead of percentages. This way it will always stay the same.
Ack! Kill it, kill it! Where is my table-spray?!

Sorry, link not working to test out.
Jaxo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-21-2009, 10:37 PM   #12 (permalink)
Registered User
 
Join Date: May 2007
Location: British Columbia, Canada
Posts: 53
OS: vista


Re: Design for all resolutions

Ok...I'm starting a new page doing just a horizontal menu with drop down menus, all done with TABLES.

The MENU1 drop list positions ok but I can't adjust the top of the MENU2 drop list. If I take the MENU1 list out the MENU2 top is ok. What gives?
BrentC is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-21-2009, 10:55 PM   #13 (permalink)
Registered User
 
Join Date: May 2007
Location: British Columbia, Canada
Posts: 53
OS: vista


Re: Design for all resolutions

Woops...I didn't give the url of the new page...it is

http://24.71.42.16/MENU.html
BrentC is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-26-2009, 01:24 PM   #14 (permalink)
Registered User
 
Join Date: May 2007
Location: British Columbia, Canada
Posts: 53
OS: vista


Re: Design for all resolutions

I have heard from more than one source that we are not to use tables for layout (accept of course to explicitly display info in tabular form). That said, I am having better luck with tables than divs. Check out the two following pages...comments are welcome. The object of course is to display good on different window sizes and resolutions.

http://24.71.42.16/MENU-with-TABLES.html

http://24.71.42.16/MENU-with-DIVS.html

Brent
BrentC is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-26-2009, 05:00 PM   #15 (permalink)
Design Team Member
 
Redcore's Avatar
 
Join Date: Aug 2007
Location: Jamestown, CA
Posts: 715
OS: Linux Mint 7

My System

Re: Design for all resolutions

Quote:
Originally Posted by Jaxo View Post
Ack! Kill it, kill it! Where is my table-spray?!
heh, tables aren't dead yet! :P
__________________
Free Resources
PC Protection - Comodo Firewall | AVG Anti-Virus | WinPatrol | Ad-Aware | Spybot S&D | SpywareBlaster |
Web Design/Programming - KompoZer
(Editor) | Paint.NET (Graphic) | GIMP+GIMPShop (Graphic) | FileZilla (FTP Client) | Free Hosting |

Last edited by Redcore; 01-26-2009 at 05:05 PM.
Redcore is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-26-2009, 05:52 PM   #16 (permalink)
Moderator: Design
 
dm01's Avatar
 
Join Date: Oct 2006
Location: Richmond, B.C.; Canada
Posts: 1,433
OS: Windows XP [Version 5.1.2600] SP3 | Ubuntu Jaunty Jackalope | Windows 7 BETA

My System

Re: Design for all resolutions

Besides the colour issues, which we will address later, your menu isn't lining up again. This can be fixed with a simple margin tweak.

Table layouts are discouraged simply because they are ugly, rigid, and binding. If you want to do something different on your page, you have to completely re-do the layout.
__________________


Validate your Markup Validate your CSS Notepad++
Please use [html], [php], and [code] when posting code or markup.
I do not help by Private Message or e-mail. If for some reason I have over-looked a reply to a thread that I have previously replied to, then send me a message.
dm01 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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 Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 01:43 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85