Change the style of a html:option element

I have the following problem: I�m trying to add style to some <html:option> inside a <html:select> element but it only works in FireFox, in Internet Explorer doesn�t work.
My code:
<html:select property="filtroEntrada.formato" name="consultaEntradaForm" styleId="formato" >
                                   <logic:iterate name="consultaEntradaForm" property="filtroEntrada.listaFormato" id="nodoLista" length="${filtroEntrada.listaFormato.length}">
                                                                      <!-- Si el formato tiene la propiedada activo a 1 -->
                                        <logic:equal value="1" name="nodoLista" property="activo">
                                                                                     <html:option value="idFormato" style="font-weight:bold"><bean:write name="nodoLista" property="idFormato"/></html:option>
                                                                                </logic:equal>
                                        <!-- Si el formato no tiene la propiedada activo a 1 -->
                                        <logic:notEqual value="1" name="nodoLista" property="activo">
                                                                           <html:option value="idFormato"><bean:write name="nodoLista" property="idFormato"/></html:option>
                                                                      </logic:notEqual>
                                   </logic:iterate>
                              </html:select>
I tried with styleClass and with style, but none of them worked. I also tried <span>...
Thanks

I was able to set the font in Internet Explorer on the html:select statement
<html:select style="font-family:monospace;font-size: 1.2em;" >
In Firefox, I had to put it on the html:option statement
By putting on both statements, it worked in both I.E. and Firefox.

