Dreamweaver MX  How to get pages to automatically align center

I can get text within a layer or table to align center, but I can't figure out how to get the entire page to always snap to center, regardless of the browser window size.  I'm sure this is easy, but I just don't see it.
Whatever the solution, must the contents of the page be in a table? If so, can I convert the layers (photos and text) that make up some pages into tables?
Sorry, if this is basic, but I haven't used the program in a few years, and my books andmanuals are in storage 4 hours away.

You need 3 basic things to center a page.
A valid HTML document type declaration on the first line of your code.  DW normally does this for you when you create a new page. 
CSS container width in pixels, ems or %;
CSS margin-left and margin-right of auto.
Page centering can be expressed with the following CSS code:
body {
     width: 980px;
     margin:0 auto;
NOTE: This won't work with positioned elements (aka Layers) because they are removed from normal document flow.
Nancy O.

Similar Messages

  • How to get Manager id automatically when Employee Id is given.

    How to get Manager id automatically when Employee Id is given.
    1) I created a simple BO with two elements namely
        1.Employee Id
        2.Manager id
    How to get employee's first name and last name?
    And how will i get manager id  automatic when i click employee id in element field.
    Anbu.

    Have you tried to use "APPS.FND_CONCURRENT" API?
    http://etrm.oracle.com/pls/trm11510/etrm_pnav.show_object?c_name=FND_CONCURRENT&c_owner=APPS&c_type=PACKAGE
    http://etrm.oracle.com/pls/trm11510/etrm_pnav.show_object?c_name=FND_CONCURRENT&c_owner=APPS&c_type=PACKAGE%20BODY
    Thanks,
    Hussein

  • How to get page one to animate only once in interactive pdf?

    how to get page one to animate only once in interactive pdf? I like when the document opens up in acrobat and the the page animations work but when I go to one of the pages and hit my designated home button it goes back to page one but it reloads again. As a user it would drive me crazy to have to wait for all of it to load......anyway to have that page one load once as the opening page?

    I don't think you really mean animations (unless you have a placed SWF file) because things created with the Animation panel don't work in PDF. Nonetheless, you're talking about some kind of interactivity which is set to happen On Page Load.
    So when you return to that page, of course the interactivity loads again.
    There isn't a On Page Load Once command.
    Perhaps you need to rethink why the interactivity is there. If it's important, maybe it should be triggered by a rollover or by clicking a button.

  • How to get page numbers using cl_gui_alv_grid

    dear all,
    I want to display page nos at every end of .iam using cl_gui_alv_grid.iam didving itab into no of pages,iam using code to display no of pages is
    CLASS LCL_EVENT_RECEIVER DEFINITIOn.
    PUBLIC SECTION.
    HANDLE_END_OF_PAGE
    FOR EVENT PRINT_END_OF_PAGE OF CL_GUI_ALV_GRID.
    PRIVATE SECTION.
    DATA: PAGENUM TYPE I.
    ENDCLASS.
    CLASS LCL_EVENT_RECEIVER IMPLEMENTATION.
    METHOD HANDLE_END_OF_PAGE.
    DATA: TABLENAME(30) TYPE C.
    ADD 1 TO PAGENUM.
    WRITE: /,'Event: PRINT_END_OF_PAGE'(003),
    'Number of pages so far: '(004), PAGENUM.
    ENDMETHOD. "handle_end_of_page
    Endclass.
    and iam wrting in PBO set_table_for_first_display
    CREATE OBJECT EVENT_RECEIVER.
    SET HANDLER EVENT_RECEIVER->HANDLE_END_OF_PAGE FOR GRID1.
    create object grid1.
    exporitng
    i_parent name = 'CONT'.
    GS_PRINT-RESERVELNS = 2.
    CALL METHOD GRID1->SET_TABLE_FOR_FIRST_DISPLAY
    EXPORTING
    I_STRUCTURE_NAME =
    IS_PRINT = GS_PRINT
    IS_LAYOUT = GS_LAYOUT
    CHANGING IT_OUTTAB = it_Tab.
    but this is not triggering when i dispalying output.i think this will trigeer when we will give print output.
    then how to get page nos at buttom of each page .
    thanks in advance
    shiv

    Hi,
    I think you have to define the page size because for each page if you have defined the page size(say N),  at first top of page will be triggered and after the N number of lines the end of page event is defined. Please check this if you have not defined all the page size it assumes all the lines in one page. Please check.
    Thanks.

  • How to get Page Count of pdf in Document library in EventHandler

    Hi,
    How to get Page Count of pdf in Document library once uploaded has been done and i would like to update the page count value in document library column of the corresponding file.
    I should achieve it in Event handler.
    Which even should i use, either ItemAdded or "ItemUpdated "?
    Thanks & Regards
    Poomani Sankaran.

    Hello,
    If you are looking for file download or view count then event handler will not work. You need to enable the analytic report to your site. Once you enable it then you can see the report within a browser or you can also create custom webpart to show count
    of specific file.
    http://blogs.msdn.com/b/ecm/archive/2010/05/03/web-analytics-in-sharepoint-2010-insights-into-reports-and-metrics.aspx
    http://sharepoint.stackexchange.com/questions/34611/count-of-files-under-a-folder-in-a-document-library
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to get page item list in  a page?

    how to get page item list in  a page?

    Have a look at ISpread::GetItemsOnPage().
    That should get you started.

  • Have uninstall dreamweaver CC. how to get it back???

    have uninstall dreamweaver CC. how to get it back???

    Hi stava,
    Please refer the article: http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html if CC desktop showing up to date and try installing again. You may follow the article: http://helpx.adobe.com/creative-cloud/help/install-apps.html for install instructions.
    Regards,
    Romit Sinha

  • How to Get Rid of the Extra cents left on your gift Card balance?

    I would very much like some help on how to get rid of the 65 cents I have left in my itunes account, without having to spend it on something, or make a new account, or contact Apple. Please someone help with this, I'm sure many other are having trouble as well!!!!

    I noticed there is an extension which lets you clear the title of the current page or replace it with other text. This seems to work equally well in private and non-private windows, however, it doesn't appear to have an option to automatically do it in all private windows. Maybe someone can add that feature (the author isn't maintaining the add-on any more).
    https://addons.mozilla.org/firefox/addon/page-title-eraser/

  • How do i get pages to automatically save as a .docx format?

    I can export to a word format, but how can I get it to automatically save as one?

    Pages is not a Word substitute, it saves to .pages files.
    You Export to Word .doc/x.
    If you want a Word substitute try LibreOffice [free].
    Peter

  • How do i get pages to automatically make i a capital??

    i'm new to using a mac, and i cant seem to get pages to make an 'i' a capital when on its own, and also when i start a new sentance is it possible to get pages to make the first letter a capital on its own??
    if you can help me, please do!!!!!

    Jerry2617 wrote:
    Touchy. Not you. Did I name you? Many people are just great at masking their opinions and although you have never seen a message where a poster said straight out that the feature is for the lazy, it is intimated.
    When I think that someone is lazy, I write it. You may check that in:
    http://discussions.apple.com/thread.jspa?messageID=6568600
    Yvan KOENIG (from FRANCE jeudi 14 février 2008 19:02:21)

  • How to get keychain to automatically ask to generate passwords

    I Two MacBook  Pros,
    when I setup a password on my computer safiri automatically opens Keychain and it asks if I want to gererate a password, and offers to save it.
    Keychain is turned on.
    On My wifes computer when I go to setup a password, keychain dosen't start up and dosent offer to generate a password.
    Keychain is turned on, on this computer also.
    we both are current with Maverick 10.9.2
    anybody know how to make her computer automatically ask to generate passwords etc?

    Hi Dave n Laura!
    If you are having an issue with your iCloud Keychain, you may want to use the troubleshooting steps in the following article to help you address this issue:
    iCloud: Troubleshooting iCloud Keychain
    http://support.apple.com/kb/TS4644
    Safari isn't automatically filling in account names and passwords on some web sites.
    Devices using iOS 7.0.3 or later:
    Go to Settings> Safari > Passwords & AutoFill and make sure that these two settings are turned on:
    Names and Passwords
    Always Allow
    Return to your Home screen and open Safari. If Safari is black or dark instead of white or gray, Private Browsing is turned on. Safari doesn't save account names and passwords when Private Browsing is turned on. To turn off Private Browsing:
    On iPad, tap the the plus + symbol in the upper-right corner of the Safari page, then tap Private in the lower-left corner.
    On iPhone and iPod touch, tap in the lower-right corner of the Safari page, then tap Private in the lower-left corner.
    Macs using OS X Mavericks v10.9 or later:
    Choose to Safari > Preferences, then click Passwords.
    Make sure that that these two checkboxes are selected:
    AutoFill user names and passwords.
    Allow AutoFill even for websites that request passwords not be saved
    Open the Safari menu and make sure there's not a checkmark next to Private Browsing. Safari doesn't save account names and passwords when Private Browsing is turned on.
    I get a message saying that Safari will not save the password on one of the websites I'm using.Safari will not save or autofill account names and passwords on some websites that request that passwords not be saved. To allow Safari AutoFill on those websites:Devices using iOS 7.0.3 or later:
    Go to Settings > Safari > Passwords & Autofill.
    Turn on Always Allow. You must have a passcode lock on your device to enable this feature.
    Macs using OS X Mavericks v10.9 or later:
    Choose Safari > Preferences, then click Passwords.
    Select “Allow AutoFill even for websites that request passwords not be saved”. You must set a screen lock before your Mac can use this feature.
    Thanks for coming to the Apple Support Communities!
    Cheers,
    Braden

  • How to get page number from the PDF using Javascript

    Hi,
    We are having list of Single page PDF. The pdf are named in the order,
    ISBN_Author_01.PDF  (with real page number as i)
    ISBN_Author_02.PDF  (with real page number as ii)
    ISBN_Author_03.PDF  (with real page number as iii)
    ISBN_Author_04.PDF  (with real page number as 1)
    ISBN_Author_05.PDF  (with real page number as 2)
    ISBN_Author_06.PDF  (with real page number as 3)
    ISBN_Author_nn.PDF  (with real page number as 500)
    Here each pdf has a page number and in sequential order.
    The task is to check whether all the pdfs are in sequential order (i.e i, ii, iii, 1, 2, 3). If any page is missing, the script should throw an error report.
    To do this task, I am writing a Javascript to get the real page number from the PDF.
    Can anybody help me how to get the page number from the PDF using Javascript.
    Thanks,
    Gopal

    The "real" page number within a PDF is the count of the physical page starting at 0, zero.
    pageNum numPages
    The number printed on each page is the page label.
    setPageLabels  getPageLabel
    You will have to open each PDF and your script would need to know the page label for that file. I would expect you would need to build a 2 dimensional  array of the file names and the page label for the page within that array.

  • How to get pages list for a group space or create a page for a group space

    hi All,
    I am using wc11.1.1.3, I want to use java api to implementing the following functions in site template:
    1. Get pages list for a given group space
    2. Create a page for a given group space
    I researched the following codes from web site:
    PageDef newPage = mPageService.createPage(
    PERSONAL_USER_PAGE, pageNameFormat, pageTitle,
    "MyPageTemplate1.jspx",
    "/mytemplates/",
    null, null, null);
    What should be used instead of PERSONAL_USER_PAGE if a group space page is intended to be created? which parameter is for defining group space name that the page should be created for?
    By the way, PageService seems has method for getting list of pages, but how to use it to get page list which is in a specified gs?
    Best regards

    did you manage to get the page list using Page Service API?

  • How to get rid of automatically created server accounts in iCal and Mail?

    I have recently setup an OS X 10.6.2 Server for our small office. I got the domain name wrong in the initial install and fixed this by doing a complete clean reinstall of OS X 10.6 server (then upgrade to 10.6.2).
    The problem is that one of the OS X 10.6.2 clients had been setup to talk to the server prior to the rebuild. Now on this client, I cannot work out how to get rid of or change the automatically created server accounts in iCal and Mail - everytime you login, these are recreated using the old domain name (and of course don't work).
    In Mail if you remove the server account (from Accounts in Preferences), it just pops back again. I even removed every trace of the old domain name from the apple.com.mail.plist file but when I re-open Mail that darned server account (with the old domain name) just pops up again.
    In iCal its slightly different in that you can remove the account and it stays away while you have iCal open. But as soon as you close and re-open it, that server account just pops up again!
    I thought it might be something to do with Kerberos and found a Kerberos file on the client which had the old domain name throughout it - I changed all these references to the new domain name, but still the same behaviour in Mail and iCal.
    This is doing my head in. Any ideas?
    Message was edited by: davidav

    I suggest you ask in the snow leopard server forum
    http://discussions.apple.com/category.jspa?categoryID=264

  • How to get rid of automatically created Mail and iCal accounts on client?

    I have recently setup an OS X 10.6 Server for our small office. I got the domain name wrong in the initial install and fixed this by doing a complete clean reinstall of OS X 10.6 server (now upgraded to 10.6.4).
    The problem is that one of the OS X 10.6.4 clients had been setup to talk to the server prior to the rebuild. Now on this client, I cannot work out how to get rid of or change the automatically created server accounts in iCal and Mail - everytime you login, these are recreated using the old domain name (and of course don't work).
    In Mail if you remove the server account (from Accounts in Preferences), it just pops back again. I even removed every trace of the old domain name from the apple.com.mail.plist file but when I re-open Mail that darned server account (with the old domain name) just pops up again.
    In iCal its slightly different in that you can remove the account and it stays away while you have iCal open. But as soon as you close and re-open it, that server account just pops up again!
    I thought it might be something to do with Kerberos and found a Kerberos file on the client which had the old domain name throughout it - I changed all these references to the new domain name, but still the same behaviour in Mail and iCal.
    This is doing my head in. Any ideas?

    I have the same problem. Every time that I open iCal on the client a new account is created and an error message shown that I cannot login. I can delete the wrong account in the iCal preferences. However, as soon as I restart, the account and the error message are back.
    How do I "unbind" and "rebind" a client? I searched the "Mac OS X Server
    Open Directory Administration Version 10.6 Snow Leopard" but the only reference to "binding" seems to be in the context of Active Directory which I don't have.
    Any help is greatly appreciated.

Maybe you are looking for

  • I tunes will not open unless ipod is connected

    I have downloaded and totally remove itune 3-4 times. It will not open unless the ipod is connected. I keep getting a message that says :the itunes folder can not be found or created. The default folder is located in "my music". what do i have to do

  • I have 100 plus songs in my itunes library that have lost original files but they are on my ipod can i transfer them back in to itunes library

    I have 100 plus songs in my itunes library (downloaded from store and cd's) that have lost the original file on my computer. They are still playing on my ipod. Is there a way I can transfer the songs fromn the ipod back into the library to restore th

  • About Berkeley I/O.

    I am trying to understand the I/O characteristic of Berkeley DB. Can anyone confirm my observation that Berkeley DB does all the external I/O's (user data, meta data, and anything else) through routines defined in ./src/os/os_rw.cpp? Besides, I measu

  • How do I get a better quality for my image?

    Hi, I have created a logo for a business online and I now need to use it for letter heads, business cards etc and when i copy it straight from the internet into a word document it looks very blurry and unproffesional. What can i do to make this bette

  • RFC to JDBC async

    Hi All, I have one client specific requirement, My scenario is  RFC to JDBC async. Is it possible to know the successfully posting status in async scenario in JDBC side? Like, from RFC they send details of 10 employee details in one go. And try to in