Question about centering webpage in the browser

Hi,
My page is left justified right now.
I have everything located inside of a div called container. I have a CSS rule as well. What do I need to add to the CSS rule to make the page center in the browser? Thanks.
<div class="container">stuff</div>
.container {
background-image: url(images/HOME-PAGE-BOAT.jpg);
background-repeat: no-repeat;
background-position: center top;
height: 900px;
width: 1260px;

For reference, margin:0 auto; is shorthand for
     margin-top:0;
     margin-right:auto;
     margin-bottom:0;
     margin-left:auto;
Not quite sure why it pushed it to the right.
EDIT:// Re:Background image. I would put the image on the <body> or <html> tag which won't have this problem. This link might offer some guidance for a possible solution.

Similar Messages

  • A question about fiting movie in the browser

    Hey!
    Im wondering how you get your movie file to cover the whole
    browser window, cause even when i have a pic covering the whole
    stage in flash it dosent cover the whole window in the browser.
    hope someone can help me with this prob.
    thx for you time

    When you first set up the New Flash movie, go to
    modify/document/demension
    properties. The settings here set up the size of your movie.
    When you publish, under the html tab, change your demensiont
    to 'percent'
    and make each 100%
    You'll have to experiment both of these settings.
    "korubana" <[email protected]> wrote in
    message
    news:egu5eg$nb1$[email protected]..
    > Hey!
    >
    > Im wondering how you get your movie file to cover the
    whole browser
    > window,
    > cause even when i have a pic covering the whole stage in
    flash it dosent
    > cover
    > the whole window in the browser.
    > hope someone can help me with this prob.
    >
    > thx for you time
    >
    >
    >

  • Question about Kurts comments discussing the seperation of AIA & CDP - Test Lab Guide: Deploying an AD CS Two-Tier PKI Hierarchy - Kurt L Hudson MSFT

    Question about the sentence in bold. What is the meaning behind this comment?
    How would you separate the role of the AIA and CDP from a CA subordinate server? I can see where I add a CES and CEP server which has those as well, but I don't completely understand his comment. Because in this second step, (http://technet.microsoft.com/en-us/library/tlg-key-based-renewal.aspx)
    he shows how to implement CES and CEP.
    This is from the guide located at: http://technet.microsoft.com/library/hh831348.aspx
    Step 3: Configure APP1 to distribute certificates and CRLs
    In the extensions of the root CA, it was stated that the CRL from the root CA would be available via http://www.contoso.com/pki. Currently, there is not a PKI virtual directory on APP1, so one must be created.
    In a production environment, you would typically separate the issuing CA role from the role of hosting the AIA and CDP.
    However, this lab combines both in order to reduce the number of resources needed to complete the lab.
    Thanks,
    James

    My concern is, they have a 2-3k base of xp systems, over this year they are migrating them to Windows 7. During this time they will also be upgrading hardware for the existing windows 7 machines. The turnover of certificates are going to be high, which
    from what I've read here, it worries me.
    http://blogs.technet.com/b/askds/archive/2009/06/24/implementing-an-ocsp-responder-part-i-introducing-ocsp.aspx
    The application then can go to those locations to download the CRL. There are, however, some potential issues with this scenario. CRLs over time can get rather large
    depending on the number of certificates issued and revoked. If CRLs grow to a large size, and many clients have to download CRLs, this can have a negative impact on network performance. More importantly, by
    default Windows clients will timeout after 15 seconds while trying to download a CRL. Additionally,
    CRLs have information about every currently valid certificate that has been revoked, which is an excessive amount of data given the fact that an application may only need the revocation status for a few certificates. So,
    aside from downloading the CRL, the application or the OS has to parse the CRL and find a match for the serial number of the certificate that has been revoked.
    With the above limitations, which mostly revolve around scalability, it is clear that there are some drawbacks to using CRLs. Hence, the introduction of Online Certificate
    Status Protocol (OCSP). OCSP reduces the overhead associated with CRLs. There are server/client components to OCSP: The OCSP responder, which is the server component, and the OCSP Client. The OCSP Responder accepts status
    requests from OCSP Clients. When the OCSP Responder receives the request from the client it then needs to determine the status of the certificate using the serial number presented by the client. First the OCSP Responder determines if it has any cached responses
    for the same request. If it does, it can then send that response to the client. If there is no cached response, the OCSP Responder then checks to see if it has the CRL issued by the CA cached locally on the OCSP. If it does, it can check the revocation status
    locally, and send a response to the client stating whether the certificate is valid or revoked. The response is signed by the OCSP Signing Certificate that is selected during installation. If the OCSP does not have the CRL cached locally, the OCSP Responder
    can retrieve the CRL from the CDP locations listed in the certificate. The OCSP Responder then can parse the CRL to determine the revocation status, and send the appropriate response to the client.

  • Question about Setting Window Title/the use of AVWindowSetTitle()

    Hi everyone,
    I have a question about setting the title of the window in which the Acrobat viewer normally opens a PDF file.  The documentation states that AVWindowSetTitle() cannot be used in this case.  However, using it has worked with versions of Acrobat/Reader up until and including version 8.
    Everything breaks down starting with Acrobat 9.
    According to the documentation I am supposed to do the following: "To set the title of a window in which the Acrobat viewer opens a PDF file, you must replace AVDocOpenFromASFileWithParams() and pass the window title in tempTitle."
    Unfortunately, there are 2 problems I have with this approach:
         I do need to be able to change the document title on document Save, not only on document Open
         I do not know what AVDocOpenFromASFileWithParams() implementation has to look like if I have to replace it using HFTReplaceEntry().
    Is there a sample customized implementation of AVDocOpenFromASFileWithParams() somewhere that I could take a look at?
    Is there a way to change a document Title inside Acrobat/Reader window after a Save operation?
    Thanks a million,
      Lana2010K

         I am sorry.  I don't know how you tested this and came to conclusion that this works correctly in Acrobat X.
         I just tested our Acrobat plug-in with a trial version of Acrobat X and this did not work.
         When we open a file in Acrobat (doing it ourselves in the plug-in by adding another specialized open) we set the window title to something different from the default file name.  Then if a file gets edited and saved (File->Save), the window title gets reset to the file name. In the PDDocDidSave callback we call AVWindowSetTitle() to set it back to a more descriptive window title we need.  This has worked up until and including Acrobat 8, but does not work in either version 9.0 or 10.0.
         Also, I just modified the plug-in code to always change the Window Title of every document (even if opened through native File->Open) on document Save.  It does not work.
         Please help,
              Lana2010K

  • Question about Removing Permissions from the System Folder with chmod

    Hi
    I have a question about the removal of permissions from the System folder (and sub directories and files).
    Background
    Since installing a new HD, clean install of 10.6, application of updates and moving over backed up user directories I have had several issues with permissions.
    I have read several threads on this and using disk warrior and other tools I have been able to fix most of the issues.
    The Problem
    The issue that remains is a permissions check using Disk Utility keeps reporting
    ACL found but not expected on "System".
    followed by an extensive list of sub directories and all.
    Attempts to repair take hours and the same errors are reported.
    Found Solutions
    I have read about changing and/or completely removing the ACL from the permissions from the System using two different commands:
    sudo chmod -R -N ./System/* ( to remove all ACLs)
    or
    sudo chmod -R -E ./System/* ( to replace all ACLs )
    My Question is ( to the UNIX gurus):
    What is the difference between the usage with -E and -R and which is the best approach for a Systems directory and (subordinates)?
    Many thanks!!

    OK
    So I misread on the your instructions about the PW reset, did it, no harm in that. I did also select the options to reset all the permissions for all the accounts and the ACL issues were not resolved. My bad, I forgot to note that.
    You do suggest getting and expert opinion but alas these are rather elusive. In most cases the Apple solutions is to do a complete reinstall... I have found that unless you completely wipe a drive and rebuild everything there are often artifacts left behind. Since I have full and redundant back-ups I would rather explore and hack a little instead of a dull old system reinstall. The irony is the system issue I had was it was the result a reinstall and combo update on a new drive. I recognize the risks of entering the realms of the System folders but I am willing to explore knowing full well that I have a path to recovery.
    Thanks again for your insights. I come to the forums looking for insights and ideas but not a lecture...

  • Basic question about accessing card reader from browser

    Hi,
    I am very new to card technology. I have a very basic and general question not directly related to java cards.
    I need to write a web application that allows the user to read a card with a card reader.
    For that I maybe need to write an applet that has to access a native DLL and call methods
    to get the card ID. I already have that DLL (written in Delphi) that reads multi-technology cards.
    Then pass that ID to the application server to retrieve complete information
    about the card holder and display them on the user browser.
    Please could someone guide me on useful resources for that kind of development, for example
    already existing developments, personal experience, design solutions ?
    Thanks.
    Adriano

    Hi Joseph,
    One thing I forgot to tell is that I work with contactless cards and readers.
    Contactless cards use radio frequency. Despite this fact, the problem stays the same. I already have a Delphi DLL that reads contactless cards.
    What I need is a way to retrieve card holder information from a client browser. The card contains a unique ID. My idea is to use an applet that reads that ID on the client-side and then calls a servlet on the server-side to retrieve holder information associated with that ID, i.e. first and last names, and finally displays them on the client browser.
    So the card contains only the unique ID, a database on the server-side contains all other related data.
    Technically the applet has to call the DLL via JNI.
    Do you think that using an applet that way is a good solution, do you see simpler solutions, is there security issues ?
    Thanks.

  • Question about versioning (history) in the latest release

    Hallo,
    Some questions:
    1. Will versioning ever be integrated with locked pages, locked scene, colored pages, revision marks functionality etc, so that at a particular moment you can optionally augment the current versioning with the more traditional way of production revision cycles?
    2. If above will not be the case (or is never activated): what currently happens with scene numbers & manual breakdown info that is already added, but than the scene gets deleted.  Is all this info gone (& scenes renumbered).  Can we save a version to keep this info?  Please clarify.
    3. Regarding breakdown of elements: will there be a way that we can visualize breakdown sheets on screen.  It's much easier for me to look at it that way, e.g. the Scenechronize way (I guess I'm old).
    4. Regarding breakdown and making the script 'production ready', will there be a way to combine scenes that belong together and part scenes (that are not in the same shooting location but where the writer chose to combine the action in one scene, eg like telephone conversation etc).
    I guess all my questions boil down to this: will Story also aim to offer serious production breakdown features that could be used by production managers & assistant directors to prep for physical production, or will it mainly be a collaborative writing tool (even if it does allow you to transfer text into On Location shotlists and then eventually into your clips). 
    I guess there's a conceptual difference (at least when talking about narrative film with a lot of cast, locations, props etc): do you support mainly the writing effort and than transfer into a tool like Scenechronize once production starts - or do you go further? For  (corporate) interview type shoots this matters less.
    I would be interested to hear your views on the matter.
    Regards,
    Bavo

    Yes. Versioning will be integrated with locked pages, colored pages but we are not planning to lock scenes yet. We will also show asterix against changed lines in future updates.
    You can always explicitly save a version (file->save as) to mark a checkpoint draft. You can add your own comments while saving this draft so that you can find it later.
    We'd like to support production related features because we want to leverage script metadata for all it can be leveraged for. That said, "full fledged" is a loaded term. We will take small steps and enable workflows related to production as we go along. Dynamic breakdown reports, that can be viewed and edited in Story are on our roadmap.
    --Anubhav

  • Question about Software Updates in the Netherlands

    Hello all,
    ! am new to the Netherlands and plan to buy the Lumia 1020. I have a question regarding FW updates over here:
    Which network delivers the fastest updates generally or does the un-locked (country specific) phone get it first?
    Also, if i choose to buy the phone on contract here, after the expiry of the contract, do i have to unlock the phone or will the provider do it for me? (Assuming that the phones are locked to the network in the first place, if not, please let me know!)
    PS: I come from India, where we don't have phones on contracts and also receive updates very quickly!

    hi mate,
    generally if you want to free yourself from the constraints of networks, your best bet is to purchase an unlocked, unbranded handset from in-store or online. bear in mind that if you buy a handset from origin of another country in the EU, the warranty will still apply, but buy a 1020 that has a product code from outside the EU, then the warranty won't apply. something to be careful about.
    as for operators delivering updates faster than others, this varies between updates, and really noone is able to predict this. as for the unlocking, that is between you and your network carrier, Nokia has nothing to do with this.

  • Question about filter-mappings in the web.xml

    I'm a bit new this so apologies if this is a stupid question but want to write a filter mapping that captures /image/<identifier here> and /image/<identifier here>/size/<size here>
    I would have assumed <url-pattern>/image/*</url-pattern> would do this but it doesn't. When I try a URL with /size/ in it, I get a File not found error.
    So I tried adding a second mapping that uses <url-pattern>/image/*/size/*</url-pattern> and that doesn't work either.
    What would be the best way to write a filter mapping that captures both /image/<identifier here> and /image/<identifier here>/size/<size here> ?

    Thanks for the reply.
    I did end up doing something like that in the end. I think I just couldn't get my mind into gear as usual on Monday.
    What's happening is taking a nice neat human readable URL and converting it to the horrible URL used by the system. The reason it's a filter is because someone had written a tiny filter would might only execute 20 lines of code and I think someone felt it was easier to just lump about 240 more lines to execute on each request, which, even if it isn't a huge strain on the system it's nasty and most of the code is unnecessary the vast majority of the time. I'm splitting it up the whole lot based on the various tasks.
    This particular functionality could be a servlet. I probably would have done it that if given the task from scratch but I think sometimes I put too much faith in the fact those with more experience should know better. I think I'll try it as a servlet and if someone has concerns about it then I'll ask them to explain to me why it can't be one.

  • Questions about Objects, pointers, and the memory that loves them

    Hey,
    This is all just a theoretical discussion so do understand that the code itself is not germane to the topic.
    I have been mulling over the whole object release/retain/copy thing and need to understand a bit more the real inner workings of the beast. The catalyst for this is the repetitional fervor that most books on the subject of Objective C have employed. Yet they all seem to fail in a complete explanation of the whys and wherefores so that one can determine on her own the correct implementation of this.
    Let's say I have an Object. For the fun of it it is an instance of NSObject and we'll call it myObject.
    When I "create" this object thusly:
    NSObject *myObject = [[NSObject alloc] init];
    What I, in fact get back is a pointer to the object in question, yes?
    So when I "seemingly" add this object to an array like:
    NSArray *myArray = [[NSArray alloc] initWithObject:myObject];
    What is actually placed in the array? is it another pointer to the original object created by myObject or is it a pointer to the pointer of myObject?
    The reason I ask this is because I have run into a situation where some previous instructions on the subject have caused errors. I was told that if I did something like this and then passed the array to a calling method that I could release this array and it would then be the responsibility of the calling method to handle the memory. Further more if I place an object into an array and then copy it into another object of the same type as the original then I could release the array and still have the reference to the first object in the second object. When I have done this I get unpredictable results, sometimes the original object is there and sometimes it isn't
    At what point should I release the array, after it is passed to the calling method (with the use of an autorelease) or when the class that it is encapsulated in is done?
    Sorry about the length of this but I can't believe that I would be the only one that would be helped by such a discussion.
    MM

    etresoft,
    Thanks for the detailed reply. I wish I could say that I wasn't still a bit confused by this. I thought I had this down after going through the lessons. It seems to not be working in practice the way that it works in theory.
    My current project is an example
    In a class I have declared a couple of ivars thusly:
    NSMutableString *source;
    NSMutableString *destination;
    @property (nonatomic, retain) NSMutableString *source;
    @property (nonatomic, retain) NSMutableString *destination;
    This is followed by the appropriate @synthesize directives.
    in the init method for my class I have the following:
    source = [[NSMutableString alloc] initWithString:@"customer"];
    destination = [[NSMutableString alloc] initWithString:@"home"];
    in a method triggered by a button click I have the following:
    if (sender == sourcePop){
    source = [sourcePop titleOfSelectedItem];
    }else{
    destination = [destinationPop titleOfSelectedItem];
    NSLog(@"SOURCE-%@", source);
    NSLog(@"DESTINATION-%@", destination);
    When I run the code and change the source selection the console reads the correct value for what is in the source popupbutton and "home" for the destination. If I then change the destination popupbutton I get a crash and nothing written to the console.
    Placing a breakpoint at the beginning of the "if" and running shows me that just before the crash the source ivar is reported as "out of scope." There are no release or autorelease statements for this ivar anywhere in the class. Yet if I change the line that sets the ivar to the value of the popupbutton to this:
    [source = [sourcePop titleOfSelectedItem] retain];
    The debugger will have the correct value for the ivar and when run normally there is no crash.
    I would assume that the problem is that the ivar is being released but I am not the one releasing it. Why does this behavior happen? Shouldn't the retain count still be 1 since the @property directive has it and there is no release in the code? Or is it that the statement that sets the ivar to the value of the popup really just setting it to the pointer and it is the popup that is somehow being released?
    Is there something else that I should be doing?
    MM

  • Question about 74GB Raptor and the ubiquitous "F6"

    Hey All,
        I just installed my raptor and Windows XP, then SP2, etc.  without any problems.  I didn't press F6 before the Windows install.  I'm rather disappointed with the speed of the Raptor given all the good reviews I've heard about its speed.  Everything works pretty well and Windows identifies the HD.  I've installed it on SATA3 in case I want to overclock.  Anyway, my question is:  Would reinstalling Windows but doing the whole "F6" SATA Driver install help to improve performance?
    Here's my speed test results from Device Manager:
    Theoretical Limit: 150
    Burst Speed: 113.4
    Sustained Speed: 71.3
    HD is listed as WDC WD740GD-00FLA2
    I have the nVidia nForce3 250 Parallel and Serial ATA Controller (v2.6) listed.  I have installed newest nForce Drivers.  Should I enable Command Queing?  Any BIOS options that would help?   Thanks!
    AMD Athlon 64 3500+  90nm Micron
    MSI K8N Neo2 Platinum
    WD Raptor 74GB
    ATI Radeon 9800 XT
    512 MB PC3200 Corsair at 2.5-3-3-6

    Anyone notice performance increase or decrease of their HD when using the nVidia IDE SW drivers?  particularly with a 74GB Raptor?  I've also heard of burner issues when installing the IDE SW but have not used my burner yet.

  • A question about thread safety and the Acrobat SDK

    Hi All,
    On page 12 of this FAQ: http://www.adobe.com/devnet/acrobat/pdfs/Acrobat_SDK_developer_faq.pdf
    It says that Use of any Acrobat product in a multithreaded way is technically impossible.
    I'm currently writing a command line application to perform some basic data gathering on a PDF file. The Application only makes use of a PDDoc object, and never calls on any other kind of object (i.e. AVDoc).
    The application itself is not multithreaded. All of the logic runs in a single thread.
    However, the application will be called (via the command line) from another application that /is/ multithreaded. I think that this might be fine, but I wasn't sure. In this case, would this count as a single thread, but spread across multiple processes? And if that is the case, would that be OK with the SDK?
    Or would having multiple invocations/calls into the Acrobat DLLs cause the same issue as a multi-threaded application?
    Unfortunately, I haven't done a lot of work with threads before. This might be a very silly question.

    The application would be called from a perl script that is used to automate several tasks. The app is a console application, written in C# w/ the Acrobat COM components, and Visual Studio 2005.
    The console application uses the Acrobat SDK to instantiate a PDDoc object, open a PDF, and get information about the document. It then returns results back to the console.
    So, the perl script just calls: "C:\pdfinfo.exe -f=myPdf.pdf" and pipes the result to a log file.
    In this case, it never creates a new instance of the Acrobat application, but it does use the SDK.
    The reason that I was concerned was that the perl script is multi-threaded. I wasn't sure if acrobat was just sensitive to multiple threads inside a single process, or if it was unable to handle multiple processes as well.
    PDL's answer suggests that I should be fine as long as a new process is started each time. This is good to hear.

  • Quick Question about Cisco 3560 and the Web Device Manager

    Alright, I have a quick question that I am curious about but I haven't found any information
    about it.
    When I log into my Cisco 3560 using the web portal to get to the Device Manager. Below the
    diagram of the switch, then under the Dashboard there is section called Switch
    Health, Port Utilization.
    Under the Switch Health there is Bandwidth Used, Packet Error. Those two options just sit
    at zero and do not move. The Port tilization graph is also sitting at zero.
    Is there a way to make them functional?

    Anyone notice performance increase or decrease of their HD when using the nVidia IDE SW drivers?  particularly with a 74GB Raptor?  I've also heard of burner issues when installing the IDE SW but have not used my burner yet.

  • Question about secuting connection to the database

    Hi.
    I need to fix an Oracle Consulting custom solution that became incompatible with the new version of the application.
    What's the catch:
    this solution is basically a SQL*Plus script that resides on the filesystem and performs a bunch of commands to generate and load data from Views.
    My difficulty with this is that one of those commands is a CONNECT.
    I'm concerned about the security implications of performing an "open connect" via SQL*Plus command like this.
    My questions are:
    1) Is there a way to secure the SQL*Plus session so that its commands are not visible via a Trace or something else?
    2) What's the best way for me to perform that CONNECT command in a secure way, so that the user and password do not become visible?
    Thank you.

    I do not see the problem.. SQL*Plus is a client like any other client. VB. Java. Delphi.
    Such clients will also make use of a connect string to Oracle. In some cases they will prompt for username and password from the end-user - assuming Oracle schema authentication is used. In many cases they will automatically (via an internal hardcoded connect string) connect to an app schema and then use a USERS table to authenticate the end-user (and thus not use Oracle security).
    The biggest concern in this case is making this connect string visible. EXEs and DDLs can be dumped and ASCII strings extracted - and with it, potentially hardcoded username and passwords.
    In case of a SQL*PLus script, this is in clear text in the actual script itself. But unlike a VB EXE that runs in the wild (on some client PC somewhere), I would assume that in your case this maintenance process runs from a secure o/s account on a server.
    In that case, all that is needed to revoke read/write access to that script from all other o/s users on that server.
    Of course, this assumes that the actual SQL*Plus script uses the CONNECT command and not the sqlplus command line - as command line switches are visible via process monitors.
    Another option is not to use Oracle schema authentication for that maintenance process, but o/s authentication. In which case only that o/s user can logon to that schema and execute code. Thus no username and password to protect as the o/s account itself provides the protection.

  • Questions About Pre-Ordering/Reserving the iPhone 4?

    I know on June 15th you can pre-order/reserving an iPhone 4. I am a bit unfamiliar with the pre-ordering process.
    If you can pre-order and pick it up in the stores, does that only mean it guarantees you one on launch day? Also on launch date will there be a separate lines for pre-orders and non-preorders? (So pre-orders go in the store first?)
    And if you reserve the iPhone 4 in store pick-up, do you have to pay the whole thing, or just put a certain amount down?
    I doubt if anyone knows this question.
    What time do Apple Stores open when the new iPhone 4 comes out? I bought my iPhone 3GS last year at launch at AT&T and they opened at around 7 I think, which I read is the same this year.
    I'd rather deal with Apple. Do they open around 7 A.M to too?

    rather not deal with the crazies and people, id order online and get it shipped to my front door. check with your local Apple store for business hours. i remember att opening a little earlier on launch day for the 3GS, idk about Apple though? id asume both will run it alot smoother for everyone.

Maybe you are looking for

  • 5800 freezes on start-up and doesn't recognise ser...

    hi, i have a 5800 XM which i got from vodafone last year.   I have a problem when starting up the phone.  First the vodafone start-up screen/symbol doesn't come up. then the phone manages to load the main screen but it has no vodafone symbol, no sign

  • Image not printing in CS5

    I have a strange issue with my Epson R3880 printer:  when I make up a composite image in Photoshop CS5 12.0.4 by cutting and pasting from various other images (then flattening the layers), I cannot get it to print although the printer goes through th

  • How do I download trial adobe acrobat?

    All I am trying to do is to try the adobe acrobat trial before making a decision to purchase it.  So far, I am simply getting a ton of other prompts.

  • Can not attach library for use OC4J

    Hi, I am new to Oracle designer and have go to the point where I am trying to run a form I generated in Oracle Designer but the error I keep having is FRM-40039 cannot attach library - I get this for four libraries that are attached to the form; OFGC

  • My licensing says its not working (ERROR 6

    when I try to open my Premiere, it just doesn't open, work or response, and when I try to open photoshop elements, it just says "licensing for this product has stopped working"  what do I do?