Screen Resolution Compatiblity Issue

Posted on 2006-11-11
Last Modified: 2010-04-09
My site ( is depended on style sheet template/theme and it is viewed best in 1024x768  resolution. When it is opened in 800x600 settings right side bar is not viewed. Kindly opne it in both resolution.

Now I want to ask that in which place I hav to edit, i.e. do I edit style sheet file or what? I want that my site is best viewed in both resolution or atleast in 800x600.

Question by:A1opus
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 19

Accepted Solution

VoteyDisciple earned 200 total points
ID: 17922725
This is ultimately controlled by the stylesheet, yes.  Glancing at it briefly I see quite a few fixed widths given to elements (in px, even -- most of those should at least be given in em).  To fit in an 800x600 window the widths of elements across the screen will naturally have to sum to less than 800.

Alternatively you could remove the absolute widths and either use percentages (so a certain element is a percentage of the total available width) or give widths to only some elements so that others can be sized by the browser.

Author Comment

ID: 17923099
I am pasting the following some tags of my sheet, kindly tell me that which shud be changed:

            margin: 0 auto;
            min-width: 800px;
            width: 100%;

            { /* masthead position */
            border-top: 30px solid #ccc;
            margin: 0;
            padding: 25px 0 5px 0;
            width: 100%;

            border-bottom: 1px solid #ccc;
            padding: 0 0 10px 0;

            float: left;
            margin: 0 401px 0 0;
            min-width: 468px;

            {/* positioning the blogposts (left) column */
            float: left;
            padding: 0 0 25px 0;
width: 100%;

            margin:0 0 0 -401px;
            width: 400px;

            {/* left sidebar position */
            float: left;
            padding: 15px 20px 15px 30px;
            width: 160px;

            {/* right sidebar position */
            float: right;
            padding: 15px 0;
            width: 180px;

            { /* footer information */
            background-color: #cc9;
            clear: both;
            width: 100%;

#masthead, #sidebars, #footer
            { /* clear every floats */
            _height:1%;                  /* MSIE specific */
             _overflow:none;            /* MSIE specific */
LVL 19

Expert Comment

ID: 17923128
Well that's really up to you.  I'd suggest playing with any of the values that look like...

width: 400px;

... until you've got something you like.

If you're using Firefox you may find it helpful to have the WebDev toolbar installed, as it has a feature to easily edit stylesheets while looking at the page.

I can't tell you what design you'll think looks good.  (-:

Author Comment

ID: 17923163
i want that the width of my site should be contained in 800px, so kindly tell which tag shud be edited. If you see my website in 800x600 resolution, u will notice that right sidebar is not contained in the screen.
LVL 11

Assisted Solution

ethoths earned 200 total points
ID: 17956209
If you're using ccs layout then you'll need a div immediately inside the body tag that contains all of your content...

  <div id="layout">
    Content here

Then create a new style rule..


If your're using tables to layouyt the site then replace the <div mentioned above with>

  <table cellpadding="0" cellspacing="0" border="0" width="771" height="100%">
        <td valign="top">
            Content goes here...

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question