What's the simple code for this?

Hello, I know it is a very simple code but what is the code if I want to have different properties for headings and such in different id's. For example I want ID "sidebar"'s headings to be aligned in the center but I want ID "main-body"'s headings to be aligned to the left. How would I go about doing that?
Thanks!

CSS:
body {
text-align:left;
#sidebar h1,
#sidebar h2,
#sidebar h3,
#sidebar h4 {text-align:center}
/**re-usable classes**/
.center {text-align:center}
.right {text-align:right}
HTML:
<div id="main_body">
     <h1>This is left aligned by default</h1>
     <h2 class="right">This is right aligned by virtue of the class .right.</h2>
</div>
Nancy O.

Similar Messages

  • What is the transaction code for this Report

    Is there a report in SAP that shows unrealized foreign exchange cash receipts and payments posted to a G/L. if yes, what is that report. Please provide transaction code.
    If not, do we need to create ABAP query. How do we create that Query in this regard. What information are we required to give the Abap person or do we create an Query ourself. How do we create it. please explain with steps.
    It is little urgent. Please reply soon.
    Thanks
    Lakshmi

    Hi
    hi Refer
    <b>http://sapfans.com/forums/viewtopic.php?t=35498&highlight=logo+report&sid=427c40184627df2072190b9d75d87117</b>
    Use FM 'REUSE_ALV_COMMENTARY_WRITE'
    Regards,
    Sree

  • HT1222 What is a pass code,for this next up date.never been asked that before

    What's the pass code for this next update.never been asked that in the past

    The passcode you need to enter is the passcode you set on your device. It is the passcode that you enter when you turn on your iPad or awaken it from sleep after and Auto lock.
    If you do not know or remember your password and did not store it somewhere then you will have to restore your device.
    http://support.apple.com/kb/HT1212

  • What is the ok code for Save (to post a document)

    Hi all Technos
    How to post a document(Save it) in BDC In Tr Code F-02 after all entry? What is code for that.
    In simple what is the ok code for SAVE. For your kind infromation ENTER is not taking.
    Plz any body help me For that.
    Every usefull answer will be rewarded with points..
    Thanks in advance
    shovan

    Hi Shovan,
    OK-code for save is =BU
    Check this recording..Award points if useful
    perform bdc_dynpro      using 'SAPMF05A' '0100'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BKPF-BLDAT'
                                  '06.05.2008'.
    perform bdc_field       using 'BKPF-BLART'
                                  'SA'.
    perform bdc_field       using 'BKPF-BUKRS'
                                  'BP01'.
    perform bdc_field       using 'BKPF-BUDAT'
                                  '19.05.2008'.
    perform bdc_field       using 'BKPF-MONAT'
                                  '5'.
    perform bdc_field       using 'BKPF-WAERS'
                                  'USD'.
    perform bdc_field       using 'FS006-DOCID'
    perform bdc_field       using 'RF05A-NEWBS'
                                  '40'.
    perform bdc_field       using 'RF05A-NEWKO'
                                  '630020'.
    perform bdc_dynpro      using 'SAPMF05A' '0300'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BSEG-WRBTR'
                                  '100'.
    perform bdc_field       using 'BSEG-MWSKZ'
                                  'I0'.
    perform bdc_field       using 'BSEG-TXJCD'
                                  'ca0000000'.
    perform bdc_field       using 'DKACB-FMORE'
                                  'X'.
    perform bdc_dynpro      using 'SAPLKACB' '0002'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTE'.
    perform bdc_field       using 'COBL-KOSTL'
                                  '1201'.
    perform bdc_dynpro      using 'SAPMF05A' '0700'.
    perform bdc_field       using 'BDC_OKCODE'
                                  *'=BU'.* 
    Thanks,
    Rvaee..

  • Can we create a developersite in O365 SP Online programiatically ? what is the template code for it ?

    Hi
    I am trying to create sites programmatically in O365 SharePoint Online. So, just want to know that can we create a DeveloperSite ?? what is the template code for it viz. Team site- STS#0, etc
    If possible provide me the MSDN link where I can refer for available site templates for O365 SP Online sites creation.
    Thank you 

    http://community.office365.com/en-us/f/154/t/61145.aspx
    Are you meaning to create sites on SharePoint Online by invoking web services in your own program? SharePoint Online indeed provide some web services for custom programming, however, the web methods for creating a new site seems not included in them. Here
    are some resources for the development of SharePoint Online for your reference:
    SharePoint Online for developers
    http://msdn.microsoft.com/en-us/sharepoint/gg153540.aspx
    Code example for SharePoint Online: Accessing Web Services
    http://code.msdn.microsoft.com/office/SharePoint-Online-0bdeb2ca
    As to create a site collection, the parameter "Template" is the name of the template you want to use, as to find the name of the custom site template, you can use the powershell command "Get-SPOWebTemplate",
    it will list all the templates with the names.
    Note, The Template and LocaleId parameters must be a valid combination as returned from the Get-SPOWebTemplate cmdlet.
    Also check
    http://stackoverflow.com/questions/21268629/creating-new-site-collection-in-office-365-from-an-app
    If this helped you resolve your issue, please mark it Answered

  • HT1918 what is the postal-code for lebanon ? I cand find it :(

    what is the postal-code for lebanon ? I cand find it

    From a quick search, some of the results that I've found seem to imply that Lebanese addresses can have postal codes, which consist of 8 numbers - the first 4 for the region, the second 4 for the building. Are you being forced to enter a post code ?
    What sort of visa card are you trying to add, debit or credit ? If it's a debit card then I don't think that they are still accepted as a valid payment method - they are not listed on this page and there have been a number of posts recently about them being declined
    If it's a credit card then is it registered to exactly the same name and address (including format and spacing etc) that you have on your iTunes account, it was issued by a bank in your country and you are currently in that country ? If it is then you could check with the card issuer to see if it's them that are declining it, and if not then try contacting iTunes support and see if they know why it's being declined : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Account Management

  • What’s the best practice for this scenario?

    Hi,
    My users want the ability to change the WHERE and/or ORDER BY clause at runtime. They may define user preferences on each screen ( which is bind to a view object). They want to see the same records based on WHERE/ORDER BY defined on the last visit. That is why I keep the users preferences and load the screen based on that, using :
    View.setWhereClause(...);
    View.setOrderByClause(...);
    View.executeQuery();
    This works good when only one user working with the application but faced low performance when more than one user working with the application.
    What are the points to increase the performance and what is the best practice for this scenario?
    Thanks for your help in advance.

    Sung,
    I am talking only about 2 users in my testing. I am sure i missed something but could not recognize that.
    This page is my custom query page including a tag to instantiate app module in stateful mode at the top <jbo:ApplicationModule..> and a tag to instantiate data source <jbo:Datasource...> and release tag at the bottom <jbo:ReleasePageResources..> and some java code in the middle(body). The java code constructed the query statement and then fires the query to set the view object based on the query statement using the above methods.
    So, I am facing very slow performance(speed) when two clients load this page at the same time. Looks like the entire application locks for others when one client load this page and fire the query. i realized the battle neck is where executeQuery() is executing.
    what do you think.
    Thanks in advance for your comments.

  • What is the process code for Message type FUNDMA

    Hi,
    I am sending CO elements to the distributed server using ALE. Can somebody tell me what is the process code for the message type FUNDMA?
    Thanks
    William

    Check entries of table VEDI_TMSG1. This contains Message types and associated Process codes.
    Hope this helps.
    ashish

  • What is the function code for execute

    Hi,
    What is the function code for execute.
    I am using set pf-status under initialization.
    Thanks.
    Sai.

    Hi,
    If your adding a execute in pf-status then we can give the function code for execute as 'EXEC' - F8.
    Nyways it automatically comes no need to explicitly add in pf-status. The standard function code is 'ONLI'
    just we need to check the sy-ucomm value and perform what you want.
    i.e if sy-ucomm = 'EXEC'.
    endif.
    hope this help you.
    plz reward if useful.
    thanks,
    dhanashri.
    Edited by: Dhanashri Pawar on Jun 26, 2008 11:43 AM

  • What is the transaction code for where used list

    hi,  
                    what is the transaction code for where used list and
               how to retrieve the previous delivery quantity and quantity delivered for a particular material  with reference to both material document number and material number.

    hi,
    there is no transaction code for where-used-list..
    its one of the buttons in application tool bar which if you click will tell you where,in which program or tables etc this object is used.
    to retrieve the previous delivery quantity and quantity delivered for a particular material with reference to both material document number and material number,
    use tables <b>likp lips and mara</b> and use material number and document number in where condtion.
    regards,
    pankaj singh
    <b>**** please mark all helpful answers</b>

  • What is the proces code for mbgmcr

    what is the proces code for mbgmcr

    HI,
    This is the Functionmodule under that process  code
    MB_CREATE_GOODS_MOVEMENT
    Regards
    Sudheer

  • What r the trns code for maintenance view, help view and projection view

    hi all
    what r the transaction code for maintenance view, help view and projection view
    can anyone tell me how to create maitenance, help and projection view.
    with an example
    regs
    hari

    <b>What is the Different Types and Usage of Views
    The followings are different types of views:</b>
    - <b>Database View   (SE11)</b>
    Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set. 
    In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys.
    - <b>Help View    ( SE54)</b>
    Help views are used to output additional information when the online help system is called. 
    When the F4 button is pressed for a screen field, a check is first made on whether a matchcode is defined for this field. If this is not the case, the help view is displayed in which the check table of the field is the primary table. Thus, for each table no more than one help view can be created, that is, a table can only be primary table in at most one help view. 
    -<b> Projection View  (SE11)</b>
    Projection views are used to suppress or mask certain fields in a table (projection), thus minimizing the number of interfaces. This means that only the data that is actually required is exchanged when the database is accessed.
    A projection view can draw upon only one table. Selection conditions cannot be specified for projection views.
    <b>- Maintenance View   ( SE54 )</b>
    Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
    reward   points if it is usefull...
    Girish

  • I have problems in the initiation of the Encore process when opening presents the following error message : "Encore CS6 Cannot Run in Non-Royalty Serialized".... What is the best solution for this problem ?

    Help Me.
    What is the best solution for this problem ?

    Encore is activated when you activate Premiere Pro... so, as Stan asked, how did you install P-Pro?
    Ask for serial number http://forums.adobe.com/thread/1234635 has a FAQ link
    -and a fix for Encore http://forums.adobe.com/thread/1421765?tstart=0 in reply #7
    -plus more Encore http://helpx.adobe.com/encore/kb/cant-write-image-fie-larger1.html

  • What are the tables used for this Report

    hi all..
    i am a fresher for ABAP. i need the help.
    what r the tables used for this report.
    Reports provide pending order details according to Material wise and customer wise for particular month.
    thanks in advance
    RK.Ashokkumar.
    9994262112.

    hi
    good
    try with these tables,
    MARA
    KNA1
    thanks
    mrutyun^

  • Hi what is the transaction code for vendor master delete

    hi
       what is the transaction code for vendor master delete? and customer master delete?
    thank u
    surya

    Hi
    There won't be any Deleting of customer and vendor completely
    we only BLOCK them
    FK05                   Block Vendor (Accounting)
    MK05                   Block Vendor (Purchasing)
    XK05                   Block Vendor (centrally)
    FD05                   Block Customer (Accounting)
    VD05                   Customer Block (Sales)
    XD05                   Block customer (centrally)
    <b>Reward points for useful Answers</b>
    Regards
    Anji

Maybe you are looking for

  • Jabber for windows 9.2.6 client

    hi i have just upgraded some of my cisco jabber for windows clients to the latest release 9.2.6 (upgraded from 9.2.3) i noticed that the first time the client startsup i get certificate warnings for our CUCM-PUB, SUB, CUC device and CUPS server. (all

  • Can't install Adobe Air on Mac OS 10.5.6

    Hello all, I cannot, for the life of me, get Adobe AIR to install on my Mac Pro. Whenever I open the installer I get this message: quote: An error occurred while installing Adobe AIR. Installation may not be allowed by your administrator. Please cont

  • Not able to deploy Analytics.war in Tomcat.

    Hi, I have configured Tomcat v6.0 server with OBIEE. I am able to successfully deploy the xmlpserver.war and login into http://localhot:8080/xmlpserver and able to view the BI Publisher. But tried deploying the analytics.war. It throws the following

  • Upgrade from Director 10.1 to 11.5 embedded font issues

    I just upgraded to 11.5 for Mac. When I opened an existing file I developed in 10.1, the embedded fonts went bizarre. I had Times embedded and it did some strange substitutions like the "i"s are in a totally different font as are the question marks.

  • Security on MySQL tables for MyISAM

    Hello friends, Question 1 : I have installed MySQL version 4.0.3 beta on Windows 2000 machine with PIV, 128 MB RD RAM. I've created two databases say A and B and then created Tables a1,a2,a3 in database A and b1,b2,b3,b4,b5 in database B (All these t