www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > General

    General Discussion and support for your general issues associated with web design.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 01-17-2006, 03:48 PM
    ddrultramix ddrultramix is offline
    Registered User
     
    Join Date: Jan 2006
    Posts: 26
    Exclamation Website can't adapt other people's resolution! Help!

    I always use 1280x1024 on my monitor and I realize not everyone has that. I've noticed on every website I go to, every site fit's any of my resolutions no matter what they are. How can I enable m 1280x1024 website to adapt to a users resolution, which could be 800x600 or anything else. I look at my site on my computer and it looks fine. Then when I go to another computer and look at it (as the other computer monitor is 1024x768 all of my text, pictures, etc, are way off the screen.
    Reply With Quote
      #2  
    Old 01-17-2006, 03:55 PM
    terrawolf terrawolf is offline
    Registered User
     
    Join Date: Jan 2006
    Posts: 29
    Well it depends on the way you have built your website, but I would start with these articles:

    http://www.alistapart.com/articles/elastic

    You should always remember though (when designing and coding your websites) that the most common screen resolutions are 1024x768 and 800x600... if you keep this in mind then you should never go wrong
    __________________
    Skye

    Folio: http://www.unworked-skye.net/
    Blog: http://7.unworked-skye.net/
    Reply With Quote
      #3  
    Old 01-17-2006, 04:01 PM
    ddrultramix ddrultramix is offline
    Registered User
     
    Join Date: Jan 2006
    Posts: 26
    My monitor cant go with 1024x768 and 800x600 is so big! I use 1280x1024 so I can easily work on a massive screen. Isnt there some sort of script or html I can insert into my site to make it fit any screen? Some one said put the entire site in a table at 100% (dont know what that means, i do know what a table is though) and by doing this, the website can be viewed anywhere. Is that true? I dont need to make a seperate site for every resolution do I? That would take years.
    Reply With Quote
      #4  
    Old 01-17-2006, 04:06 PM
    felgall's Avatar
    felgall felgall is offline
    Computer Consultant
     
    Join Date: Mar 2005
    Location: Sydney, Australia
    Posts: 7,979
    What you need to do is to design your site so that it adjusts itself to fit the resolution of the screen on which it is being displayed. To do this you should use percentages rather than fixed widths for columns and perhaps specify min-width and max-width. You could also set uo the page using a small version of images and use Javascript to replace them with larger sized ones if the available space in the browser window is larger than a certain size.
    Reply With Quote
      #5  
    Old 01-17-2006, 04:08 PM
    ddrultramix ddrultramix is offline
    Registered User
     
    Join Date: Jan 2006
    Posts: 26
    Ok. That in a way makes sense. I know a lot about computer's except when it comes to web design. If it helps, i'm using macromedia dreamweaver 8 and I have changed my monitor resolution from 1280x1024 to 800x600. (everything is HUGE!) So what your saying is.... I'm still not exactly sure.
    Reply With Quote
      #6  
    Old 01-17-2006, 09:01 PM
    terrawolf terrawolf is offline
    Registered User
     
    Join Date: Jan 2006
    Posts: 29
    Quote:
    My monitor cant go with 1024x768 and 800x600 is so big!
    The problem is that other web users monitors can... when you're designing for the web and your website is going to be viewed by people other than yourself, you need to be able to compensate for at least some other users - even if you don't use it 800x600 might seem absolute HUGE to you, but it's still one of the most used screen resolutions around.

    Quote:
    So what your saying is.... I'm still not exactly sure.
    ddrultramix, make a new HTML web page and put the following in the body tags:

    <div style="background: #000; color: #fff; width: 100%; height: 10px;">Hi</div>
    <div style="background: #000; color: #fff; width: 1024px; height: 10px;">Hi</div>

    Then have a look at the differences when you start to resize your web browser.

    Notice how the first div will scale to the width of the browser, whereas the other one won't?
    __________________
    Skye

    Folio: http://www.unworked-skye.net/
    Blog: http://7.unworked-skye.net/
    Reply With Quote
      #7  
    Old 01-17-2006, 09:07 PM
    ddrultramix ddrultramix is offline
    Registered User
     
    Join Date: Jan 2006
    Posts: 26
    I understand that but what's the point?I got 2 Hi's. Also, I realized that the only time my information goes off center from the center of the webpage is when I use layers. So how can I tell the program to keep layers on the center or keep them from moving when the resolution changes?
    Reply With Quote
      #8  
    Old 01-17-2006, 09:42 PM
    terrawolf terrawolf is offline
    Registered User
     
    Join Date: Jan 2006
    Posts: 29
    Quote:
    I understand that but what's the point?
    The point is that you're not the only person viewing your website. If a person can't view your website correctly, they're not going to waste time scrolling, they're going to go elsewhere. People who use 1280x1024 resolutions are a tiny minority, so that's a huge amount of traffic you're potentially saying "goodbye" to.

    Quote:
    Also, I realized that the only time my information goes off center from the center of the webpage is when I use layers. So how can I tell the program to keep layers on the center or keep them from moving when the resolution changes?
    Try using: margin: 0 auto; in your style definition.
    __________________
    Skye

    Folio: http://www.unworked-skye.net/
    Blog: http://7.unworked-skye.net/
    Reply With Quote
      #9  
    Old 01-17-2006, 09:45 PM
    ddrultramix ddrultramix is offline
    Registered User
     
    Join Date: Jan 2006
    Posts: 26
    where is that (style margin?)
    Reply With Quote
      #10  
    Old 01-17-2006, 09:47 PM
    terrawolf terrawolf is offline
    Registered User
     
    Join Date: Jan 2006
    Posts: 29
    <div id="myobject" style="width: 50%; margin: 0 auto;">My object</div>
    __________________
    Skye

    Folio: http://www.unworked-skye.net/
    Blog: http://7.unworked-skye.net/
    Reply With Quote
      #11  
    Old 01-17-2006, 09:52 PM
    ddrultramix ddrultramix is offline
    Registered User
     
    Join Date: Jan 2006
    Posts: 26
    Shucks. I think im doing it wrong. But I did find something out. After converting the layer into a table, it works great and wherever I place it now, it appears in the same place and same when I change my resolution. Only problem now is how to move the converted layer. I put the cursor behind it and press the spacebar and it doesnt move! I try tabbing it and it wont move. It's so stubborn. How can I move this converted layer? The only way its moving now is if I backspace it and it goes up or press enter behind it and it goes down but it wont go left to right.
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    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 Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 01:56 AM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.