How to use the CSS class

Dear friends,

I use Apex 4.1. I did a CSS class. I just want to know where I have to paste the code below and where I call and how?


I wrote this in the properties-> header HTML PAGE

< style type = "text/css" >
MyClass
{
Width: 200px;
color: orange;
background-color: #CCCCFF;
}
< / style >




the call above field-> on the attributes of HTML table cell. class = 'MyClass '.

but it does not work. Please help me where I am doing wrong. Thanks in advance.

Concerning
Kamran

Hello

I have cerated a sample APP (APPL_1) in my TEMP workspace:

http://Apex.Oracle.com/pls/Apex/f?p=29601:1:844154738192245:

You can identify yourself in my workspace (see for the source):
workspace: APEX_DEMOVIC
Login: demo
Pass: demo

It will be useful.

Concerning

J :D

Tags: Database

Similar Questions

  • How to use the getter class set extends thread?

    package mypackage;
    
    import java.io.ByteArrayInputStream;
    import java.io.InputStream;
    
    import javax.microedition.io.HttpConnection;
    import javax.microedition.xml.rpc.Element;
    
    import org.w3c.dom.Document;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    
    import net.rim.device.api.io.messaging.UsernamePasswordCredentials;
    import net.rim.device.api.io.transport.ConnectionFactory;
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.component.Dialog;
    import net.rim.device.api.ui.component.RichTextField;
    import net.rim.device.api.ui.container.MainScreen;
    import net.rim.device.api.xml.parsers.DocumentBuilder;
    import net.rim.device.api.xml.parsers.DocumentBuilderFactory;
    
    public class search extends Thread{
    private MainScreen scren;
    
    String nul = "";
    MyScreen a = new MyScreen();
    
        public void run() {// define variables later used for parsing
            System.out.println("MASUK SEARCH!!!");
            String url = "http://localhost/ms/password.xml";
            Document doc = null;
            HttpConnection conn = null;
            try{
    
                //providing the location of the XML file,
                //your address might be different
                conn=(HttpConnection) new ConnectionFactory().getConnection(url).getConnection();
                System.out.println(conn.toString());
                conn.setRequestProperty("User-Agent",
                "Profile/MIDP-1.0 Confirguration/CLDC-1.0");
                conn.setRequestMethod(HttpConnection.GET);
                //next few lines creates variables to open a
                //stream, parse it, collect XML data and
                //extract the data which is required.
                //In this case they are elements,
                //node and the values of an element
                if(conn.getResponseCode()== HttpConnection.HTTP_OK){
                DocumentBuilderFactory docBuilderFactory= DocumentBuilderFactory. newInstance();
                System.out.println("masuk Sini");
    
                InputStream inputStream = conn.openInputStream();
    
                byte[] data = new byte[256];
                int len = 0;
                int size =0;
                StringBuffer raw = new StringBuffer();
                while(-1 !=(len =inputStream.read(data))){
                    raw.append(new String(data,0,len));
                    size +=len;
                }
                String content = raw.toString();
                InputStream input = new ByteArrayInputStream(content.getBytes());
    
                DocumentBuilder docBuilder= docBuilderFactory.newDocumentBuilder();
                docBuilder.isValidating();
                System.out.println("dan sini");
                docBuilderFactory.setIgnoringElementContentWhitespace(true);
    
    //            Element root= doc.getDocumentElement();
    //            System.out.println(root.toString());
    //
    //            Element operation = (Element) root.getOwnerDocument();
    //            System.out.println(operation.toString());
    //            String layer = operation.getAttribute("Category");
    //            System.out.println(layer);
    //            root.normalize();
                System.out.println("terakhir");
    
    //            System.out.println("Category:"+layer);
                doc = docBuilder.parse(input);
                doc.getDocumentElement().normalize();
                NodeList list=doc.getElementsByTagName("password");
           System.out.println("Atleast!");
    
               String _node=new String();
               String  _element = new String();
                //this "for" loop is used to parse through the
                //XML document and extract all elements and their
                //value, so they can be displayed on the device
    
                for (int i=0;i
    

    Sorry for my bad English

    This is my code

    I want to pass the string, which is _Node I get it to XML parsing, to another class.

    can I get the string? Thank you

    already fact-_-

    user OOP

  • How to use custom css I can see the result in the preview windows

    help ~ ~ ~

    I want to create my animation by visualization.

    but I don't know how to use custom css

    and show its effect in the preview windows

    only the script?

    Hi Chen,

    If you want objects of style outside the properties available in the Animate application, you can do this by using the following syntax:

    .CSS ({$("myObject") sym.

    'background-color': 'red ',.

    "width": "200px".

    });

    However, this will only preview in the browser and not on stage as the code is not running at the time of the creation. You would get yourself in a place quite bad if this has happened since the events would trigger when you try to change

    If you have a style sheet that you have linked to your project, you can also add a class of objects that reflect the CSS when you preview in the browser.

    Sarah

  • How to use outside of class in the packed library plugins

    I found the article very useful to Michael Lacasse (https://decibel.ni.com/content/docs/DOC-19176) how to use the library packaged as plugins. This approach makes the most sense when you try to distribute additional code after that your executable is already installed.

    My problem is that when I try to use a class from the main code in a plugin, plugins no longer works. Ideally, I would have liked the parent plugin interface to inherit from a class that is used in the main code, either by using the class as parameter of the plugin would be the next best thing.

    I had several mistakes, some runtime (#1448) or at the time of publishing ("VI it does not match other screws in the method: connector side terminal (s)"). I set to use clusters to transfer data to the plugins.

    My question is: is it possible to use a class defined in the main code in a packed-project-library, either inherited or as a parameter? If Yes, do you have any examples?

    It is not made with real CLASS structures, but I do the same with PPLs.

    Don't try to inherit from something in the MAIN host.

    Create the ancestor class in a separate PPL.

    Use it for the most PART, as it is.

    Inherit it in your modules.

  • How to make the color of ScrollBar that are created using the css code is displayed in Windows 8

    I wish I could understand how to get the color of ScrollBar that are created using the css code appears on my web design theme games. But I can't see them in Windows 8. Is there something that I need to enable to see colorful scroll bars? I'm used to be able to see them on my Windows XP computer. It is important for me because a lot of people like models with colorful scroll bars.

    Open the Tools menu and turn on "Compatibility view" to do.  Note that this works only in the desktop version of Microsoft Internet Explorer.

  • Question: Style af:column header using the CSS style class

    Hello

    I have a simple requirement to set the background color of a column heading to 'red '.

    We use a custom look and I put in this entry in the .css. file

    AF | : column-head - cell.customcolheader {background-color: #FF0000 ;}}

    In my .jsff file, set the styleClass for the desired column

    < af:column id = "c27".

    Align = "center".

    headerText = "#{uiBundle.TEST} '"

    styleClass = "customcolheader" >

    < / af:column >


    Deployed to the app and navigated to the web page expecting to see the background of the column header color changes to red.

    No luck.


    I removed the qualifier (.customcolheader) and all the column headers in the corner of the Red application.

    AF | : column-to-head-cell {background-color: #FF0000 ;}}


    Only when I specify the name of the class and apply it to a specific column, it does not work.

    This happens on all 3 major browsers: IE, Firefox and Chrome.

    I find it very strange.


    JDeveloper version 11.1.1.5.0

    Version of CSS CSS Level 2 revision 1


    All entries will be appreciated.

    Thanks Shay.

    What you mentioned was infact my original code.

    I found the problem. The CSS was not the problem.

    To set the background color of a column heading, I was put in the name of the class under StyleClass for FY: column.

    Infact there is an attribute called "HeaderClass" to af:column and we need to set the name of the CSS class entry there.

    Works like a charm :-)

    Thanks for all the good entries.

  • Is there an online class to learn exactly how to use the command prompt which is quite through. OR y at - it clear a book that explains in detail for this? Who should I contact?

    I would like to know how to use the command prompt.  The nethodology type in the cmd prompt with the syntax and the Liposuction, in other words, the real return to a command prompt. I downloaded about evertthing I can find about this, but can't seem to put it all.

    My OS is Windows XP Pro sp3, lots of RAM, my address is * address email is removed from the privacy *.   I would like to take a rough online study if one is available if it is not too expensive.

    It really depends on what you mean by "to a command prompt."

    If you open a command prompt window (for example, in start > run > cmd > OK), you can enter a number of orders.  The list of available commands, including their syntax, is here--> http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?mfr=true

    You can also follow the links here:http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds_o.mspx

    If you want to get more sophisticated - automating command-line tasks - you can start here: http://technet.microsoft.com/en-us/scriptcenter/default.aspx

  • How to use the RMI Stub class in programming?

    Hi all

    I'm new to the RMI.

    Can someone explain to me how to use the RMI Stub generated by calling command CRIM?
    For my tests, I can only call object rmi through its remote interface method. So what heel is when we are coding?

    I appreciate anyone's help.

    Thank you very much
    Xianyi.Ye

    When the remote object is committed to the registry, which is actually linked is the draft.

    So when the client performs a search in the registry, as it gets is the heel. However from the point of view of the customer, it's just a mystery object that implements the remote interface.

    So you must use it directly, it's all automatic.

  • Custom icon in the icon of the CSS class attribute

    Hello world

    Apex version: 5.0.1

    Universal theme

    Oracle version: 11 GR 2

    I created a custom page, sign in as the picture below. In the icon attribute set spinner fa temporarily CSS classes, instead I need to put a custom, icon that I made icon. I don't know where to add the new icon? I've added an icon in the shared components > files to workspace static but I can not reference an Image of workspace of the class CSS of the icon attribute.


    Can someone tell me where and how to create a new icon for use with the attribute of CSS icon classes?

    Thank you

    customlogin.PNG

    The CSS style related to the use of the property of the icon of the CSS Classes is set up specifically to manage the icons great fonts. Rather than trying to substitute these for host your custom image, it's easier not to specify a class icon CSS and a simple CSS rule allows you to set your picture as a background on the header area of connection:

    .t-Login-header {
      background: url(&WORKSPACE_IMAGES.logo_GUATEFAC.ico) top center no-repeat;
    }
    

    This can be applied on the page of connection Inline CSS property, either as a custom theme CSS Roller rule.

    Also note that even if the property is called "Icon of CSS Classes", the ICO file format is not normally used and in fact may not be returned by all browsers. (Fonts Awesome 'icons' are in fact a vector font glyphs). In this case you would be advised to use a version of the superior image quality of your logo in PNG format.

  • Editor settings online for the css class selector

    Hello

    We want to reduce the number of available classes in the css selector in the online editor.

    We followed the instructions on how to use the partner portal, i.e.

    1. go to the partner portal > tools > editor online settings.

    2. choose the site

    3. click on Apply Css Editor

    4 added the name of the class that I want to show my editor one by one.

    And the process is.

    But our settings have not taken effect.

    In fact, it removes all the classes of the selector.

    This implemented?

    Please help me

    Thanks in advance

    Projjwal

    I know this is an old post, but just in case anyone is wondering, if you add custom classes or IDs to the Publisher, they must also appear EXACTLY the same in your CSS to the template file. So, if you add the following to your classes online editor:

    .img-right

    left-.img

    You will need in your CSS:

    .img-left {}

    .img-right {}

    Otherwise, it will not be displayed. If they will NOT work:

    . Happy .img-left {}

    #post - 36 left-.img {}

    @media (min-width: 480px) {.img-left {}}

    Hope that helps.

  • How to use the device as a simulator.

    Hi all

    Can someone tell me how to use the device (with my development pc) as Simulator.

    Whenever I need to check the appilcation in device of signed files .cod that is compiled in the Simulator.

    Because I got the outofmemory error in the device rather than simulator.

       

    Thus, any solution which signed without how can I check my direct request to the device itself. Any setting in preferences or etc...

    Thank you

    Tejas

            

    The only way you should not sign the cod is if no controlled classes/interfaces are used. The easy way to find out is to open the SignatureTool and see if your application requires signature. Otherwise this says icefrost1 's good enough solution.

  • REGION OF THE CSS CLASSES

    Hi, I'm new to APEX. Grateful if someone can help me understand the REGION CSS CLASSES and how to modify an existing one.

    Thank you

    1641493 wrote:

    Please update your forum profile with a recognizable username instead of "1641493": Video tutorial how to change username available

    Another question... The list of values for the region css classes will be different according to the theme that we have selected.  I need to know the css of the file I need to update in order to contrast a class in this list.

    There is in fact no connection between the CSS file and the metadata of element APEX. The values in the LOV pop up in the region of the CSS Classes are simply a list of distinct values specified in the property of the region of the CSS Classes to other elements of the current application. See this recent thread on the equivalent element property: HTML Form element CSS Class values - Where From?

  • How to use the Socket for AS3 networking?

    Hello, I'm a Flash game and have successfully obtained the RTMFP to work, but it is not very reliable and has a little loss of packages inside. I've heard many people only using TCP (socket), it is much tighter, but I have no idea on how to do it. I've Googled it many times, yet I really can't seem to find a clear answer. I hear you must have a server... How do you get one? Is it possible to make your own simple server that people your LAN can play? Thanks in advance.

    Yes, you can make your own simple server using the ServerSocket class and connect with the Socket class. And then you have TCP... it's actually pretty simple. Discover the ServerSocket docs to start, and there are also many examples if you googled around.

    http://help.Adobe.com/en_US/FlashPlatform/reference/ActionScript/3/Flash/NET/ServerSocket. HTML

  • How to use the sign ' # ' in jQuery for id?

    How to use the sign ' # ' in jQuery for id? When I try to use it as ($('#PropertyAttributeValue').css ('color', 'red') ;) I got error as follows:)

    The CFML compiler treated:

    • An expression that starts at line 64, column 37.
      The expression might be missing an end #, for example, #expr instead of #expr #.
    • The body of a beginning of tag cfoutput on line 19, column 18.

    Use the two hashes to escape the first:

    ($('##PropertyAttributeValue').css ('color', 'red') ;))

  • How to use the same services-config for servers the and remote.

    My flex project works very well using the bottom but when I download my flash on the server I do not work, all the files and related paths are the same execpt remote is a linux server.

    <? XML version = "1.0" encoding = "UTF-8"? >
    <>services-config
    < services >
    < id = 'amfphp-flashremoting-service' service
    Class = "Flex.Messaging.services.RemotingService"
    messageTypes = "flex.messaging.messages.RemotingMessage' >"

    < destination id = "amfphp" >
    <>channels
    < Ref channel = "my-amfphp" / >
    < / channels >
    Properties of <>
    < source > * < / source >
    < / properties >
    < / destination >
    < / service >
    < / services >
    <>channels
    < channel-definition id = "my-amfphp" class = "mx.messaging.channels.AMFChannel" >
    " < endpoint uri = ' http://localhost/domainn.org/AMFPHP/gateway.php "class="flex.messaging.endpoints.AMFEndpoint"/ > "
    < / channel-definition >
    < / channels >
    < / services-config >

    I think the problem is the line


    " < endpoint uri = ' http://localhost/domainn.org/AMFPHP/gateway.php "class="flex.messaging.endpoints.AMFEndpoint"/ > "

    but I don't know how to use the same services-config for servers the and remote.

    I'll back up a bit.

    Breakpoint URLS are defined as follows in the services - config.xml:

    https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure

    The meaning of each of the tokens is clearer when we see them as part of a complete url. If your context root is set to http://localhost , then I have no idea how your application runs in any environment.

    If you leave the server.name and server.port chips in your configuration file, then they will be replaced when executing according to the location from which your application is served. However, the context.root token is replaced at the time of the compilation based on the value that you specify in Flex Builder or when calling mxmlc.

    In order to reuse your file services - config.xml, you must use the same context-root on your development environment and to your deployment environment.

Maybe you are looking for