Why is my page not centered in browser view?

I am working on my home page.  I set the container dimension to 700px and max width 960.   I have tried other sizes.  every time in Windows browser view my site shifts to the left with a large margin on the right.  I can't get it to center.  I have an error message saying :
Unsupported property: max-width
Affects: Internet Explorer 6.0; Internet Explorer for Macintosh 5.2
In Live View, it looks fine. Also, in browser view, my spry menu bar is not showing up (it does in Live View).
Anyone have any suggestions??
Thanks!  M.

kcusu wrote:
.container {
width: 700px; /* the auto value on the sides, coupled with the width, centers the layout */
background-color: #FFFFCE;
max-width: 960px;
text-align: center;
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
If this is the real code, your CSS is missing a closing bracket  }
It would be soooooo much simpler and quicker for everyone if you would upload your page to your remote web space and post a link for us to see it in our browsers.
My guess is that your code has validation errors that need fixing.
Code Validation Tools
CSS - http://jigsaw.w3.org/css-validator/
HTML - http://validator.w3.org/
FYI: Browser compatibility checking is a total waste of time.  You can skip that feature b/c it doesn't tell you anything useful.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists
http://alt-web.com/
http://twitter.com/altweb

Similar Messages

  • Why do .asp pages not show in Design view

    I have been asked to take over a website
    built with .asp.  Originally the pages all showed perfectly and I was able to amend.  However, recently some pages will only open
    displaying code - not html but computer code.  This is a small excerpt from one of the pages.  I would so appreciate some help.  I use Dreamweaver 8.
    佄呃偙⁅瑨汭倠䉕䥌⁃ⴢ⼯㍗⽃䐯䑔堠呈䱍ㄠ〮吠慲獮瑩潩慮⽬䔯≎∠瑨灴⼺眯睷眮⸳牯⽧剔砯瑨汭⼱呄⽄桸浴ㅬ琭慲獮瑩潩慮⹬瑤≤ാ㰊瑨汭氠湡㵧攢≮砠汭獮∽瑨灴⼺眯睷眮⸳牯⽧㤱㤹砯瑨汭•浸㩬慬 杮∽湥㸢਍†格慥㹤਍††琼瑩敬吾敨倠楲牯⁹桃牵档漠⁦湅汧湡牐浩牡⁹捓潨汯›ഭ㰊ⴡ⌭湩汣摵⁥楦敬∽湩⽣慰敧瑟瑩敬椮据ⴢ㸭⼼楴汴㹥ℼⴭ⼠⼯⼯⼯⼯⼯⼯⼯⼯⼯⼯⼯⼯⼯⼯⼯
    Thank you if you can throw any light on this problem

    Hi,
    I qoute from Adobe Help page:
    If you plan to develop dynamic pages, Dreamweaver needs the services of a testing server to generate and display dynamic content while you work. ...here is the link:
    http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcda9110b1f693f21-79e0a .html
    Hans-G.

  • Why does the page not move smothe when i scroll?

    Why does the page not move smothe when i scroll?
    Sometimes it even move slower then i Scroll?
    I use a Mac and i have tried to reinstall the program.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    In Firefox 4 [http://kb.mozillazine.org/Safe_mode Safe mode] disables extensions and disables hardware acceleration.
    * Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    See:
    * [[Troubleshooting extensions and themes]]

  • Why will certain pages not open

    why will certain pages not open?  i get "failed to open page"

    Down For Everyone Or Just Me -> Check if your website is down or up?

  • Why are JSP pages not being processed on iPlanet Web Server 4.1.

    JSP's have been enabled under the Servlets tab and the Path variables have been set on the Configure JRE/JDK page as recommended. Servlets are running but JSP's are NOT. Any ideas as to why JSP's are not running?

    Stephen,
    You need to install and point iWS to an external JDK as well.
    Try these instructions below and see if this works for you:
    1) Install your JDK. Make sure that all OS patches needed by the JDK are installed.
    2) Verify that the JDK installed correctly by going to /<JDK_INSTALLATION_HOME>/bin/java -version You should see version information if the bits are working properly.
    3) Install the webserver. When prompted to use the included JRE or to use an internal JDK, choose to use the internal JRE. DO NOT specify an external JDK during installation.
    4) Startup the Admin Server instance at /<server root>/https-admserv
    5) Access the Admin Server through the web interface.
    6) Go to Global Settings | Configure JRE/JDK Paths.
    7) Click on the JDK button and enter into JDK Path the path to the top level of your JDK path, ie /usr/jdk12205a. Leave the JDK Runtime Libpath and JDK Runtime Classpath field blank. Click OK, Save and Apply. If you encounter a problem when clicking OK, close out your browser and stop and start the https-admserv instance from the command line.
    8) Stop and start the Admin Server instance.
    9) Startup the webserver instance at /<server root>/https-<instance>
    10) Create a servlet directory under /<server root>/docs
    11) Copy HelloWorldServlet.class from /<server root>/plugins/samples/servlets/servlets/HelloWorld and place them      in your servlet directory.
    12) Copy HelloWorld.jsp from /<server root>/plugins/samples/servlets/jsp.092/HelloWorld and place them in your document root.
    13) Access your webserver as a client and hit the HelloWorld servlet using the URL      http://<myserver>/servlet/HelloWorldServlet
    14) Access your webserver as a client and hit the HelloWorld jsp using the url http://<myserver>/HelloWorld.jsp
    15) Your webserver is now running servlets using the JDK.
    Keep in mind: Do not specify the JDK path during the installation.

  • Link to page not working in browser

    Scenario: two .pdfs generated from FrameMaker with full Acrobat 7.0. Document A contains a cross-reference to a heading on page 7 of document B.
    Behaviour in desktop Reader: clicking on the link in Document A opens Document B, at page 7
    Behaviour in browser with Reader plugin: clicking on the link in Document A opens Document B, at page 1
    The second behaviour is obviously less help to the [human] reader. Does anyone know of any workaround?
    [note: not random cross-posting, but I will post this in the FrameMaker forums as well]

    I am also facing the same issue.Can anyone suggest a workaround for this issue.

  • Page not centering and background repeat issue in Safari

    I recently put up a new website. It seems to be working and displaying fine in IE, Chrome and FF. My problem is Safari. The page is not centering (going left) and I'm also having a problem with
    the background image of my FOOTER div not repeating. I'm sure this is something simple (ie:stupid) I did but it just eludes me. The other interesting thing is that the background image for the footer
    (which is the grass image) is actually 1024px wide but it's not displaying it fully or else it's compressing it. Here's a link to the website. Any insights are appreciated. I am using Safari on an iPad if
    that matters.
    www.cardinalwood.com
    Donna

    Non-breaking spaces should not be used as a layout device. 
    <p>We are members of these fine NC Organizations.
          &nbsp 
    Click the logos to learn more.</p>
    It's much better to use CSS to control alignment of elements on your pages.
    <p style="float:right: text-align:center">We are members of these fine NC Orgnizations <br />
    Click the logos to learn more.</p>
    You have a couple of CSS errors that need attention.
    http://jigsaw.w3.org/css-validator/validator?profile=css21&warning=0&uri=http%3A%2F%2Fwww. cardinalwood.com%2F
    The iPad display is 768px wide in portrait view and 1024px wide in landscape view.  Which view are you using to test your site?
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • Page not centered

    Just got Dreamweaver 5.5 upgrade.  Used what I thought was page centered template when developing site.  Shows as centered on live view.  After FTP download to server it shows left justified on Explorer. Any help out there?

    In your CSS you describe your body with the text-align: center; selector thusly:
    body {
              background-color: #1C2E5A;
              color: #afd7d3;
              font-family: Verdana, Arial, Helvetica, sans-serif;
              font-size: 13pt;
              line-height: 14pt;
              margin: 0 0 0 0; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
              padding: 0 0 0 0; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
              text-align: center; /* Centers the page content container in IE 5 browsers. */
              background-repeat: no-repeat;
    Then you make an outer <div> that contains all other divs and that div will be centered in the page:
    #outerWrapper {
              margin: 0 auto 0 auto; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
              text-align: left; /* Redefines the text alignment defined by the body element. */
              width: 900px;
    Then, in your HTML you set things up:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>My Page</title>
    <link href="css/general.css" rel="stylesheet" type="text/css" media="all" />
    </head>
    <body>
    <div id="outerWrapper">
    //All of your other divs will go inside this outerWrapper. It will be centered, even though the text inside it is not.
    </div>
    </body>
    </html>

  • Why HTTP 404 Page not Found when trying to Backup Configuration?

    Good day:
    I bought this RV082 VPN Router.  After configuring it, I tried to save its configuration using the System Management's Backup Utility.  When I set everything up and ready to proceed, as I click on the Backup Configuration button, I get this Page Not Found error.
    After several additional retries, and cold startup of my laptop, I still get this.
    Then I wondered, "Why don't I try to upgrade the firmware instead?".
    Guess what: I get the same page not found error.
    Can anyone tell why is this?  Using Windows 7 Pro 32-bit.
    Thanks in advance!
    Javier.
    P.S. I have replied to another thread about not getting connected with Quick VPN to the RV082, which is another painful trouble I've got with it.

    Hi Rybak,  
    Thanks for your reply.
    Try to clean the Cache for TFS 2013 manually(delete the content of the folder only, not the cache folder itself):
    Clean the Cache folder on Server machine. The folder path is:
    C:\Program Files\Microsoft Team Foundation Server 12.0\Application Tier\Web Services\_tfs_data.  
    After cleaned, on Server machine, click Start and select
    Run… to open the dialog box, then input iisreset.exe and click OK, wait it run completely.
    If clean Cache cannot resolve this issue, please try to repair your TFS 2013 Update 4 Server, then check the result.
    Additionally, you can run TFS 2013 Power Tools BPA to scan the installation of your TFS Server.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Poster image not centering in browser

    My poster image (for viewing in IE8) is not centering in the browser window. It's displaying as left aligned with a big gap to the right of the image. How do I fix?

    Thank you Hemanth, that is exactly what I am referring to. One final question though, as I am by no means an HTML guru...do I add the snippet while I'm in Edge or do I open the HTML file in Dreamweaver and add the code there?
    If in Edge, where do I access the code to add it (and where does it go)?
    If in Dreamweaver...here is the code for my file, where  would I place the snippet?
    <!DOCTYPE html>
    <html>
    <head>
              <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
              <meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
              <title>Untitled</title>
    <!--Adobe Edge Runtime-->
        <script type="text/javascript" charset="utf-8" src="FEA2014_Invite_edgePreload.js"></script>
        <style>
            .edgeLoad-EDGE-450331542 { visibility:hidden; }
        body {
              background-color: #000000;
        </style>
    <!--Adobe Edge Runtime End-->
    </head>
    <body style="margin:0;padding:0;">
              <div id="Stage" class="EDGE-450331542">
              </div>
    </body>
    </html>
    I GREATLY appreciate this advice!
    Many thanks,
    James

  • Page not displaying in outline  view.

    One of the pages in a site is not displaying in the outline view of CS2. Does this view have,, well different views. The page displays in source, preview, pdf preview & browser preview but nothing is displayed in outline. All other pages display in the outline view. I have closed the file, closed GL & rebooted but still views as blank just a flashing cursor top left. If I go from  outline to source the cursor is immediately after </body>. I am thinking that I am viewing after the body and seeing nothing.Thanks

    Hi,
    After opening NWDS  in Webdynpro explorer. Go to  Window-> show view and select outline.
    you will get the outline editor where you can desing the layout for the views.
    hope it helps you.
    Raghu

  • Imports not displayed in browser view mode

    Why are my photo imports displayed as black images in browser view mode?

    Not sure on your version but right click the member and select "View member properties", it should display a property window and attributes will be in there.
    There is also the atrribute viewer
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Why have my version names disappeared from Browser view?

    I know there is an easy solution to this because it has happened to me before. In the Browser viewer in Aperture 3, I can usually see the Version name under each thumbnail. The Version names have disappeared and I can't remember how to get them back. Please help!

    Dan D'Errico wrote:
    Thanks! I was looking for this info all over the internet and in Aperture Help. What does U stand for anyway? And how would I search to find that answer on the web ? Is there a corresponding menu item for this in Aperture - and where is it buried? It was really driving me crazy. Thanks again!
    Sometimes finding stuff is hard especially something like this that doesn't seem to have a particular name. But in this case the information under the image is metadata so trying a search for that in the help box got me:

  • WHY YAHOO TOOLBAR IS NOT VEIWED IN BROWSING PAGE

    Yahoo Tool Bar is not revealed in the browsing page such as Free Hotmail, Windows Marketplace etc

    In Fire Fox 3.6.13 Yahoo Tool Bar is displayed in the browsing page itself, if Fire Fox 4.0 will make the same as 3.6.13 it will be helpful

  • PDF page not showing in browser window in Safari

    When I click on a pdf link while in Safari browser, for instance "download full equipment list", I get a blank page. I have downloaded the latest PDF Flash Player. I am using Safari 4.0.3. I use OS 10.5. I didn't have this problem before 10.5. I don't use this very much, so I do not know what the precipitating event could have been. This does not happen when I use Firefox (but I am not fond of Firefox).

    Thank you for the replies.
    I downloaded the Flash PDF Player because it was a suggestion as to why I may not be able to access PDF documents through Safari. Removing it is irrelevant at this point since the problem was occurring before I downloaded the Flash PDF Player.
    My guess is that it has to do with Safar. As I mentioned, I do not have this problem with Firefox.
    Any suggestions?

Maybe you are looking for

  • Transfer from one itunes account to another

    I do not have access to my password or email account that I originally used when I signed up for itunes.  Is there a way that I can get my music from my account to a new one so that I can add new songs to it?

  • Macbook pro 15 inch mid 2010. Stays on apple logo boot screen.

    so i try booting up my macbook pro and it dosent boot into OS X 10.7.5 Lion. On the other hand. I do have Windows 7 Professional on boot camp. I can boot into that but not OS X 10.7.5 Lion. PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • How can i set the book marks below the address bar like IE9

    Dear Sir, I am a new user for firefox, now i am using firefox 4.0 beta version. In this how can is place book marks in below the address bar like IE8 OR IE9

  • 10 bit way of editing photos: GeForce + 10bit LCD + linux?

    Hi, does anybody have a working 10 bit / channel video output setup with GeForce cards and 10 bit LCDs [3]? Nvidia GeForce drivers for linux (only) should support it for some time now [1], supposedly X supports it as well and only some (well, many) a

  • Row Level security on Projects view

    How can custom reports be written in Oracle Projects such that only projects to which the user has access to is returned? Is adding the pa_security.allow_query condition the proper way? Are there any public API's or views that are available in R12.1.