Centering a page on the screen, why's it not working??

Hi,
I'm trying to centre my whole site so that it appears in the centre of the screen, no matter what size of screen it's being viewed on.
I've had a look at other messages about this, and thought I'd done what they said but it's not working.
I'm using Dreamweaver, and in the CSS rule definition for the DIV tag called #ContainerArea I've set Type = absolute, Height = Auto, Left & Right Placements = auto and Top & Bottom Placements = 0
When I also change the text alignment to centre, this then centres all the text within the 'container area' but the actual area itself is still left aligned on my screen.
It's not live, still just on my hard drive, so I can't include any links.
Can anyone help - please?
Thanks very much,
Nicola

Centered Fixed-width layout
http://alt-web.com/TEMPLATES/CSS2-Centered-Page.shtml
Centered Liquid-width layout
http://alt-web.com/TEMPLATES/CSS2-Liquid-Page.shtml
View Page Source to see the underlying code.
Nancy O.
Alt-Web Design & Publishing
http://alt-web.com

Similar Messages

  • HT4623 on upgrading iPhone 4 to ios 6 using itunes it returned an unknown error then froze completely.  It has the iTunes and USB connector on the screen.  Reset is not working, I get the same frozen screen.

    On upgrading iPhone 4 to ios 6 using iTunes, it returned an unknown error then froze completely with the iTunes icon and USB connector on the screen.  Reset didn't work.  iTunes doesn't recognize the devise anymore.

    if your computer is not recognizing it, try using a different USB port or different usb cable. if that doesnt work you will need to uninstall and reinstall itunes.

  • On e-bay or similair sites a reproduction/photo of the product is not on screen; why does it not work like Opera /Chrome?

    just download last beta of firefox..after startup i activate www.marktplaats.nl.. the small pictures of the products is not showed!

    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 > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    *A way to see if images are blocked is to click the favicon ([[Site Identity Button]]) on the left end of the location bar.
    *A click on the "More Information" button will open the Security tab of the "Page Info" window (also accessible via "Tools > Page Info").
    *Go to the <i>Media</i> tab of the "Tools > Page Info" window.
    *Select the first image link and scroll down though the list with the Down arrow key.
    *If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.
    *You can see the permissions for the domain in the current tab in Tools > Page Info > Permissions
    *You can see all exceptions in Tools > Options > Content: Load Images > Exceptions
    See also [[Images or animations do not show]]

  • Please check the code why it is not working

    I am a new java servlets and jsp learner. I am running below example of session in Tomcat and "AccessCount" supposed to be increased by one value whenever servelet is refereshed. But I am always getting 0 value even after refereshing it.
    I will appreciate your help.
    =======================================================
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.net.*;
    import java.util.*;
    /** Simple example of session tracking. See the shopping
    * cart example for a more detailed one.
    public class ShowSession extends HttpServlet {
    public void doGet(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    String title = "Session Tracking Example";
    String heading;
    HttpSession session = request.getSession(true);
    // Use getAttribute instead of getValue in version 2.2.
    Integer accessCount = (Integer)session.getAttribute("accessCount");
    if (accessCount == null) {
    accessCount = new Integer(0);
    heading = "Welcome, Newcomer";
    } else {
    heading = "Welcome Back";
    accessCount = new Integer(accessCount.intValue() + 1);
    // Use setAttribute instead of putValue in version 2.2.
    session.setAttribute("accessCount", accessCount);
    out.println("<html><h1>" + title + "</h1>" +
    "<BODY BGCOLOR=\"#FDF5E6\">\n" +
    "<H1 ALIGN=\"CENTER\">" + heading + "</H1>\n" +
    "<H2>Information on Your Session:</H2>\n" +
    "<TABLE BORDER=1 ALIGN=\"CENTER\">\n" +
    "<TR BGCOLOR=\"#FFAD00\">\n" +
    " <TH>Info Type<TH>Value\n" +
    "<TR>\n" +
    " <TD>ID\n" +
    " <TD>" + session.getId() + "\n" +
    "<TR>\n" +
    " <TD>Creation Time\n" +
    " <TD>" +
    new Date(session.getCreationTime()) + "\n" +
    "<TR>\n" +
    " <TD>Time of Last Access\n" +
    " <TD>" +
    new Date(session.getLastAccessedTime()) + "\n" +
    "<TR>\n" +
    " <TD>Number of Previous Accesses\n" +
    " <TD>" + accessCount + "\n" +
    "</TABLE>\n" +
    "</BODY></HTML>");
    /** Handle GET and POST requests identically. */
    public void doPost(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    doGet(request, response);
    ========================================================

    Change the code
    HttpSession session =
    request.getSession(true);AS
    HttpSession session =
    request.getSession(false);If you pass "false", then the Session is not created.
    If you pass "true" the session is always created
    new.
    Thanks and regards,
    Pazhanikanthan. PI dont think that's correct -
    1. request.getSession(false) returns a Session object if one exists.
    2. request.getSession(true) creates a new Session object if it doesnt exist or returns the reference to the existing object if the request is part of an valid session.
    OP, check with default session-timeout values in web.xml
    Ram.

  • I cannot get my @ button to work on the iMac why is this not working?

    Cant get the @ button on my iMac to wwork is there another way to get it to work other than the usual way of shift up and @

    If you have access to another keyboard, you could see if the issue is really in that,
    or if the problem could have some other cause... Even a PC keyboard may help
    to troubleshoot this one aspect. I try to always have a spare USB keyboard/mouse.
    Not sure if you could re-assign other keys, such as the F_ keys across the top, to
    have a different one for the @ symbol. There is a code for each one of those items
    and you could use it, or have a text document handy to copy-paste that one item.
    And if you have an antique iMac, or a newer intel-based one, they have different
    operating systems; and troubleshooting may take on different dimensions, too.
    So advice and results may vary depending on hardware & software in use.
    Good luck & happy computing!

  • Why don't any web pages fit the screen? I have to zoom adjust every single page.

    why don't any web pages fit the screen? I have to zoom adjust every single page.

    You can use an extension to set a default font size and page zoom on web pages:
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/

  • Cannot log in to Nationwide internet banking in Firefox. I get the front page but Login says internet banking is not working. Next screen says it's ok and sends you back to the first screen, which says it isn't. Works throughInternet explorer

    Question
    Cannot log in to Nationwide internet banking. I get the front page but Login says internet banking is not working. Next screen says it's ok and sends you back to the first screen, which says it isn't. Works throughInternet explorer

    That issue can be caused by corrupted cookies.
    *https://support.mozilla.org/kb/Cannot+log+in+to+websites
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"

  • I have an older iMac 5,1 and the disc drive no longer works. I was hoping that I could the Apple USB super drive as a replacement, but the info on the super drive page says compatible with iMac 2012 or later. Does anyone know why it would not work for me?

    I have an older iMac 5,1 and the disc drive no longer works. I was hoping that I could the Apple USB super drive as a replacement, but the info on the super drive page says compatible with iMac 2012 or later. Does anyone know why it would not work for me?

    A reply to similar question (Q & As , in product page Apple Store) says:
    "...dissable the internal reader hardware from devices setup. Then plug the external usb superdrive and that's it."  Answered by Enrique T from Lima Oct  25 2013.
    If you can locate an external Apple USB 'Air" superdrive for earlier model MacBook Air, that should work. The newer one for the Air is the same as for iMac, now.
    You may be able to use other brands of external USB optical drive with your older intel-based iMac, as some of them function capably. A few should also be able to see system discs or other bootable utilities on DVD.
    Hopefully this helps.
    Good luck & happy computing!

  • Safari status bar disappears.  I have tried clicking on show status bar and it will only appear when I move the cursor to the top of the screen.  I can not minimize the open page only full screen or close the browser.  Any idea how the rectify this

    Safari status bar disappears. I have tried clicking on show status bar, under the View tab and it will only appear when I move the cursor to the top of the screen. I can not minimize the open page, only full screen or close the browser. Any idea how the rectify this issue?

    One enters and exits full-screen with control+command+F keys. This is on the View menu in Safari. Optionally, the green traffic light in your browser title bar, if you roll over it, has the full-screen control it it. While in full-screen mode with Safari, moving your mouse pointer virtually up, and off-screen reveals the Safari title bar again, and you can click the green traffic light to exit full-screen mode.
    You can hide/show the status bar by simply typing command+/. This too, is on the Safari View menu. and in 10.10.1 — it works reliably for me.

  • Why the italic function doesn't works in my Pages? I have already installed the actualization and it keeps not working...

    Why the italic function doesn't works in my Pages? I have already installed the actualization and it keeps not working...

    drag the other clip 'over' the main clip
    the 2nd clip has to be selected/yellow border...
    then you're prompted in the Inspector with the several options...

  • Using the Motorola Atrix w/ the laptop dock, when I open a web page with Firefox I have to hit "Ctl +" three times to make the page fill the screen. Is there any way to set up so pages open the right size?

    I'm using the Motorola Atrix smart phone with the Laptop Dock. When I open a web page with Firefox I have to hit "Ctl +" three times to make the page fill the screen. Is there any way to set up the Firefox browser to open the web pages the right size in the first place?

    The Firefox Page Zoom feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox.
    Try the Default FullZoom Level extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/6965
    Or the NoSquint extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/2592/

  • Can ibook display a single page on the screen?

    To my understanding, ibook displays two pages at a time on the display on an iPad.   Does it have the ability to display just a single page on the screen with nothing fancy (just a flat sheet) ?    I was thinking of ePub powerpoint slides and I should like to display them just as a single slide or page.
    Thank You,
    G

    Yes, you can view a single page in iBooks on your iPad screen.  Put the iPad in Portrait, not landscape and voila, you'll have a single page view.

  • How do I make a page  fit the screen automatically

    How do I make the Safari page fit the screen automatically

    Try keyboard shortcut Control+Command+F (^⌘F)

  • How come everytime i add an image to my pages document the screen goes blank and then closes the app?

    How come everytime i add an image to my pages document the screen goes blank and then closes the app?

    Hi Fayed11,
    Welcome to Apple Support Communities.
    You may find this article useful for troubleshooting any apps on your iPad that aren't behaving as expected:
    iOS: Troubleshooting applications purchased from the App Store
    http://support.apple.com/kb/ts1702
    Have a great day,
    Jeremy

  • I am unable to open any app on my iphone. While i'm trying to open an app, it just shakes the screen and it does not get open and remains in the  same page. It worked fine until I charged the phone in my laptop. Please can anyone help me to recover it?

    I am not able to open any app on my iphone. While i'm trying to open an app it just shake the screen and it does not open and remains in the same screen. It worked fine until I charged the phone this evening. After that suddenly I'm facing this. Please can anyone help me to recover this issue? pls!

    This is covered in the basics section.
    A restore loses nothing.
    A restore does.  If you are using the iphone as designed, then everything should be on your computer.

Maybe you are looking for