Question on the Web page in the browser of centering

Hello

My page is left justified right now.

I have everything inside a div called container. I have a CSS rule as well. What I have to add to the CSS rule to make the center of the page in the browser? Thank you.

< div class = "container" > stuff < / div >

. Container {}

background-image: url(images/HOME-PAGE-BOAT.jpg);

background-repeat: no-repeat;

background-position: top center;

height: 900px;

Width: 1260px;

}

For reference, auto margin: 0; is the abbreviation of

margin -top: 0;

margin -right: auto;

thebottommargin: 0;

margin -left: auto;

Not very well why he pushed it to the right.

EDIT: / / Re: background image. I would put the image on theortag that will not have this problem. This link might offer some advice for a possible solution.

Tags: Dreamweaver

Similar Questions

  • cannot Center web pages in a browser with css. Windows CS6. Tried the container div and all I can think about.

    Any who can shed light on why CSS is not focus my web pages? Placed the CSS rule in the header exactly like all the others who created the program. Made rules CSS 1 million before.  Entered in the div open and close tags between the body tags exactly according to the instructions. Webpages still stuck on the left side. Using Windows and CS6. Thanks in advance.  Glenn

    Just to let you know that I solved it. Added this code, as suggested by a friend

    Changed the wrapper div to:

    #wrapper

    and it worked... Finally!

    I thank very you much for your time.

    Glenn

  • Web page using the browser of centering



    Hello

    I created my web page for screen resolution 800 x 600.

    When a spectator to my Web page put their screen at a higher resolution, say 1152 x 864, my web page moves to the left side of the screen, leaving a blank space on the right.

    How can I get my web page to stay in the centre, i.e. the middle of the screen, when a higher resolution is used by the Viewer. I noticed that microsoft.com has achieved this when my resolution is greater than 800 x 600.

    Thanks for any help.

    WebTime

    Use a table that is set to the Center to align for the site?

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.dreamweavermx-templates.com - template Triage!
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
    ==================

    "webtime" wrote in message
    News:eit96n$92t$1@forums. Macromedia.com...
    >
    >
    > Hello,
    >
    > I designed my web page for screen resolution 800 x 600.
    >
    > When a spectator to my Web page put their screen at a higher resolution.
    > say
    > 1152 x 864, my web page moves to the left side of the screen leaving
    > a
    > virgins of space on the right.
    >
    > How can I get my web page to stay in the Center, i.e. average of the
    > screen.
    > when a higher resolution is used by the Viewer. I noticed that
    > microsoft.com has achieved this when my resolution is greater than 800 x
    > 600.
    >
    > Thanks for any help.
    >
    > Webtime
    >

  • General question about the Browser element

    Will look for an alternative, I found the Browser element and now I have a few questions about that:

    As I am not yet experienced on the Interfaces of Java development, I was wondering if following senario is possible:

    Have some HTML Pages which do the job of the Interface.

    If you submit a form, the JAva Base program (the Master application) process all Information.

    If you are viewing a list, the info is from a json of the Base program output.

    As the Communication Server Client HTML, the only difference is, that all communications remains inside the app.

    Is this possible?

    I can't speak to the idea of dealing with the entry of html, but I can confirm that it is possible for an application program to create a html page and providing the BrowserField for display.

  • A Page in the browser of centering

    My page is centered with in the brower however depending on how long vertically the page is the Center to move. So when you change some pages some are placed in a spot other are positioned slightly to the left and its noticeable enough to navigate the site. How can I correct that the page remains in the same place centered in the browser.

    Add this to the CSS-

    HTML {overflow - y: scroll ;}

    Put it at the top of the CSS file.

  • What is a way to make the TABS of the browser is entirely independent of each other - and the same question about the browser windows. Thank you!

    As the maximum goal I want to "enter" into two accounts of the same service (yahoo, for example). If it is not accessible, then I want to know: is the site located on a tab of the browser knowing other sites residing on other tabs of the browser WHERE the tabs are "filled" by different sites?

    Hello

    I'm glad to hear that your problem has been resolved. If you haven't already done so, please select the answer that solved the problem. This will help other users with similar problems more easily find the solution.

    Please contact the Mozilla Support.

  • Question about the browser inside "sandboxie" and download to save an attachment?

    Hello

    I am very new to sandboxie. So please excuse my ignorance.

    I have the browser open inside sandboxie where I'm going to my gmail. I have an email from my son with a photo attachment. I have no trouble to consider this picture.

    However, I just found out that I couldn't save this picture on my computer HD. In sanboxie E-mail when I chose to save it in a folder in my computer HD shows like saved but when I close the browser and open my folder where I saved the photo allegedly - I can't find anything...

    So I guess that's the protection offered by sandiboxie?.  So if I need to save items of all reliable e-mails, I open my browser off sandiboxie to run my download?

    Concerning

    Snow,

    Yes, one of the goals of Sandboxie is to keep isolated... things so that, if you have accidentally downloaded a virus, he would be stuck in the sandbox [rather than infect your real system].

    Right-click on Sandboxie icon in your system tray, select Show THE WINDOW, the sandbox SAND SANBOX SETTINGS tab, DEFAULT ZONE.   On the left, click on the + sign of RECOVERY, to develop to reveal a QUICK RECOVERY.   You should see several locations of files listed there... perhaps including DOWNLOADS, DOCUMENTS, FAVORITES, or DESKTOP (even though I think some of your own peut be different).    You can add other folders of your choice.   These 'Fast food' files indicate the main areas where you want THAT Sandboxie really save files on your drive.

    It is spirit, back to your email address and see if you can direct download of your photo accessory in one of these files in particular.   When you do, you should see a popup of Sandboxie, indicating that the file is eligible for recovery, which means that it can be moved out of (side) of the sandbox.   I said in general to recover in the same folder (on my real system, as it was tyring to save in the sandbox).   And click on the RECOVER button.   If get you there, it should do the trick.

    There may be other ways to do it... but this method works for me.

    Also (now that you know where are the settings), there should be a setting to ask you to empty the sandbox when you exit the program... and it should also let you know that you have lingering there files which will be lost if saved.

    EDIT: actually, I just closed my browser sanboxed, not through QUICK-picked UP a file... and I get a screen to DELETE the CONTENTS of Sandboxie, again reminding me that I can still get the file [or well, delete the content of the Sandbox].   Certainly, it's been a while since I have set up the program, so I don't remember if it was a default option, or something I've tweaked.

    Edit2: There is a short tutorial for using Sandboxie http://www.sandboxie.com/index.php?GettingStarted , which if you have the time, elaborates on this (in parts 4 and 5 of the tutorial).

  • BlackBerry Smartphones 2 Questions: A College Web Page open and repeat a song

    Hi all!

    I looked for possible answers to these questions before posting and I found nothing. My questions are:

    1. I tried, repeatedly, to connect to my college web page (www.ccp.edu). However, I noticed that I white screen appears when you do too.

    2. while playing songs in my playlist (using Media Player of Blackberry), I noticed that there is no option that will allow me to simply repeat the currently playing song. The listed repeating option, when you press the blackberry button, only allows me to repeat the entire playlist.

    This is my first Blackberry! And if it is not perfect, I enjoyed using it so far! Please any suggestions are welcome!

    Hello and welcome!

    (1) try to get the browser storm emulates different browsers - sometimes it helps. In the browser, press the BB (the button to the right of the green phone button) and select Options. You can change BB browser here... you can also enable or disable other options that may be part.

    (2) press and hold volume low hard (on the side) for a while... it will go back the song at the beginning of this tune. (And now the volume up will qualify for the following melody.)

  • When I turn 26 FF on my laptop, I'm more able to open web pages on any browser. Help

    Whenever I update to 26 FF on my laptop I'm more able to open web pages on my laptop in any browser. If I handed my system to an earlier date, I'm good to go. Any ideas on what may happen or how to solve it? I'm not a technical person - btw

    My connection to the poster still internet connected, but I can't open web pages.

    Thank you

    Bill

    This is happening on a computer running Windows (will keep you with Mac)?

    If there is a problem on a Windows computer:

    It is possible that security (firewall, antivirus) software blocks or limit Firefox or the process of plugin-container without you inform, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox and the plugin-container in the permissions list in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

  • I can't access a Web page from ANY browser! Help.

    I tried Google Chrome, Safari and IE8, but no matter what, every Web page I try to go to, none of them appear. But I have an internet connection.

    Edit: The reason I know that I have the internet connection, because I was able to update my outdated AVG Free and I was able to connect on IMVU without problem.

    How do you know that you have an Internet connection? Please give some more information:

    1. How do you connect to the Internet? Cable? DSL? Dialup? If you have a cable/DSL modem, the lights are on?
    2 If the cable or DSL, is your computer connected directly to the cable/DSL modem or do you have a router?
    3. do not connect cable or wireless?

    4. Please do:

    Start > run > cmd [Enter]
    The command prompt opens. At the command prompt, type:

    [Enter] ipconfig/all

    We are interested in the IP address of the network adapter that you are using (ethernet cabling, wireless network to wireless), IP address of the gateway and DNS settings.

    At the command prompt, enter:

    Ping www.yahoo.com [Enter]

    You get a ping or answer expire?

    5. and finally, to give the answers to:

    The first Question of troubleshooting: If the problem is new, what has changed between the time things worked and the time they do not have?

    The second issue of Windows troubleshooting: what is the status of virus/malware of the machine? If you think it's clean, what programs (and versions) allows you to determine this?

    Make sure that the computer is clean:
    http://www.elephantboycomputers.com/page2.html#Removing_Malware MS - MVP - Elephant Boy computers - don't panic!

  • Why can not see my web page "Preview in browser"?

    When I try to open a web page with "Preview in browser" I get an internal server error message.  I can open the website normally under Firefox and Iexplorer without problem.  If I click on the test button to manage the sites/change dialog box, I get a confirmation e-mail to connect to the server. It is a recent issue. It's already worked.  Any suggestions?

    Thank you.  After reading your response, I reallized that after getting a new computer, I've been neglecting set local site after reinstallation of DW.

  • My site in the browser of centering

    Hello.
    I just finished building a Web site with a fluid layout. When I tried in the browser, it is not centered. I tried to add < Center > < / center > tags for the body of the HTML page, but it do not work... so, how can I fix it?

    your preloader will be centered because you are publishing for 100 %x 100%.  If your loaded swf file is not centered in the preloader sound because the charger you use to load is not centered.  Thus, Center your charger.

    allowing fullscreen is irrelevant.

  • The purpose of flex in the browser of centering

    I want that the flex application always remains in the center of the browser. Is it possible by changing the html flex builder generated wrapper file? If so, how?

    Just wrap the swf object in a html element

    ortag. Then Center the div or table. Use tables to arrange my sovereign wealth funds, even if I prefer to use divs. If I remember correctly, the divs don't always align the thing. Here a small example that you can tinker with:

    example of

    <>
    >




  • Unable to open web pages in any browser, but, Yes, I am connected to the internet

    Problems with my husbands laptop. So, I would like to re - format except Windows came pre-installed, and I do not have the disks.

    Network Diagnostics show a connection to internet (in fact, I can see data sent/received). But, browsers will not open.

    When I troubleshoot network connections it shows no error.

    I ran anti-virus and anti-malware (since his account to Windows live mail maintains have hacked as well) and no program found no errors.
    Windows update set to automatic and has downloaded Security patches (another reason, I know that the internet connection is fine). The important updates are installed as I write this.

    We are in an office - all computers use the same router to access the internet and other computers do not have a problem. To check if it was a wireless issue (since my office has a wired connection), I turned my phone to a WiFi only, and it can still load pages.

    What version of IE are you using? You should take a look at your Tools/Internet Options/connections/Lan Settings and see if there is a false Proxy Server configuration it. You can also take a look at your HOSTS file so that for the same sort of thing (as you have a PC in the Office working, you can compare the settings)

    I hope this helps!

  • Canvas on the screen of the browser of centering

    I tried to set up my Fireworks pages so that they look at a standard browser-centric. Under change - canvas - canvas size, I chose the "top" of the grid of 9 choices arrow.  When I export (I export to Dreamweaver), under Options, I chose Page alignment - Center.  This does not Center page. So, in the HTML in Dreamweaver, I added < p align = center > in this line:

    < body bgcolor = "#b0b0b0" onLoad = "MM_preloadImages('images/Page1_r2_c2_s2.jpg'); ' > < p align = center > but still, the page looks like never centered. Is there a way to get these pages look centered without having to enter HTML code on every page?  Thank you very much!!!   Dana

    You really need to understand a few basics if you want to develop Web sites. A site is not design, it is made from code.

    However, this is a good answer on how to place your content in the centre of a page:

    http://SimpleBits.com/notebook/2004/09/08/centering/

Maybe you are looking for