How can I center my website to the middle? My website, not my writing if it helps understand it better

I wanna center my website to the middle of the screen, not left align. My writing is centered on the website but the site I created is stuck in the left side.

Hello,
please try in your css advice:
#main {
  width: ....px; /*(Your choice)*/
margin: 0 auto;
In German: Indem man die Breite (width) eines Block-Elements definiert, verhindert man, dass es sich nach rechts und links bis zum Rand des umgebenden Containers ausbreitet. Durch Setzen des rechten und linken Außenabstands (margin) auf auto lässt sich das Element horizontal zentrieren. Das Element nimmt so die definierte Breite an und teilt den verbleibenden Außenabstand gleichmäßig auf.
My try in English:
By the width (width) defines a block-level element, it prevents it from spreading to the right and left to the edge of the surrounding container. By setting the right and left outer distance (margin) to auto can be the element horizontally center. The element that accepts the defined width and divides the remaining outer spacing evenly.
Hans-Günter
P.S.
Try also "margin: 0 auto;" alone.

Similar Messages

  • I Phone 4S. I am unable to update the software. Evidently my I Mac ( 10.4) will not allow or support the sw update. How can I update  this device? The phone function is not currently working either. HELP ! at t

    I am unable to update my I Phone 4s through I-Tunes. I believe its due to my antiquated  10.4 operating system on my 2005 I Mac. How can I perform the software update. Currently even the phone function will not work . I'm a novice with this device.

    Whatever version of Leopard you purchase, I suggest updating it to 10.5.8 which should have everything you require. To update Leopard download and install Mac OS X 10.5.8 Combo Update. Alternatively, open Software Update and install all the recommended updates. That will include the above updater.
    To update your phone:
    Upgrading iOS
       1. How to update your iPhone, iPad, or iPod Touch
       2. iPhone Support
       3. iPod Touch Support
       4. iPad Support
         a. Updating Your iOS to Version 6.0.x from iOS 5
              Tap Settings > General > Software Update
         If an update is available there will be an active Update button. If you are current,
         then you will see a gray screen with a message saying your are up to date.
         b. If you are still using iOS 4 — Updating your device to iOS 5 or later.
         c. Resolving update problems
            1. iOS - Unable to update or restore
            2. iOS- Resolving update and restore alert messages

  • How can I retrieve my password when the retrials email was not recoverable? I also can't use or pass the othere menace of recovery? Not being able to pass or answer the security questions?

    How can I retrieve my password when the retrials email was not recoverable either? I also can't use or pass the othere means of recovery? Not being able to pass or answer the security questions?
    I created a new ID but never being able to update the iTunes that were purchased/saved using the old id?
    I can't also delete.

    Hi Kazmania89,
    Welcome to the Support Communities!
    If you require additional assistance with this, click on the link below for guidance:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Once you are able to gain access to the old Apple ID, this article may be helpful:
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    I have purchased music, apps, or books with multiple Apple IDs. How can I get all of this content onto my iOS device?

    First, you need to copy all of your purchased content so it is on the same Mac or PC with iTunes. This computer should be the one you sync your device with. For more information on how to move your content, see these articles:
    Mac:  iTunes for Mac: How to copy purchases between computers
    PC:  iTunes for Windows: How to copy purchases between computers
    Next, authorize your computer to play content with each Apple ID in iTunes. Once your computer is authorized for all your content, it can be synced to your iPhone, iPad, or iPod touch. 
    Cheers,
    - Judy

  • How can I receive a fax?  The phone jack does not seem to fit in the ethernet port....(OS 10.6.7)

    how can I receive a fax?  The phone jack does not seem to fit in the ethernet port....(OS 10.6.7)

    sarahfromberkeley wrote:
    how can I receive a fax?  The phone jack does not seem to fit in the ethernet port....(OS 10.6.7)
    The MacBook has no fax-modem. You will need an external (USB) modem.
    Stedman

  • The iMovie main screen is hides somewhere off screen? How can I move it back to the middle?

    The iMovie main screen is hides somewhere off screen? How can I move it back to the middle?

    jrod53, that is strange. Displays will always appear under the Hardware tier of the System Preferences. I've never seen it disappear, so I'm a little surprised. Do you have two monitors attached to your computer? It may be the Mac thinks there's two displays and it is send the window for iMovie out to secondary display which you don't have access to. Also is there one side of your display where the mouse will disappear off the edge of the screen, go into a black hole?

  • How can I resolve this problem? The audio engine was not able to process all required data in time. (-10011)

    How can I resolve this problem? The audio engine was not able to process all required data in time. (-10011)

    Could you do this?
    Go to Finder
    Go to Applications
    Go to Utilities folder
    Launch Activity Monitor app
    go to its Memory tab on top
    tell us what you see at the very bottom?
    Here is a sample of mine.
    I bet your page/swap amount will be huge.
    If there is not enough RAM, OS X temporarily stores RAM data on the harddrive and tries to retrieve it back into RAM when needed, unfortunately that is so slow that GB throws an error as it cannot play it all in real time.

  • How can I delete a caracter in the middle of a String ?

    Hello
    I get a string like "a-b-c".
    And I want to delete the caracter - .
    and the string will be abc !
    How can I do that ?
    Thanx

    if there are going to be a lot of dash characters you could read the string character by character, compare the value of the character with the range of values for a letter in ascii, and not copy it to a new string if it doesn't match. If the odd character out is only going to be a dash, you can search the string for the character, split the string at this point, append it to a string buffer and keep doing this till you're done. Just suggestions :)

  • How can I see my document in the middle of the page ?

    Hi everyone,
    I just downloaded the trial of i-Work but I'm in trouble with Pages. Indeed I would like to see my white document, on which I'm writting, in the middle of my page. At the moment it is on the left, with grey on the right.
    And : 1- I don't want to have the whole page in white, that's to say I don't want to zoom in. 2- I don't want neither to put Pages'09 in the middle of my screen, surrounded by my background. 3- I don't want to use the full screen mode all the time. Actually, this is quite simple : I would like to have a presentation similar to Word (not because I can't forget Word, just because I feel more concentrated with this kind of presentation )
    I checked the user's manual, and I couldn't find the solution. So could someone help me ? Is it possible to have the page of our document in the middle of the Pages' screen ?

    Sorry if I seem picky but I believe using the right words makes it easier to communicate. The document isn't showing in a page. The document page is in a window. The page is placed to the top and to the left in the window.
    I also would like to have more space in the window on all the sides of the page. We can ask for it using this link: _http://www.apple.com/feedback/pages.html_

  • How can i restart my phone if the power button is not working?

    My power button is not working and my phone freezes every now and them. I read I should restart it. Is there another way to restart it without using the power button?
    Also, I use the on-screen assistance icon but it does not have a power off option.

    demeece wrote:
    My power button is not working and my phone freezes every now and them. I read I should restart it. Is there another way to restart it without using the power button?
    Also, I use the on-screen assistance icon but it does not have a power off option.
    That's correct.  Because how would you turn it back on again if the screen was off and your power button was on the screen?
    Yo need to fix the button, or try letting the iPhone die out completely, then connect it to power and after it's charged for a while, see what happens when you press the Home button.

  • How can I open XML form in the Adobe reader, but not through the browser extention

    I am saving the document as Adobe Dynamic XML Form (useing Adobe LiveCycle Designer), When I open the document I get this error and I do have a Adobe reader installer.
    Please wait...
    If this message is not eventually replaced by the proper contents of the document, your PDF
    viewer may not be able to display this type of document.
    You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by
    visiting http://www.adobe.com/go/reader_download.
    For more assistance with Adobe Reader visit http://www.adobe.com/go/acrreader.
    Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. Mac is a trademark
    of Apple Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the U.S. and other
    countries

    Open the form in Adobe Reader.

  • How can I close a tab when the close button is not highlighted?

    I don't know how to close a tab without the x in the upper corner. The support page stated I should right click on the tab for the close button but it is not highlighted in my drop down menu.

    What happens if you type or paste <b>about:config</b> in the location bar?

  • How can i undisable a iphone if  the home button does not work

    i have tried every thing possible

    The best way is to let the battery die. Or you can reset the phone settings which restarts everything.

  • How can i track my iphone without the find my iphone not turned on?, how can i track my iphone without the find my iphone not turned on?

    someone stole my phone and i already switched off my phone. I still want to find it though, find my iphone is turned off but is there another way i can track it though verizon?

        I am so sorry to hear about the situation, lilvtric3bo1! I apologize as we do not have access to the GPS capabilities of the phone. Do you remember downloading any other 3rd party tracking apps?
    Thank you,
    YaleK_VZW
    Follow us on Twitter @VZWsupport

  • I recently changed my password and firefox 5.0 is not remembering it. how can i get it to remeber the new password and not the old one?

    I had set firefox to remember my old password. at the point of changing to the new password, I was prompted whether to store the new password, which I did, however when I log in, it still remembers the number of characters in the old password.

    Did you check the password in the Password Manager ?
    * Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"
    *http://kb.mozillazine.org/Password_Manager

  • How can I fixed my photos on the website? work with dreamweaver cc.

    How can I fixed my photos on the website. work with DW CC.     be happy for your help.

    IMage manipulation requires an image editing tool like Photoshop.
    Mylenium

Maybe you are looking for