Similar Messages

  • I can not change the style of a pencil,brush, or pen. The options are greyed out. Anyone know what I am doing wrong???

    I can not change the style of a pencil,brush, or pen. The options are greyed out. Anyone know what I am doing wrong???

    Hi,
    Stroke styles are disabled in HTML5 Canvas document type as the target platform doesn't support those. Please check your document tab if it reads '<yourfilename> (Canvas)' then you have created a HTML5 Canvas document.
    If you have created HTML5 document by mistake, then you can copy paste your layers into AS3 document then you can change the stroke style to your desired option.
    Thanks!
    Mohan

  • Is it possible to change the background color of some options in drop-down

    Is is possible to change the backgound color of certain options in a a drop-down list?
    For example in the list below I would like the background color to be yellow for Jason, John, and Roger:
    Heather
    Jason
    John
    Keith
    Linda
    Roger

    Hi,
    One way is use jQuery.
    Here is sample
    http://apex.oracle.com/pls/otn/f?p=40323:54
    I have this on page HTML header
    <script type="text/javascript">
    $(function(){
    $('#P54_EMP option').each(function(i){
      if(this.value=='KING'||this.value=='SCOTT'){
       $(this).css({'background-color':'yellow'});
    </script>This might help how install jQuery to Apex
    http://www.oracleapplicationexpress.com/tutorials/66
    Or you can just load it from Google by adding this also to page HTML header or page template
    <script src="http://www.google.com/jsapi"></script>
    <script type="text/javascript">
      google.load("jquery", "1.4.2");
    </script>Br,Jari

  • Where can I change the style for a subtab?

    Where can I change the style for a subtab? I can�t find the Style Element Property for this. I only want to change the text size (the automatic size is too large form my page)... can someone help me???????.. thanks

    Hi there
    Well, this is a yes and no answer.
    Yes, you could change an icon, But no, RoboHelp won't make it easy. What you will end up doing is massaging the JavaScript code for the WebHelp output. This particular change isn't really for the faint of heart. Oh, and you would likely have to change it each time you generate your WebHelp output.
    I would encourage you (and others) to consider submitting a Wish Form to ask Adobe to put this on their radar for a future version.
    http://www.adobe.com/go/wish
    Cheers... Rick

  • How can I change the style of a row in tableview?

    Hi,
    How can I change the style of a row in tableview, for example ,I have 10 items in table view, and I'd like to change row 1,4,10 background-color:red; font-family:Arial ,Font-Weight:BOLD.
    Any suggestion?

    Yes, I knew how can I change the style using cell factory. there is a lot of work to do if it has so many columns in table view. we need to implement every cell factory, Do we have a simple way to change the whole row style , just like fabsav said, I 'd like to set the special row like this line:
    tableview.getItems().get(i).setStyle("myRowstyle"); And I found a bug if I implement my functionality with cell factory way, I can't change the cell style after rendering cell.
    protected void updateItem(Object object, boolean empty) {
          super.updateItem(object, empty);
    }updateItem() was only triggered while cell is being rendering, there is no way if I'd like to change the cell style after rendering event.
    Hi fabsav, How can I apply a CSS class to a specific row? Can you please provide a short example?
    Edited by: imtoocute on Aug 28, 2012 10:31 AM

  • Can't seem to change the Document Properties Advanced Reading Options in a Form that was created in Adobe LiveCycle. This option has been "greyed" out - anyone know how to update this to English so I can pass Accessibility Testing?

    Can't seem to change the Document Properties > Advanced > Reading Options in a Form that was created in Adobe LiveCycle. This option has been "greyed" out - anyone know how to update this to English so I can pass Accessibility Testing?

    LiveCycle forms use a very different approach to create a PDF form than Acrobat and that approach makes many features for processing PDFs non-functional.
    You might want to ask this question in one of the LiveCycle product forums.

  • I have imported an mp3 to my Library.  I want to keep it as media kind = podcast but no matter how often I change the tag in get info options media kind, the change will not persist.

    I have imported an mp3 to my Library.  I want to keep it as media kind = podcast but no matter how often I change the tag in get info > options > media kind, the change will not persist, and the file remains in my Music list not my Podcast list.

    Resolved in update.

  • How can i change the settings of play/pause in Elements 13?

    Hello!
    How can i change the settings of play/pause in Elements 13? I definitely need cursor back to the "start play" point each time i hit stop (spacebar), like it works in Sony Vegas or in most of audio editing software. Can somebody help?
    Thanks!

    invasion 21
    The following is a copy of the reply that I posted to your question earlier today in the Adobe Premiere Pro Forum
    invasion21
    You are in the Adobe Premiere Pro Forum. What is your program? Is that Premiere Elements 13? If so, you are in the wrong forum where
    Premiere Pro answers may not be appropriate for your Premiere Elements (any version) question.
    You are not going to find what you are looking for in Premiere Elements preference settings.
    You write
    I WANT it playhead jump back to start play position, when i hit spacebar for pause.
    You can maneuver yourself into that through Edit Menu/Keyboard Customization/Applications/ and its Help category which by
    default shows
    Go to Timeline/Clip Start, using Home
    and
    Play/Pause Toggle, using Space
    But, you may find it is best to leave well enough alone. Explore and experiment with changing the keyboard shortcuts for the commands and decide what works for you.
    ATR

  • [svn:bz-trunk] 20754: My latest EndpointPushNotifier change changed the style of the code quite a bit  (sorry for that, it was my IDE settings getting in the loop here) I only changed one char line 389.

    Revision: 20754
    Revision: 20754
    Author:   [email protected]
    Date:     2011-03-10 03:36:05 -0800 (Thu, 10 Mar 2011)
    Log Message:
    My latest EndpointPushNotifier change changed the style of the code quite a bit (sorry for that, it was my IDE settings getting in the loop here) I only changed one char line 389.
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/client/EndpointPushNotifier.java

    I seem to have fixed it by putting <div  class="clearfloat"></div> after the navigation bar?

  • How can i change the style of javascript alert

    how to change the alert style of javascript is there any way to change the style of alert window please mail me at [email protected]

    Anyway.. Because you asked..
    There is NO way to do this.
    Alerts from Javascript is a browser native call. Look and feel depends on implementing browser.

  • Can i change the file extension from .html to .cfm in Muse?

    Can I change the file extension from .html to .cfm in Muse?  Then I could use my old file names.

    Muse only supports .html as a page extension at this time.
    Thanks,
    Vinayak

  • How do I change the style of a subset of rows inside a Datagrid?

    How do I change the style of a subset of rows inside a
    Datagrid? I have tried dgExample.selectedItem.fontWeight="bold" but
    that does not work. What should I do?
    Please help.

    I see where you mean but I'm not familiar with the 'language'
    of CSS. Currently, the background of the body (or probably the div
    container) is set to none on this page. So visually, I have a white
    background with black letters. I want to place a gradient image in
    this container instead of the 'none'. The coding with "none isn't
    even the CSS code because I vaguely remember deleted it because I
    thought I would never need it. So can you tell the CSS code I need
    to place this image in the #container (I think that's where it
    should go) and where? Thanks. I've included the little piece of
    code where I think it should go in somewhere. Thanks for the help.
    <link href="../CSS/twoColFixLtHdr.css" rel="stylesheet"
    type="text/css" /><!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional
    comment */
    .twoColFixLtHdr #sidebar1 { width: 230px; }
    </style>
    <![endif]--><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional
    comment */
    .twoColFixLtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixLtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout
    it needs to avoid several bugs */
    </style>
    <![endif]-->
    <style type="text/css">
    <!--
    -->
    </style>
    <link href="../css/global.css" rel="stylesheet"
    type="text/css" />
    <script src="../SpryAssets/SpryMenuBar.js"
    type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarHorizontal.css"
    rel="stylesheet" type="text/css" />
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    </head>
    Lou
    quote:
    Originally posted by:
    Newsgroup User
    Redefine the CSS for ".twoColFixLTHDR #container" in the page
    itself,
    below the link to the external style sheet.
    JMS

  • How do I change the raw image to jpeg with element 6

    How do I change the raw image to jpeg using element 6?  I am using a canon 10D camera.

    From the Editor choose:
    File >> Open
    Then navigate to your raw file
    When the image appears in the converter use the sliders to make your raw adjustments, then click open image.
    From the Editor use:
    File >> Save As >> jpeg
     

  • Word Crashes after changing the style of 'Bullets'

    Hi,
    I hope someone can help me this problem. The problem occurs when I use Microsoft Word 2004 for Mac.
    Word crashes when I go into the Formatting Palette > Bullets and Numbering and then try to change the style of the bullet. I noticed that in the drop down box of bullet styles there are two or three blanks spaces rather than an actual bullet. Then when I move the mouse over the blank entries in order to click on an actual bullet style, Word crashes.
    Should I uninstall Word and then reinstall it? Or is there a much simpler way of fixing the problem?
    I have only had my MacBook for 10 days and I am already having so many problems with Microsoft Word.
    Thanks in advance.
      Mac OS X (10.4.9)  

    Since Word is not an Apple product, you'll get better response if you use a forum dedicated to Microsoft's Mac products such as <http://groups.google.com/groups/dir?sel=33607053> rather than an Apple forum.
    Be sure to search the forum first in case someone has already had a similar question answered. You'll get your answer faster this way. Post your question in the forum if you don't find anything that helps you.

  • How to change the style of the main application window shell

    Hello,
    I am migrating my application from eclipse 3.x to eclipse 4.3 and I want to set the style of the main application window i.e. the shell that is created in application MTrimmedWindow in e4.
    Earlier we were doing it using
    IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
    configurer.setInitialSize(new Point(0, 0));
    configurer.setShowCoolBar(false);
    configurer.setShowStatusLine(false);
    configurer.setShellStyle(SWT.DIALOG_TRIM | SWT.RESIZE);
    But now in e4 application after reading some forum replies I got to know that custom renderer needs to be created for that.
    I created my own renderer extending WBWRenderer and as I wanted to change the style of shell I am overriding createWidget method.
    Now the problem is that if I am just creating a new shell in this createWidget method then it is not working. Might be because this method has a lot of other code also.
    So I copied all this code into my overridden method of createWidget & just changed the style of shell according to my need. Then this worked but for this I have to put some private methods also into my custom renderer class from WBWRenderer.
    SO my question is to confirm that if I am doing it in a right way?
    or is there any other mechanism to do this in a more efficient way?
    Thanks

    This can now be solved with a specific "persisted state" key flag, as documented in https://bugs.eclipse.org/bugs/show_bug.cgi?id=386951 . For example to realize a NO_TRIM window, add the key/value styleOverride/8, where 8 is the value if you get the numeric of
    int val = SWT.NO_TRIM;
    System.out.println(val);
    Hey Zugi: Liebe Grüsse! Master UIBK/2010

Maybe you are looking for

  • Sales Agreement workflow errored on 3205: is not a valid role or user name.

    Hi experts, We're currently on EBS R12.1.2 We're running into an issue that seems like a very general issue that other businesses would have encountered before. We have a business user who creates most of sales agreements. When this business user lef

  • User level grants

    Hi all, I created two users with following commands after login in SYSTEM CREATE USER ABC IDENTIFIED BY pwd ; GRANT CONNECT,RESOURCE,DBA TO ABC; CREATE USER xyz IDENTIFIED BY pwd ; GRANT CONNECT xyz; I want to give previlages of only select on the da

  • EDIT AGGREGATION RULE IN ANSWER FOR A MEASURE

    Hello Experts, I have a measure in my fact table which is a "price" and I don't want to set up a default aggregation (sum, avg, max, min...etc) in my Business Model (Administrator). I want the user to be able to set an "Aggregation Rule" in Answers t

  • Error Message : Missing render ?

    "This project was last used with Mercury Engine GPU Acceleration which is not available on this system. Mercury Playback Engine Software only will be used." The Mercury Engine has been working on this system for 4 weeks why would it not now work ? Th

  • WiFi Store downloads to Computer Sync issue

    I searched the forums for this problem and no actual answer came up... I bought a song from the iTunes WiFi store and want to put it on my Mac. I plugged it in (I manually sync my songs) and then, after right-clicking on the iPod, selected "Transfer