Centering content with in a division

Hello,
I would like my table centered with in my body div here: http://www.yourboc.com/feb/john.sample_5
Can you see why it is not working?
Thanks.

Add the below to your main css stylesheet:
table {
margin: 0 auto;

Similar Messages

  • Spry Tabbed panels + Progressive Enhancement and Dynamic Loading of Content With Spry

    Is there any way to combine tabbed panels together with "Progressive Enhancement and Dynamic Loading of Content With Spry"?
    Visit: http://labs.adobe.com/technologies/spry/articles/best_practices/progressive_enhancement.ht ml#updatecontent
    And click on the "Using Spry.Utils.updateContent()"
    The 3rd example shows how to use a fade transition whenever the content changes.
    I already have tabbed panels. My menu contains buttons (on tabs) and my Content div contains the panels.
    Tabs code;
    <ul class="TabbedPanelsTabGroup">
              <li class="TabbedPanelsTab">
                   <table class="Button"  >
                        <tr>
                        <td style="padding-right:0px" title ="Home">
                        <a href="javascript:TabbedPanels1.showPanel(1);" title="Home" style="background-image:url(/Buttons/Home.png);width:172px;height:75px;display:block;"><br/></a>
                        </td>
                        </tr>
                   </table>
              </li>
    etc
    etc
    etc
    and the panel code:
    <div class="TabbedPanelsContent" id="Home">
         CONTENT
    </div>
    I hoped i can use the example code from the link into my tabbed panels.
    I thought this code:
    onclick="FadeAndUpdateContent('event', 'data/AquoThonFrag.html'); return false;"
    could be added to the tab code like this:
    <a href="javascript:TabbedPanels1.showPanel(1);" onclick="FadeAndUpdateContent('event', 'data/AquoThonFrag.html'); return false;" title="Home" style="background-image:url(/Buttons/Home.png);width:172px;height:75px;display:block;"><br/></a>
    But the content doesnt fade...
    I know i need to change the header etc.
    The following is from the link:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Aquo Events</title>
    <script src="../../../includes/SpryEffects.js" type="text/javascript"></script>
    <script src="../../../includes/SpryData.js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    function FadeAndUpdateContent(ele, url)
    try {
         Spry.Effect.DoFade(ele,{ duration: 500, from: 100, to: 0, finish: function() {
              Spry.Utils.updateContent(ele, url, function() {
                        Spry.Effect.DoFade(ele,{ duration: 500, from: 0, to: 100 });
    }catch(e){ alert(e); }
    -->
    </script>
    <style type="text/css">
    /* IE HACK to prevent bad rendering when fading. */
    #event { background-color: white; }
    </style>
    </head>
    So i changed my header etc, put the SpryEffects.js and SpryData.js into position and nothing changed...
    Is there a way to keep my tabbed panel (or change as less as possible) and let
    A. The fade work
    B. The loading work.
    The problem now is that it loads all pages instead of only the home. Therefore i wanted this Progressive Enhancement.
    And the fading part is just because its nice...

    It doesnt show in the post but off course i changed this link;
    "data/AquoThonFrag.html"
    into;
    "javascript:TabbedPanels1.showPanel(1);"
    I must say i dont know if this even works...

  • Can I share my iTunes content with my kids new iPod touch ?

    Can I share my iTunes content with my kids new iPod touch ?

    yes, if you activate home sharing
    Also, you could sync your kids iPod Touch to your iTunes.

  • How do i share content with my family without becoming responsible for payment of everybody's purchases? with familysharing i mean, not home sharing

    how do i share content with my family without becoming responsible for payment of everybody's purchases?
    with familysharing i mean, not home sharing
    i have set up a familyshare for my parents and 3 siblings, all mid twenties. everybody is used to paying their own way. how do i make that continue to be the case and still keep the sharing facility open?
    e.g I don't want to pay for my sisters' music purchases - half of it i don't like - but would like access to it now and then.

    -> Home Sharing is different than logging into the iTunes store.
    You enable Home Sharing using one AppleID. Doesn't matter which you use but all devices must use the same AppleID for Home Sharing.

  • How can I share my purchased content with my grand kids on their new iPad?

    I purchased a lot of videos and games for my grand kids on my iPad.  I just gave a new iPad Air for Christmas to my daughter and son-in-law and I want to share all that content with my two grand babies (sync it on their new iPad) so they can enjoy it anytime.  We're not sure if my daughter and son-in-law should set up their new iPad under my own Apple ID or if there's a way for us to sync the shared content on their new iPad under their own new Apple ID.

    yes, if you activate home sharing
    Also, you could sync your kids iPod Touch to your iTunes.

  • How do I stop 10.9 caching servers sharing content with other peers?

    We have a problem on a school district network where Mac Servers are sharing their caching content with their registered peers. We have set MaxPeersToQuery to 1 but can't set that value to Zero. We have tried PeerRangeFilters array but that doesn't work either. Apple documentation seems to include a double negative. We have no access to the network, that is controlled by the Local Authority. We just need a Mac Server within a school to only serve the local subnet (The option is ticked) and not query any peers for assets. Any help appreciated.

    What was the values you set for PeerRangeFilters?  Based on the documentation, this sounds like it should be able to provide what you are looking for. 
    But it sounds like you are trying to control two different things here.  It sounds like you want to make clients from each subnet access the subnet's server.  That can be accomplished by using the ListenRange key on each server.  For example, if you have a server on a 172.16.0.0/24 you can define that server to listen only to client requests from that range.  Then your server on 172.16.1.0/24 can be configured to listen on that subnet range.
    The second thing you are trying to limit is the sharing across the servers based on peer sharing.  I have not attempted this before but the PeerRangeFilter sounds like the right thing.  Share what you configured.
    R-
    Apple Consultants Network
    Apple Professional Services
    Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store.

  • Error in loading Portal Content with IE

    Hi,
    I have some problems with customization of Sap Portal, maybe someone can help me
    with some informations.
    I am using Sap Netweaver Portal 7.0 with IE 6.0.2900 SP2 and Mozzila Mozilla/5.0.
    When I try to display Content Administration -> Portal Catalog with IE I have one
    error(after a long period of "Loading..."):
    Error: Object required - and the Portal Content is not displayed at all .
    In this way, I don't have acces to Portal Content with IE.
    I also tried with other browsers (Opera, Netscape, Lotus) but there is the
    same issue.
    In Firefox, the Portal Content it's displayed, but there is another issue:
    I open a Role object and I try to Edit it's properties: these aren't displayed
    in the right corner of the screen. I checked in the Error Console of Firefox
    and there is a JS err: event is not defined: error in roleeditor.js
    In this way I am not able to handle any issue regarding Portal Content.
    Maybe some of you, guys, had this problem or have any idea about solving it.
    Thanks.
    Edited by: Andreea Melinte on Nov 21, 2008 3:02 PM
    Edited by: Andreea Melinte on Nov 21, 2008 3:03 PM

    Yes, the error appears when you access the portal with the IP address which should not be the approach.
    Use the domain name instead ... i.e hostname.domain.com:portnumber.

  • Catch all error information while validating xml content with xsd schema

    Hi experts,
    I created a java mapping to validating the input xml content with xsd schema (schema validation). What I want is to catch all error message to the xml not just the first error. I used SAXParser in sapxmltoolkit.jar to do the schema validation. The below is a part of my java mapping.
    XMLReader parser = XMLReaderFactory.createXMLReader("com.sap.engine.lib.xml.parser.SAXParser");
    parser.setFeature( "http://xml.org/sax/features/validation" ,  true);
    parser.setFeature( "http://apache.org/xml/features/validation/schema" , true);
    parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");          parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaSource",this.getClass().getClassLoader().getResourceAsStream(schema)); // schema is my schema name
    parser.setErrorHandler(new ParseErrorHandler()); // ParseErrorHandler is my own ErrorHandler which extends DefaultHandler
    parser.parse(new InputSource(new ByteArrayInputStream(sinput.getBytes())));
    // In error handler, I comment all code so as not to throw any exception
    public class ParseErrorHandler extends DefaultHandler
         public void error(SAXParseException e) throws SAXException
              // sSystem.out.println("Error" + e.getMessage());
              // throw e;
         public void fatalError(SAXParseException e)
              // throw e;
              // System.out.println("SAP Fatal Error" + e.getMessage());
    Unfortunately the program always stopped while catching the first error. Check the below log.
    com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException:
    ERRORS :
    cvc-simple-type : information item '/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]/:CityName[1]' is not valid, because it's value does not satisfy the constraints of facet 'minLength' with value '1'.
    cvc-data : information item '/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]/:CityName[1]' is is not valid with respoct to the corresponding simple type definition.
    cvc-element : element information item '/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]/:CityName[1]' is associated with invalid data.
    cvc-element : element information item '/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]' is not valid with respect to it's complex type definition..
    cvc-element : element information item '/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]' is not valid with respect to it's complex type definition..
    cvc-element : element information item '/:ShipNotice[1]/:Header[1]/:To[1]' is not valid with respect to it's complex type definition..
    cvc-element : element information item '/:ShipNotice[1]/:Header[1]' is not valid with respect to it's complex type definition..
    cvc-element : element information item '/:ShipNotice[1]' is not valid with respect to it's complex type definition..
    -> com.sap.engine.lib.xml.parser.ParserException:
    I tried using Xerces and JAXP to do validation, the same error happened. I have no idea on this. Does xi has its own error handler logic? Is there any body can make me get out of this?
    Thanks.

    <h6>Hi experts,
    <h6>
    <h6>I created a java mapping to validating the input xml content with xsd schema (schema validation). What I want is to catch all <h6>error message to the xml not just the first error. I used SAXParser in sapxmltoolkit.jar to do the schema validation. The below <h6>is a part of my java mapping.
    <h6>XMLReader parser = XMLReaderFactory.createXMLReader("com.sap.engine.lib.xml.parser.SAXParser");
    <h6>parser.setFeature( "http://xml.org/sax/features/validation" ,  true);
    <h6>parser.setFeature( "http://apache.org/xml/features/validation/schema" , true);
    <h6>parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");          <h6>parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaSource",this.getClass().getClassLoader().getResourceAsStream(schema)); <h6>// schema is my schema name
    <h6>parser.setErrorHandler(new ParseErrorHandler()); // ParseErrorHandler is my own ErrorHandler which extends Default Handler
    <h6>parser.parse(new InputSource(new ByteArrayInputStream(sinput.getBytes())));
    <h6>
    <h6>// In error handler, I comment all code so as not to throw any exception
    <h6>public class ParseErrorHandler extends DefaultHandler
    <h6>{
    <h6>     public void error(SAXParseException e) throws SAXException
    <h6>     {
    <h6>          // sSystem.out.println("Error" + e.getMessage());
    <h6>          // throw e;
    <h6>     }
    <h6>
    <h6>     public void fatalError(SAXParseException e)
    <h6>     {
    <h6>          // throw e;
    <h6>          // System.out.println("SAP Fatal Error" + e.getMessage());
    <h6>
    <h6>     }
    <h6>
    <h6>}
    <h6>
    <h6>Unfortunately the program always stopped while catching the first error. Check the below log.
    <h6>
    <h6>com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException:
    <h6>ERRORS :
    <h6>cvc-simple-type : information item <h6>'/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]/:CityName[1]' <h6>is not valid, because it's value does not satisfy the constraints of facet 'minLength' with value '1'.
    <h6>cvc-data : information item <h6>'/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]/:CityName[1]' <h6>is is not valid with respoct to the corresponding simple type definition.
    <h6>cvc-element : element information item <h6>'/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]/:CityName[1]' <h6>is associated with invalid data.
    <h6>cvc-element : element information item <h6>'/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]' <h6>is not valid with respect to it's complex type definition..
    <h6>cvc-element : element information item <h6>'/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]' <h6>is not valid with respect to it's complex type definition..
    <h6>cvc-element : element information item <h6>'/:ShipNotice[1]/:Header[1]/:To[1]' <h6>is not valid with respect to it's complex type definition..
    <h6>cvc-element : element information item <h6>'/:ShipNotice[1]/:Header[1]' <h6>is not valid with respect to it's complex type definition..
    <h6>cvc-element : element information item '/:ShipNotice[1]' is not valid with <h6>respect to it's complex type definition..
    <h6> -> com.sap.engine.lib.xml.parser.ParserException:
    <h6>
    <h6>
    <h6>I tried using Xerces and JAXP to do validation, the same error happened. I have no idea on this. Does xi has its own error <h6>handler logic? Is there any body can make me get out of this?
    <h6>Thanks.

  • Linking table of contents with pages 5.0

    I write some help-books for friends and the family.
    I wrote down everything I need and I've created a table of contents with page numbers.
    Now you can push the numbers behind the headings and you are automatically on the right page for reading the text. (In Pages document)
    In pages 5.0 these things are still working fine, but....
    When I export the document into a pdf, you can't push/touch the headings and the numbers behind there headings.
    With the old pages, after exporting the document into a pdf, you could import it into iBooks on the iPad. In iBooks now you can touch a heading and you'll get on the right page.
    That was realy helpfull, 1 click and you could read the text on which you're interested.
    But with the new pages 5.0 this feature is deleted... or I do something wrong.
    Could anyone of you help me for getting this feature back, if I do something wrong?

    Well there is a standard body for EPUB - http://idpf.org/epub
    And, Apple furnishes the TEMPLATE - the Pages 09 TEMPLATE - automatically (supposedily) makes the TOC links which - then - you can export to EPUB.
    Again, the problem I'm daling with is that the Kindle for the iPad, does not see the TOC. It des see it in the Kindle Softward for the Mac - which is different - for some reason. I have authored two books on Pages but Amazon converts my EPUB file to fit the Kindle device itself.

  • How can I resize a pdf page content with annotations and highlights in Acrobat Pro?

    How can I resize a pdf page content with annotations and highlights in Acrobat Pro while maintaining page size and annotation/highlight interactivity? I've tried to use the crop tool in Acrobat Pro (9) and the page does resize, but the highlights and annotations go all over the place. I specifically need to scale the page content smaller (83%) but maintain page size and annotation/highlight to content connection and interactivity.

    An old trick (not recommended) would be to print to a new PDF with the page size selected but a scaling of the content. Only print the document, not the markup, to a new PDF. Close that PDF when done and reopen the old one (or maybe a copy of the old one for safety) and use Document Replace pages and select the new document to replace your current pages. You will then have to go back through the markup to locate it all correctly. There may be a more elegant way, but this may be the fastest.

  • BI content with folder structure in portal Content Area

    HI Dear Friends,
    I have  a requirement in my current project where i am integrating the BI reports with SAP EP.Iviews are associated with BI Reports.In the portal on clicking workset it should display folders in the portal content area with Icons instead of in Detail navigation .On click of the displayed folders it should display its sub content with Icons.
    I tried in all ways but later i came to know there there is a SAP BI business package which would come up with predifined iviews associated with BI. By importing this business package we can dispaly the  BI content in the portal in a folder format .
    I am using BI and EP 7.0 versions.
    Ratnakar

    Ratnakar,
       Let me understand your requirements, correct me if I understood it wrong. You need to display BI reports in Folder structure that is similar when you log on through BEx analyzer or WAD. If this is correct, then you need to upload the BI Role which contain all the required Folder structures and it BI Queries or BI Queries url assigned to that role.Once you upload this role on to portal , you will see folder structure on PCA.
    Example
    BI Reports  - Folder 1
      I--> FI reports  -- Subfolder 1
      I            I--> AP reports 1
      I--> CO reports  -- Subfolder 2
                   I--> Cost Report 1         
    Hope it helps,
    Cheers,
    Balaji

  • How to make a selection of a layer delete content and paste another content with Photoshop scripting..?

    how to make a selection of a layer delete content and paste another content with Photoshop scripting..?

    There is a more specific Forum …
    Photoshop Scripting

  • Can't view uPerform content with Flash Plugin 10.1.102.64

    My company uses uPerform a product that we use to create flash based simulations and WBTs. After downloading the most recent version of the flash player, I have not been able to view existing content published on a server. When users accesss Flash content it displays a blank white or black screen. I have seen an article which seems to describe my issue entirely, but it was posted as an Adobe Captivate issue. There is a workaround for the product, but it directed towards users have problems with Captivate.
    Here is a link to one of our published simulations:
    https://rwdp.ebsp.msu.edu/ucontent/e2f402a4126b4d8e9c10210472f564ec_en-US/sim/flash//index .htm#
    Similar known Captivate issue:
    http://blogs.adobe.com/captivate/2010/11/cp5-content-with-text-animations-not-working-with -latest-flash-player-version.html
    The problem seems to be present in IE 7, IE 8, and Firefox. I attempted to follow uninstall directions and was directed to most recent version of the plugin. This issue is effecting thousands of our users.

    You can find information on this issue at the ANCILE Product Support Center -- products.ancile.com. We recently posted a few blog articles on this issue and options to address.

  • InContext editing error: This region contains content with dynamic behavior added..

    We just set up a web site with InContext editing following the procedures in Business Catalyst documentation to do that. But now when we go to the administration section of the site, and turn on InContext editing, it won't let us update the text. We receive an error message:
    "This region contains content with dynamic behavior added..."
    Does anyone know what causes this problem, and how to fix it?

    Hi,
    InContext Editable (ICE) regions can only contains static areas like text and static  assets, it cannot wrap around javascript – populated areas or dynamic content like slideshows. (most likely causing the error)
    ICE can edit only static page content such as regular HTML content. It cannot edit any element that is dynamically updated for example a div (or another element) which is manipulated (created or its contents are modified) by JS– populated areas or dynamic content like slideshows. It cannot edit menus, content holders or content outputted by system modules or tags either.
    By default, on a page that has no ICE editable regions defined the editor attempts to find any regions you might want to edit and if possible make them editable. If it does not find the correct regions you want to edit you will need to explicitly define some editable regions.
    Refer to this article on Defining InContext Editing editable regions - http://kb.worldsecuresystems.com/838/cpsid_83855.html?bc-partner
    Hope this helps!
    -Sidney

  • How do I create a table of contents with a nested style paragraph?

    I'm having difficulty figuring out how to generate my Table of Contents with a nested style. In this screen shot, "SPECIAL EVENTS" is considered level one and the pink circled "Fittest Firm Challenge" is level 2. Because it is a nested style, it is picking up the entire paragraph. I don't want to put in a paragraph break because that would add too much space in the magazine since there are a lot of other listings like this. I've tried reading through other people's discussions but I'm totally lost with the explanations. Is there a simple workaround or solution to this?

    apricotanna wrote:
    I'm having difficulty figuring out how to generate my Table of Contents with a nested style. In this screen shot, "SPECIAL EVENTS" is considered level one and the pink circled "Fittest Firm Challenge" is level 2. Because it is a nested style, it is picking up the entire paragraph. I don't want to put in a paragraph break because that would add too much space in the magazine since there are a lot of other listings like this. I've tried reading through other people's discussions but I'm totally lost with the explanations. Is there a simple workaround or solution to this?
    You're asking InDesign to do something it's not designed to do, namely, to treat a nested-style section of a paragraph as an independent paragraph. That's called a "run-in paragraph" in Adobe FrameMaker, and it's been a beloved feature there since FrameMaker was introduced in '89, about ten years before InDesign.
    You can make a formal feature enhancement request here: Wishform Many InDesign features have come into being from user requests, so lend your voice, and be patient. Explain why you think a run-in paragraph feature would be useful.
    Others have asked about this, and there are a number of workarounds that may or may not be suitable for you. Let's hope that some of the more-intense forum folks can help you with a useful search term for this forum, so that you can review what's been suggested and tried in the past, and what results you can expect.
    In the meantime, you might consider inserting the second-level heading in an inline anchored text frame in the paragraph. It will be an independent paragraph but you can adjust appear on the same line as following paragraph. Then you can extract it for the TOC.
    Here's an example:
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

Maybe you are looking for

  • My apps dance open and close on their own in my IPad 2 what can be the prob? I have already restored

    I got the charger flex or pin changed and now the apps dance on the screen, photos open and zoom in, then out, the other apps open and close. I have already restored the device with Itunes and prob is still there. What can be the problem? Any suggest

  • Urgent! Nested If- Else statements.Help me

    Please help me, I gt a problem using a nested if else statements.I have 3 objects called bpdu objects. These 3 bpdu objects need to be compared with each other based on their Priority and Mac Address.The program below shows the program that have been

  • Apple Keyboard in XP Install on a PC

    I am trying to use my iMac's apple keyboard on a Dell that only has USB ports during an installation. The PC apparently doesnt recognize anything because no keys work. Is there a trick around this? Thanks.

  • Installing WMP Safari Plugin

    Hi guys, I'm trying to install the WMP Plug-in for Safari so I can view WMV and other WM files while browsing. I've installed Windows Media Player successfully but I did not see the plug-in listed under Safari's "installed plug-in" list. Any ideas on

  • Pop up type function

    See this webpage, under the number 1, at the end of the sentence where is says "What is a SPOT" and a pop up type box pops up when you roll over it? What s this function called, and how can I replicate it? http://us.repstars.com/ Gracias! - Christine