Expansion of the list using CSS

I'm trying to expand a list in my application using my own style sheet.

If I have a look at the source of the page HTML using Firebug and CSS used by the vertical list that seems to be t13SideBar class. How can I determine which model to change / add a reference to a class in my stylesheet?

Is this the best way to expand the list?

You can create a region on the page 0 - no model.

In this region, you could put something similar to the following (one of my examples):


and even make this conditional region, while it loads only on certain pages. In this way, you don't have to modify your template css.

Denes Kubicek
------------------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
------------------------------------------------------------------------------

Tags: Database

Similar Questions

  • How to align the position of a node in a pane of the grid using CSS?

    Hello

    I have an interface defined in FXML:
    <?xml version="1.0" encoding="UTF-8"?>
    
    <?import java.lang.*?>
    <?import javafx.scene.*?>
    <?import javafx.scene.control.*?>
    <?import javafx.scene.layout.*?>
    
    <BorderPane xmlns:fx="http://javafx.com/fxml" >
        <center>
            <GridPane alignment="top_center" hgap="8" prefWidth="450" vgap="8" style="-fx-padding: 10;" >
                <styleClass>
                    <String fx:value="form"/>
                </styleClass> 
                        
                <children>
    
                    <Label text="From" GridPane.columnIndex="0" GridPane.rowIndex="0" />
                    <TextField fx:id="from" GridPane.columnIndex="1" GridPane.rowIndex="0"/>
    
                    <Label text="Recipient(s)" GridPane.columnIndex="0" GridPane.rowIndex="1" />
                    <TextField fx:id="recipients" GridPane.columnIndex="1" GridPane.rowIndex="1"/>
                    
                    <Label text="Subject (defaults to title)" GridPane.columnIndex="0" GridPane.rowIndex="2" />
                    <TextField fx:id="subject" GridPane.columnIndex="1" GridPane.rowIndex="2"/>                   
                    
                    <Label text="Send mail as ..." GridPane.columnIndex="0" GridPane.rowIndex="3" />
                    <ListView fx:id="mail_format" prefHeight="100" GridPane.columnIndex="1" GridPane.rowIndex="3" />  
                    
                    <Label text="Plain Text Mail" GridPane.columnIndex="0" GridPane.columnSpan="2" GridPane.halignment="center" GridPane.rowIndex="4" />                  
                    
                    <Label text="Template" GridPane.columnIndex="0" GridPane.rowIndex="5" />
                    <TextField fx:id="plain_template" GridPane.columnIndex="1" GridPane.rowIndex="5"/>                
                                      
                    <Label text="Send as is (do not dump into plain text)" GridPane.columnIndex="0" GridPane.rowIndex="6" />
                    <CheckBox fx:id="plain_noconvert" GridPane.columnIndex="1" GridPane.rowIndex="6"/>
                    
                    <Label text="HTML Mail" GridPane.columnIndex="0" GridPane.columnSpan="2" GridPane.halignment="center" GridPane.rowIndex="7" />
                                    
                    <Label text="Template" GridPane.columnIndex="0" GridPane.rowIndex="8" />
                    <TextField fx:id="html_template" GridPane.columnIndex="1" GridPane.rowIndex="8"/>               
    
                    <Label text="Other configuration" GridPane.columnIndex="0" GridPane.columnSpan="2" GridPane.halignment="center" GridPane.rowIndex="9" />
                    
                    <Label text="Reply-To" GridPane.columnIndex="0" GridPane.rowIndex="10" />
                    <TextField fx:id="reply_tos" GridPane.columnIndex="1" GridPane.rowIndex="10"/>
                    
                    <Label text="Cc" GridPane.columnIndex="0" GridPane.rowIndex="11" />
                    <TextField fx:id="ccs" GridPane.columnIndex="1" GridPane.rowIndex="11"/>
                    
                    <Label text="Bcc" GridPane.columnIndex="0" GridPane.rowIndex="12" />
                    <TextField fx:id="bccs" GridPane.columnIndex="1" GridPane.rowIndex="12"/>
                    
                    <Label text="HTML base (defaults to current server)" GridPane.columnIndex="0" GridPane.rowIndex="13" />
                    <TextField fx:id="html_base" GridPane.columnIndex="1" GridPane.rowIndex="13"/>
                                                                                                                   
                    
                </children>
            </GridPane>
        </center>
    </BorderPane>
    I want to align the labels to right using CSS:
    .form *.label {
      -fx-alignment: right;
      -fx-font-weight: bold;
      -fx-hpos: right;
      -fx-text-alignment: right;
      -fx-text-wrap: true;
    }
    However I have not found any way to align the labels in the GridPane using CSS, or - fx-alignment: right, - fx-node-hpos: right. -fx-hpos: right. -fx-text-alignment: seem to work well...


    The only way to make it work is to define the attribute of each label Grid.halignment:
                    <Label text="HTML Mail" GridPane.columnIndex="0" GridPane.columnSpan="2" GridPane.halignment="right" GridPane.rowIndex="7" />
    But what happens if I want to change that at a later stage-> I need to change this attribute for each node.


    How can align the labels to right using CSS only?

    Currently CSS in JFX cannot really be used for layout page (or calibration). This is one of those grey areas between what is style (which should be in the CSS) and what is layout (which should be in the FXML). I think I remember Richard mentioning once in a forum or an article that he did not want to add alignment stuff to the CSS at a certain point, but don't quote me on that. You might have a search through Kenai to see if there is a feature request for it and if not add one.

    Perhaps you could it with fake labels stretch to fill the available space in the GridPane. For this, you need to disable the restriction of maximum size (setMaxWidth and setMaxHeight to Integer.MAX_VALUE) and ensure your forced GridPane are such that the label will fill the cell. Once you have a stretched label alignment will come into play as the text is aligned relative to the area of the label (as opposed to a manager that aligns the entire label compared to its parent). I think that put a border on the label when debugging to work on what's going on.

    Another less confined but more flexible alternative might be to use variables in your FXML files. You can do this in a number of ways. We must create a bean that has all the variables of your on it with accessors get and then you can move it to your charger FXML namespace and then reference it by using things like ${myConstants.gridAlignment}. Another is to create static methods on a class that a node, these can then be called from the FXML using a notation similar to GridPane.alignment. This second approach only works for things where you want to work directly on the node, but for your scenario which should be ok I think. And then there is always the option to activate a script language in your FXML, allowing you to perform more nothing.

    Hope that helps,
    zonski

  • The list of CSS rules that disappears (Mac)

    I do not know where is the appropriate place to report a bug:

    Sometimes a double click on a name for the style in the CSS Palette of Styles will be the list of style rules to disappear (instead of open the CSS rule Definition dialog box).

    If you are experiencing the problem:

    1. don't panic.

    2 double-click New exactly in the same place

    I do not know where is the appropriate place to report a bug:

    A bug report filing manager ensures that Adobe will read it

    https://www.Adobe.com/cfusion/mmForm/index.cfm?name=wishform

    Using CS5?

  • How can I increase the font size of the url using CSS?

    I thought I knew how to do this. I want to increase the size of a url using CSS.

    I created a rule:

    {a.15text}

    do-family: Arial, Helvetica, without serif.

    font size: 25px;

    make-weight: normal;

    color: #BC2828;

    text-decoration: underline;

    }

    In the code, I have the following:

    " < a href =" http://www3.Imperial.AC.UK/edudev/workshops/intro/TfL "class ="15text"target ="_blank"> Introduction to teaching for learning < /a > "

    In Dreamweaver, the class = "15text" make the font size of the above more general url, but when I saw in the browser, the size of the font of the undelrined url remains low.

    What I am doing wrong? How to make the url, the largest font size?

    I have no problem of change in the characteristics of normal text, but a problem with URL.

    It's because you can't have class that start with a certain number of names.

    Replace - 15text - Texte15

  • Set the table using CSS: table, tr, th

    I'm looking to define a table using CSS format.  By browsing items in the school of W3 and google, I defined the next element in the CSS nickname:

    {table. Members}
    do-family: Arial, Helvetica, without serif.
    do-size: 11px;
    make-style: normal;
    make-weight: bold;
    Color: #000000;
    text-align: left;
    padding: 2px;
    vertical-align: top;
    white-space: normal;
    }

    {Th.Members}
    Color: #000000;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    padding: 3px;
    background-color: #808080;
    make-weight: bolder;
    }

    {TR. Members}
    Padding: 6px;
    Color: #000000;
    do-size: 11px;
    border: 1px solid #000000;

    }

    The name of my table is 'members' and I attribute the code of the 'members' class to the table.  The CSS for table.members seems to be inferred correctly page.  However, the tr.members th.members and the definition header line are not.

    Can someone comment on what I need to fix?  Here is a link to the web page.

    http://aosweb.org/Membershipx/bbmember_list.php

    Thank you.

    What follows instead... Note the new line of code in red and the comment beside her

    {table. Members}
    do-family: Arial, Helvetica, without serif.
    do-size: 11px;
    make-style: normal;
    make-weight: bold;
    Color: #000000;
    text-align: left;
    padding: 2px;
    vertical-align: top;
    white-space: normal;
    border-collapse: collapse;  / * This is what prevents the double border on cells * /.
    }

    different th {}
    Color: #000000;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    padding: 3px;
    background-color: #808080;
    make-weight: bolder;
    }

    / * apply the style to thenot the*/

    different td {}
    Padding: 6px;
    color: #0000CC;
    do-size: 11px;
    border: 1px solid #000000;
    }

    The above should work.  I have here an example of an example of worksheet:

    http://www.DreamweaverResources.com/tutorials/TableCellBorders.htm

  • items of tag p does not show on the pages using css

    I converted to a site in GoLive to DreamWeaver and all the text by using the < p > tag does not appear on the site, but other styles appear, including < h1 > tags, etc.

    -J' have confirmed that the links to the css are correct and tact.
    -J' I cut and pasted the text in the < body > tag, which is the same specification as the < p > tag in place to check that it was not a typo. Did not help.
    -I have tried with and without the <>brackets.
    -J' have changed a paragraph in the page 'None' and used the < br > tags to make the jumps and it shows very well, but the next paragraph which uses the < p > does not work.

    Any thoughts on why this would happen?

    Here is the link of the typical header that I use
    < link href = "adv01.css" rel = "stylesheet" type = "text/css" > "

    Here is the actual line css
    p {color: #333; do-size: 13px; do-family: Helvetica, Geneva, Arial, SunSans-Regular, without serif; line-height: 15px}

    Thank you
    Jon

    Well, if you have a page on defined style that affects your diplay with white text paragraphs. This might be a reason.

    On your page privacy.php watch line 21;
    p {color: #fff;}

    the parameter of color to the fff everything make your text are white.

    Don't forget that on the styles page to replace the external styles.

    I hope this helps.

    Since you are using includes can't tell you where this code exists!

  • Fetch value selection list to select the list using dynamic measurements

    Hello

    I have a select list 1 and select list 2

    as I chooses a 1 based on selected value select list option, select list 2 options screens.


    : Options P1_SELECT1

    DISPLAY RETURN VALUE OF VALUE
    D INTERIOR
    INTERNATIONAL I HAVE

    : P1_SELECT2 with dynamic statement options

    Select NAME, ID from PRODUCT_MAS
    where ADDL_FIELD1 =: P1_SELECT1

    can I do this task using dynamic measurements?
    If so how can I do this?

    You have even set a dynamic Action for this:
    Set as Select list and property 'Cascading LOV Parent article (s)' set of P2_SELECT2 to P1_SELECT1 and you're done.

  • Footer at the bottom using CSS

    It seems simple. If I set foot outside the tank, it must fall below any content in the container?

    http://www.gapco.com/benefit/Burger/index.html

    http://www.gapco.com/benefit/Burger/CSS/Burger.CSS

    footer does not drop below the left navigation that is in the container. Feeling stupid, air conditioner is broken, any help would be appreciated.

    It seems simple. If I set foot outside the tank, it must fall below any content in the container?

    Yes it should.  Your is not outside the container.

    However you yourself shot in football (er) (so to speak) by making your div positioned absolutely leftMenu - no other page element can see it when you do that.

  • That is the app use Port 631 IPP

    Hello

    I have a doubt, I know port 631 it's cups or ipp service, but I don't have any printer installed or configured, I recently format my Mac with the restore option as a Trojan horse, but know with only installed pages and numbers that I did with the network utility portscanning and without opening any program , I opened port 631 PPI, and do a netstat it seems local address localhost.ipp and *. * address abroad.

    My question is, which service or program might use this port if I didn't set up a printer or the printer shared on the local area network?

    Generally sound is not open, but I am concern when it is

    Thank you

    try from the command line, copy and paste:

    lsof - i: 631

    In the list use the procces xxxxx

    To release the port, kill the process using it:

    kill xxxxx

    Ref:http://www.catonmat.net/blog/unix-utilities-lsof/

  • Find all the item in the list in QML

    I use ListView to display the list item. I'll put the data in the list using datamodel.

    At some point, I want to know what that any element is in the list. Is it possible to do this?

    for ex: list.getInput that returns all list items

    Welcome on the support forums.

    check the API of the datamodel you use, for example groupdatamodel
    https://developer.BlackBerry.com/native/reference/Cascades/bb__cascades__groupdatamodel.html

    all methods marked as Q_INVOKABLE can be called from qml, for example first() and after() you can iterate through its members.

  • problem of the lottery of the lists

    Hello

    I need help...

    I created the list using the Cellerender class and the ICellRenderer interface. When I change device orienatation, its not the update list item mean that some elements will not refresh its layout.

    You will need to go through the data provider and replace the item to return to the index for the draw/update methods be re-called with the new width. You can extend the current list class and provide a "Refresh" method that will be called when the focus event fires.

  • Publish on sensitive HTML5 - the substitution of css file

    I use FM 2015 publish on sensitive HTML5. I want to replace with my own CSS file output styles. However, FM generates additional CSS styles that I don't want.

    In the publishing settings, where it says "Manage CSS:" I select "Import" and import my CSS file.

    After import, my styles are loaded correctly. I can click the button change the Style and inspect the values:

    However, when I come and post the output, FM-generated CSS files contains a lot of extra things that interfere with CSS styles, I imported. An excerpt from the CSS file:

    /* FM creates this (I think from the styles in my FM document). I don't want this in the output at all. */
    p.FM_SubTitle {
            Direction:ltr;
    margin-left:     0.000pt;
            margin-right:    0.000pt;
            text-align:      right;
            text-indent:     0.000pt;
            margin-top:      17.000pt;
            margin-bottom:   8.000pt;
            word-spacing:    0.250em;
            font-family:     'Myriad Pro';
            font-style:      normal;
            font-weight:     bold;
            font-size:       14.0pt;
            color:           #000000;
            background-color: none;
            text-decoration:  none  ;
            letter-spacing:  0.00em;
    }
    
    /* This is the CSS from the file I imported. I want this to 
    completely override the normal stuff that FM Publish creates. */
    p.FM_SubTitle {
             
        font-size: 160%;
        font-family: "Segoe UI", "Verdana", "Arial", "Helvetica"; 
        color: #509DE6; 
        margin: 2em 1em; 
        text-indent: 0pt;
        text-align: left;
    }
    

    So my main question - y at - it a way to stop FM ABOUT use of setting shape and only the title of the document using CSS styles, I imported?

    Even if I don't import CSS and use the GUI to 'Change the Style' in the publication settings, FM always generates output of additional style that seems to come from the document.

    One of the big problems that this causes is that I have to specify a bunch of CSS attributes, even if I don't use them to compensate for the stuff that generates the FM.

    As a last resort is just too much to write the CSS file in the generated output of HTML5. However, I must also generate HTML Help, and as far as I know, there is no way to replace the CSS before the help compiler is running (when using publish to HTML Help feature).

    Thank you.

    Hello

    If you want to get rid of the styles of source, then, the CSS files that you provide must have different selectors which is generation FM. When the name of paragraph is subtitle then FM generates p.FM_SubTitle style.

    In this case, you can add a switch for example p.SubTitle in your CSS file, import the file and map your paragraph style style provided in the example subtitle file.

    If your subsection name and the names of CSS styles are the same, you can style automap.

    -> Adds the CSS style in your CSS file. Style doesn't have to be named p.FM_SubTitle.

    p.SubTitle {  
    
        font-size: 160%;
        font-family: "Segoe UI", "Verdana", "Arial", "Helvetica";
        color: #509DE6;
        margin: 2em 1em;
        text-indent: 0pt;
        text-align: left;
    }
    

    -> and then import the file into the parameter editor and map your paragraph styles to the Style in the CSS file.

    You will need to do this for all the styles you don't want a source document.

    Another way may be to create FM model document with the styles you want, and then provide the model of article "use template". The styles from the template document will be produced in the final output.

    Please reply back in case you need more clarity.

    Thank you

  • Add description/help to the entries in the list on a white page

    Hi all

    I'm on a white page, show 3 entries in the list, for each I want to associate a description/help for them. This help/description text should be non-interactive (no hyperlink) and preferably in a different font color. I tried to change the value of the label, but that doesn't help me, as all the text becomes clickable. Help, please

    Thank you
    Mary

    Hello

    Ok...

    1 - first of all, I created a new list template (through the shared components, lists) based on a copy of the existing model "Vertical unordered list with bullets" - I called a "vertical non ordered list» new with chips with comments I changed only TWO parameters in this new model:

    Current model list:

    <li><a href="#LINK#">#TEXT#</a> <span style="color:red">#A01#</span></li>
    

    Model list associated:

    <li><a href="#LINK#" style="color:#A01#">#TEXT#</a> <span style="color:red">#A01#</span></li>
    

    2 - I've updated my entries of the list to include text in the 'User-defined attributes' parameter number 1

    3 - I have edited the list definition to use my new model

    4. I also made sure my region of the page that contains the list using this new model - either by setting the model list to substitute "- use of the list template -" or "vertical unordered list with bullets with comments.

    And that's all I've done

    Andy

  • CSS refresh after javascript DOM change (tab Ajax control) and also refresh the list of objects of Navigation

    Hi all

    When I access a Web page, that I created in the browser or Widget that uses an ASP.NET Ajax Control Toolkit Tabs the action of switching between tabs works well but the tab header does not reflect the change to display the active tab.

    In a standard browser of the tab header will be change / light tone based on the css classnames active Ajax control for settings changes dynamically in the DOM when switching between tabs and I was wondering if maybe the BB browser will not reflect/refresh css when changes on the client side affect the DOM? If that's the case (?) is there a way to force that change somehow?

    Also in the same direction and on the similar question I posted yesterday on switching between Navigation power user mode in a Widget, so javascript client-side dynamically is change the 'x-blackberry-focus' of a DOM object possible to have the change reflected in the Navigation objects? Or is the list of objects that can be traversed only generated load initial page and cannot change without a new post?

    Thank you

    Derek

    I solved the problem with the Ajax Control Toolkit TabContainer uisng having to do a "dummy" DOM change in the TabHeader after that the tab is passed between the tabs then forcing the refresh and repaint the tab headers.

  • Definition of specific CSS on some items in the list of suggested items.

    Hi all

    IM using Jdev 12.1.3 and skin of alta

    I have a text entry field with bound to a method getSuggestItems in pageFlowScope.quickSearchBean AutoSuggestBehavior.

    The method returns a list of items. I want to add a select element at the end of the list and then style it

    Is it still set some specific css for some items in the playlist

    Thanks in advance

    DAT

    Hello

    You can do something like this:

    UL [id ^ = 'it1'] li [_afrlabel ='MySelectItemLabel ']}

    style

    }

    It1 the ID of your InputText and MySelectItemLabel is the label of the element you want to style.

    You can also use _afrvalue instead of _afrlabel.

    It will be useful.

    Kind regards

    Ruben.

Maybe you are looking for