How to apply Layer Styles?

I'd like to apply do an "Add Layer Style"/"Stroke" on the active document layer. I can't find any more documentation on how to do this than:
applyStyle (styleName)
string Applies the specified style to the
layer.
Note: You must use a style from
the Styles list in the Layer
Style dialog.
What would the styleName string be for a stroke? How would I specify color, size, and "position"?
Frankly, I'm not even sure this is the right command... Thanks.

Hello fellow members,
I am a beginner on photoshop and was after a specific action. I want to create a photo that has been taken in colour, convert it to black and white, but have one specific item in the picture in colour eg a bunch of flowers or lips or eyes. I have been told it is something to do with layers, but this is not helpful to me. Can anyone help with some (simple) instructions as to how I can acheive this.
Thanks, anita

Similar Messages

  • Having problem with applying layer style "stroke" to group

    - Windows 8.1 / 64bit
    - i3-4150 / 4GB / Geforce GTX 750 TI
    - Photoshop CC 2014
    Hi!
    I don't know why, but there is some problem that applying layer style "stroke" to group.
    When i make a group with some layer and apply to group a layer style-stroke with inside option,
    the strokes looks like grid are generated inside.
    Why i said that stroke cross to ㅎrid, because it looks like grid if i make that group bigger.
    (that black square is 'Rectangle 1' layer. Just resizing bigger than before)
    Does anyone have same problem with me?
    Please, I need your help..

    pillfish wrote:
    I am having the same problem. it happens every time in cc and cc 2014. I am back using cs6. Which seems to run better on the whole.
    That's interesting. And this is happening with CC and CC 2014?  Do you have all the updates for the Photoshop CC versions?
    I've just tried to duplicate it without success, (windows 7, GTX570) so I wonder if there is a condition that triggers it?  Unfortunately, with this being such an old thread, the only person still around is R Kelly.
    OK, I just thought to try it on my Cintiq Companion 2, which has Windows 8.1 and Intel 5100, and the bug occurred. I actually got as far as firing up my Win 8.1 laptop before remembering that I had to sign out of CC to put it on my Cintiq, so I only have CS6 on it.
    Anyway....  looks like the bug is still there.  Are you using Win 8.1?

  • How to apply paragraph styles to xml tag?

    Hi All,
    How to apply paragraph style to xml tag?

    Hi Learner,
    Try the below js code.
    var myDoc = app.activeDocument;
    try{
        mySel=app.selection[0];
        myDoc.xmlElements[0].xmlElements.add({markupTag:"TEST", xmlContent:mySel});
        }catch(e){
            alert(e);
    var myDocument = app.activeDocument;
    app.findGrepPreferences.appliedParagraphStyle = "test";
    app.findGrepPreferences.findWhat = ".+(?=\\r)"
    var mySearch = myDocument.findGrep(false);
    for (a=0; a<mySearch.length; a++){
        myDocument.xmlElements[0].xmlElements.add({markupTag:"TEST", xmlContent:mySearch[a]});
    thx,
    csm_phil

  • Apply layer style

    apply layer style layer1 using "Sunset Sky (Text)"
    The above statement works for me in Photoshop
    In the same way, Is there way that I can
    apply layer style art layer using "Bevel and Emboss"
    i.e., Layer--> Layer Style -->Bevel and Emboss-->Style(set to Outer Bevel)

    With the scriptlistner plugin installed create an outerbevel with the settings you require. Then before doing anything else in Photoshop open the scriptlistnerJS log and find the last entry. It should look something like this. This is an outerbevel with the default settings.
    // =======================================================
    var idsetd = charIDToTypeID( "setd" );
        var desc9074 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref109 = new ActionReference();
            var idPrpr = charIDToTypeID( "Prpr" );
            var idLefx = charIDToTypeID( "Lefx" );
            ref109.putProperty( idPrpr, idLefx );
            var idLyr = charIDToTypeID( "Lyr " );
            var idOrdn = charIDToTypeID( "Ordn" );
            var idTrgt = charIDToTypeID( "Trgt" );
            ref109.putEnumerated( idLyr, idOrdn, idTrgt );
        desc9074.putReference( idnull, ref109 );
        var idT = charIDToTypeID( "T   " );
            var desc9075 = new ActionDescriptor();
            var idScl = charIDToTypeID( "Scl " );
            var idPrc = charIDToTypeID( "#Prc" );
            desc9075.putUnitDouble( idScl, idPrc, 416.666667 );
            var idebbl = charIDToTypeID( "ebbl" );
                var desc9076 = new ActionDescriptor();
                var idenab = charIDToTypeID( "enab" );
                desc9076.putBoolean( idenab, true );
                var idhglM = charIDToTypeID( "hglM" );
                var idBlnM = charIDToTypeID( "BlnM" );
                var idScrn = charIDToTypeID( "Scrn" );
                desc9076.putEnumerated( idhglM, idBlnM, idScrn );
                var idhglC = charIDToTypeID( "hglC" );
                    var desc9077 = new ActionDescriptor();
                    var idRd = charIDToTypeID( "Rd  " );
                    desc9077.putDouble( idRd, 255.000000 );
                    var idGrn = charIDToTypeID( "Grn " );
                    desc9077.putDouble( idGrn, 255.000000 );
                    var idBl = charIDToTypeID( "Bl  " );
                    desc9077.putDouble( idBl, 255.000000 );
                var idRGBC = charIDToTypeID( "RGBC" );
                desc9076.putObject( idhglC, idRGBC, desc9077 );
                var idhglO = charIDToTypeID( "hglO" );
                var idPrc = charIDToTypeID( "#Prc" );
                desc9076.putUnitDouble( idhglO, idPrc, 75.000000 );
                var idsdwM = charIDToTypeID( "sdwM" );
                var idBlnM = charIDToTypeID( "BlnM" );
                var idMltp = charIDToTypeID( "Mltp" );
                desc9076.putEnumerated( idsdwM, idBlnM, idMltp );
                var idsdwC = charIDToTypeID( "sdwC" );
                    var desc9078 = new ActionDescriptor();
                    var idRd = charIDToTypeID( "Rd  " );
                    desc9078.putDouble( idRd, 0.000000 );
                    var idGrn = charIDToTypeID( "Grn " );
                    desc9078.putDouble( idGrn, 0.000000 );
                    var idBl = charIDToTypeID( "Bl  " );
                    desc9078.putDouble( idBl, 0.000000 );
                var idRGBC = charIDToTypeID( "RGBC" );
                desc9076.putObject( idsdwC, idRGBC, desc9078 );
                var idsdwO = charIDToTypeID( "sdwO" );
                var idPrc = charIDToTypeID( "#Prc" );
                desc9076.putUnitDouble( idsdwO, idPrc, 75.000000 );
                var idbvlT = charIDToTypeID( "bvlT" );
                var idbvlT = charIDToTypeID( "bvlT" );
                var idSfBL = charIDToTypeID( "SfBL" );
                desc9076.putEnumerated( idbvlT, idbvlT, idSfBL );
                var idbvlS = charIDToTypeID( "bvlS" );
                var idBESl = charIDToTypeID( "BESl" );
                var idOtrB = charIDToTypeID( "OtrB" );
                desc9076.putEnumerated( idbvlS, idBESl, idOtrB );
                var iduglg = charIDToTypeID( "uglg" );
                desc9076.putBoolean( iduglg, true );
                var idlagl = charIDToTypeID( "lagl" );
                var idAng = charIDToTypeID( "#Ang" );
                desc9076.putUnitDouble( idlagl, idAng, 120.000000 );
                var idLald = charIDToTypeID( "Lald" );
                var idAng = charIDToTypeID( "#Ang" );
                desc9076.putUnitDouble( idLald, idAng, 30.000000 );
                var idsrgR = charIDToTypeID( "srgR" );
                var idPrc = charIDToTypeID( "#Prc" );
                desc9076.putUnitDouble( idsrgR, idPrc, 100.000000 );
                var idblur = charIDToTypeID( "blur" );
                var idPxl = charIDToTypeID( "#Pxl" );
                desc9076.putUnitDouble( idblur, idPxl, 5.000000 );
                var idbvlD = charIDToTypeID( "bvlD" );
                var idBESs = charIDToTypeID( "BESs" );
                var idIn = charIDToTypeID( "In  " );
                desc9076.putEnumerated( idbvlD, idBESs, idIn );
                var idTrnS = charIDToTypeID( "TrnS" );
                    var desc9079 = new ActionDescriptor();
                    var idNm = charIDToTypeID( "Nm  " );
                    desc9079.putString( idNm, "Linear" );
                var idShpC = charIDToTypeID( "ShpC" );
                desc9076.putObject( idTrnS, idShpC, desc9079 );
                var idantialiasGloss = stringIDToTypeID( "antialiasGloss" );
                desc9076.putBoolean( idantialiasGloss, false );
                var idSftn = charIDToTypeID( "Sftn" );
                var idPxl = charIDToTypeID( "#Pxl" );
                desc9076.putUnitDouble( idSftn, idPxl, 0.000000 );
                var iduseShape = stringIDToTypeID( "useShape" );
                desc9076.putBoolean( iduseShape, false );
                var iduseTexture = stringIDToTypeID( "useTexture" );
                desc9076.putBoolean( iduseTexture, false );
            var idebbl = charIDToTypeID( "ebbl" );
            desc9075.putObject( idebbl, idebbl, desc9076 );
        var idLefx = charIDToTypeID( "Lefx" );
        desc9074.putObject( idT, idLefx, desc9075 );
    executeAction( idsetd, desc9074, DialogModes.NO );
    You need to include all of those lines in the code that you call with your applescript.

  • How to active Layer Style?

    How to active Layer Style and set some property?

    I don't know of any way to turn Layer Styles on directly. You could use the menu command:
      var myLayer = app.project.activeItem.selectedLayers[0];
      app.executeCommand(app.findMenuCommandId("Drop Shadow"));
      myLayer.layerStyle.dropShadow.distance.setValue(10);
    This assumes that the comp has focus and the layer is selected though. You can force these conditions if you have CS6 (see the Viewer object in the CS6 Scripting Guide).
    Dan

  • How to apply different styles to multiple spry accordian panels?

    Hi all,
    I have a website that I'm building that has multiple spry accordian features on it.
    I am trying to apply different styles to each accordian. A problem arises when I try to place an accordian within another accordian.
    I have styled two different background images for two of the accordians for the styles (AccordionPanelTab, AccordionPanelTabHover and AccordionPanelOpen AccordionPanelTabHover) which work fine.
    When I try and place an accordian within another accordian the background image for this accordian for the styles (AccordionPanelTab and AccordionPanelOpen AccordionPanelTabHover) has the different style applyed that I stated in the accordion.css file, however the style (AccordionPanelTabHover) has the same style as the accordian it is within even though in the accordion.css file I stated a different background image.
    I hope all this makes sence below is my source and CSS Code.
    I appriciate any help that can be given to help resolve this issue I am running in too.
    Source Code
    <div id="content">
    <p><span class="first_header_word_packages">Welcome</span> <span class="header_word_packages">to our packages page</span></p>
    <p class="content_txt">Here you can build the website package that matches your business needs as well as being able to work out the cost of your site without having to worry about scary hidden costs at a later date.</p>
    <p class="content_txt"> We have two packages available for our customers;</p>
    <div id="Accordion1" class="Accordion" tabindex="0">
      <div class="AccordionPanel">
        <div class="AccordionPanelTab"></div>
        <div class="AccordionPanelContent">
       <p>Text Goes Here</p>
        <div id="Accordion2" class="Accordion" tabindex="0">
          <div class="AccordionPanel">
        <div class="AccordionPanelTab"></div>
        <div class="AccordionPanelContent">
        <p>Text Goes Here</p>
        </div><!-- end #Accordion2 Content -->
      </div><!-- end #AccordionPanel -->
    </div><!-- end #Accordion2 -->
        </div><!-- end #Accordion1 Content -->
      </div><!-- end #AccordionPanel -->
    </div><!-- end #Accordion1 -->
    <div id="Accordion3" class="Accordion" tabindex="0">
      <div class="AccordionPanel">
        <div class="AccordionPanelTab"></div>
        <div class="AccordionPanelContent">
             <p>Text Goes Here</p>
          <div id="Accordion4" class="Accordion" tabindex="0">
            <div class="AccordionPanel">
        <div class="AccordionPanelTab"></div>
        <div class="AccordionPanelContent">
         <p>Text Goes Here</p>
        </div><!-- end #Accordion4 Content -->
      </div><!-- end #AccordionPanel -->
    </div><!-- end #Accordion4 -->
        </div><!-- end #Accordion3 Content -->
      </div><!-- end #AccordionPanel -->
    </div><!-- end #Accordion3 -->
    </div><!-- end #content -->
    CSS
    @charset "UTF-8";
    /* SpryAccordion.css - version 0.5 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    /* This is the selector for the main Accordion container. For our default style,
    * we draw borders on the left, right, and bottom. The top border of the Accordion
    * will be rendered by the first AccordionPanelTab which never moves.
    * If you want to constrain the width of the Accordion widget, set a width on
    * the Accordion container. By default, our accordion expands horizontally to fill
    * up available space.
    * The name of the class ("Accordion") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style the
    * Accordion container.
    .Accordion {
              border-left: solid 1px gray;
              border-right: solid 1px black;
              border-bottom: solid 1px gray;
              overflow: hidden;
    /* This is the selector for the AccordionPanel container which houses the
    * panel tab and a panel content area. It doesn't render visually, but we
    * make sure that it has zero margin and padding.
    * The name of the class ("AccordionPanel") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style an
    * accordion panel container.
    .AccordionPanel {
              margin: 0px;
              padding: 0px;
    /* This is the selector for the AccordionPanelTab. This container houses
    * the title for the panel. This is also the container that the user clicks
    * on to open a specific panel.
    * The name of the class ("AccordionPanelTab") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style an
    * accordion panel tab container.
    * NOTE:
    * This rule uses -moz-user-select and -khtml-user-select properties to prevent the
    * user from selecting the text in the AccordionPanelTab. These are proprietary browser
    * properties that only work in Mozilla based browsers (like FireFox) and KHTML based
    * browsers (like Safari), so they will not pass W3C validation. If you want your documents to
    * validate, and don't care if the user can select the text within an AccordionPanelTab,
    * you can safely remove those properties without affecting the functionality of the widget.
    .AccordionPanelTab {
              background-color: #CCCCCC;
              border-top: solid 1px black;
              border-bottom: solid 1px gray;
              margin: 0px;
              padding: 2px;
              cursor: pointer;
              -moz-user-select: none;
              -khtml-user-select: none;
    /* This is the selector for a Panel's Content area. It's important to note that
    * you should never put any padding on the panel's content area if you plan to
    * use the Accordions panel animations. Placing a non-zero padding on the content
    * area can cause the accordion to abruptly grow in height while the panels animate.
    * Anyone who styles an Accordion *MUST* specify a height on the Accordion Panel
    * Content container.
    * The name of the class ("AccordionPanelContent") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style an
    * accordion panel content container.
    .AccordionPanelContent {
              overflow: auto;
              margin: 0px;
              padding: 0px;
    /* This is an example of how to change the appearance of the panel tab that is
    * currently open. The class "AccordionPanelOpen" is programatically added and removed
    * from panels as the user clicks on the tabs within the Accordion.
    .AccordionPanelOpen .AccordionPanelTab {
              background-color: #EEEEEE;
    /* This is an example of how to change the appearance of the panel tab as the
    * mouse hovers over it. The class "AccordionPanelTabHover" is programatically added
    * and removed from panel tab containers as the mouse enters and exits the tab container.
    .AccordionPanelTabHover {
              color: #555555;
    .AccordionPanelOpen .AccordionPanelTabHover {
              color: #555555;
    /* This is an example of how to change the appearance of all the panel tabs when the
    * Accordion has focus. The "AccordionFocused" class is programatically added and removed
    * whenever the Accordion gains or loses keyboard focus.
    .AccordionFocused .AccordionPanelTab {
              background-color: #3399FF;
    /* This is an example of how to change the appearance of the panel tab that is
    * currently open when the Accordion has focus.
    .AccordionFocused .AccordionPanelOpen .AccordionPanelTab {
              background-color: #33CCFF;
    /* Rules for Printing */
    @media print {
      .Accordion {
      overflow: visible !important;
      .AccordionPanelContent {
      display: block !important;
      overflow: visible !important;
      height: auto !important;
    #Accordion1  .AccordionPanelTab {
    height:75px;
    width:285px;
    background:url(../images/package_spry_tab_bg1.png);}
    #Accordion1 .AccordionPanelTabHover,
    #Accordion1 .AccordionPanelOpen .AccordionPanelTabHover {
    background:url(../images/package_spry_tab_bg1_RO.png);}
    #Accordion2  .AccordionPanelTab {
    height:44px;
    width:469px;
    background:url(../images/packages_spry1.png);}
    #Accordion2 .AccordionPanelTabHover,
    #Accordion2 .AccordionPanelOpen .AccordionPanelTabHover {
    background:url(../images/packages_spry1_ro.png);}
    #Accordion3  .AccordionPanelTab {
    height:75px;
    width:285px;
    background:url(../images/package_spry_tab_bg2.png);}
    #Accordion3 .AccordionPanelTabHover,
    #Accordion3 .AccordionPanelOpen .AccordionPanelTabHover {
    background:url(../images/package_spry_tab_bg2_RO.png);}
    #Accordion4  .AccordionPanelTab {
    height:44px;
    width:469px;
    background:url(../images/packages_spry2.png);}
    #Accordion4 .AccordionPanelTabHover,
    #Accordion4 .AccordionPanelOpen .AccordionPanelTabHover {
    background:url(../images/packages_spry2_ro.png);}

    Okay guys,
    I figured it out, if anyone was having the same problem as me and looking on this thread for the answer, here it is.
    Firstly if you're wanting to seperatly style two or more Spry Accordions that are not within each other e.g.
    <div id="Accordion1" class="Accordion" tabindex="0">
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Label 1</div>
        <div class="AccordionPanelContent">
       <p>Content Goes Here </p>
    </div><!-- end #Accordion1 Content -->
      </div><!-- end #Accordion1 .AccordionPanel -->
    </div><!-- end #Accordion1 -->
    <div id="Accordion2" class="Accordion" tabindex="0">
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Label 1</div>
        <div class="AccordionPanelContent">
       <p>Content Goes Here </p>
    </div><!-- end #Accordion2 Content -->
      </div><!-- end #Accordion2 .AccordionPanel -->
    </div><!-- end #Accordion2 -->
    You don't have to do this, as long as you have seperate ID's for the divs (which dreamweaver automatically does anyway) you'll be fine.
    However if for some reason you want to put one accordion inside another like I did e.g.
    <div id="Accordion1" class="Accordion" tabindex="0">
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Label 1</div>
        <div class="AccordionPanelContent">
       <p>Content Goes Here </p>
    <div id="Accordion2" class="Accordion" tabindex="0">
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Label 1</div>
        <div class="AccordionPanelContent">
       <p>Content Goes Here </p>
    </div><!-- end #Accordion2 Content -->
      </div><!-- end #Accordion2 .AccordionPanel -->
    </div><!-- end #Accordion2 -->
    </div><!-- end #Accordion1 Content -->
      </div><!-- end #Accordion1 .AccordionPanel -->
    </div><!-- end #Accordion1 -->
    Too style Accordian 1 & 2 so their tabs both have different backgrounds and Hover background when the content panel is open and closed you have to style it in the CSS they following way;
    CSS
    #Accordion1  .AccordionPanelTab {
    height:75px;
    width:285px;
    background:url(../images/package_spry_tab_bg.png);}
    #Accordion1 .AccordionPanelTabHover,
    #Accordion1 .AccordionPanelOpen .AccordionPanelTabHover {
    height:75px;
    width:285px;
    background:url(../images/package_spry_tab_bg_RO.png);}
    #Accordion2  .AccordionPanelTab {
    height:44px;
    width:469px;
    background:url(../images/packages_spry.png);}
    #Accordion2 .AccordionPanelClosed .AccordionPanelTabHover,
    #Accordion2 .AccordionPanelOpen .AccordionPanelTabHover {
    height:44px;
    width:469px;
    background:url(../images/packages_spry_ro.png);}
    Normally when styling two seperate spry accordions you can just use the following code
    #Accordion1  .AccordionPanelTab {
    height:75px;
    width:285px;
    background:url(../images/package_spry_tab_bg.png);}
    #Accordion1 .AccordionPanelTabHover,
    #Accordion1 .AccordionPanelOpen .AccordionPanelTabHover {
    height:75px;
    width:285px;
    background:url(../images/package_spry_tab_bg_RO.png);}
    The only difference with styling a Spry accordion within another to ensure they have different hover backgrounds when the content panel is open and closed is ".AccordionPanelClosed".
    Hope this helped anyone who was having the same issue I was.

  • How to apply different styles to Portlets on the same Portal page?

    How do you apply different styles to Portlets on the same Portal page?
    I'm new to this kind of thing, but understand that something called "cascading style sheets" can help here?
    What are these, how do you use them, and can you make different Portlets (all types - PL/SQL, Java, Applications, etc) on the same Portal page have different styles assigned?
    Thanks!

    Jeff,
    Apply Oracle Portal styles at the region level. Your portlets within each region will inherit the style defined for the region.
    You may want to check out Report #40050 at portalcenter.oracle.com, "Design an Attractive and Compelling Portal Interface" for a good overview of the various design features of Oracle Portal.
    Here is the link:
    http://portalcenter.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/OTN_CONTENT/MAINPAGE/OWSF_2003_PAPERS/40050_STOVER.PDF
    Regards,
    Jay

  • How to apply different styles to multiple spry collapsible panels?

    Hello every.
    I would really appreciate some help with this problem I am coming up against.
    I am creating a website which has multiple Spry collapsible panels in it. I applied the styles I wanted for the first Spry collapsible panel I did in the styles panel with no problems what so ever.
    However when I go to apply the styles I want for my second and every other Spry collapsible panel, when I applied the style I wanted it changed the first panel I did. I’ve tried giving all my collapsible panels different Div ID’s but no luck. I just can’t seem to apply different styles to each of my collapsible panels.
    Can someone please advise me how to do this?
    Thank you in advance for your help.
    Kind regards
    Elliot

    I've figured the most of it out.
    By giving the Spry Collapsible Panel that you want to style differently a separate ID and class and then duplicating the original Spry Collapsible Panel style in the CSS style panel on the right and renaming them the same name as the panel you want to style differently it will allow you to style it differently to all the other panels apart from the Hover.
    I've tried everything! Below is the code I'm using for the two Collapsible Panels I want to style Differently.
    I only want to have different Tab backgrounds and Hover backgrounds
    1st Spry CollapsiblePanel
    Code:
    <div id="CollapsiblePanel1" class="CollapsiblePanel">
        <div class="CollapsiblePanelTab" tabindex="0">Tab</div>
        <div class="CollapsiblePanelContent">Content</div>
    CSS Style
    .CollapsiblePanelTab
    .CollapsiblePanelTabHover, .CollapsiblePanelOpen .CollapsiblePanelTabHover
    2nd Spry CollapsiblePanel
    Code:
    <div id="CollapsiblePanel2" class="CollapsiblePanel2">
      <div class="CollapsiblePanel2Tab" tabindex="0">Tab</div>
      <div class="CollapsiblePanel2Content">Content</div>
    </div>
    .CollapsiblePanel2Tab
    .CollapsiblePanel2TabHover, .CollapsiblePanelOpen .CollapsiblePanel2TabHover
    As I said the Tab works both I have two seperate background images for the Tabs but I can only seem to have one background for the hover.
    Has anyone any ideas on how to get around this?
    Kind regards
    Elliot

  • How to apply CSS style values to h:messages ?

    Hi Folks,
    I'm quite new to JSF development. What I'm currently trying to do, is to apply a CSS style for a <h:messages> tag:
    <h:messages globalOnly="true" style="color: red;" layout="table" />Unfortunately the style "color: red;" is not being applied to the generated HTML table (or list):
    <table>
       <tr>
          <td>My Error Message!</td>
       </tr>
    </table>But I assume the generated HTML should rather look something like this:
    <table style="color: red;">
       <tr>
          <td>My Error Message!</td>
       </tr>
    </table>I'm using MyFaces 1.1.3 with Tomcat 5.5. Is this maybe a bug in MyFaces?
    Salute

    We speak HTML here.
    Let's see what you have tried so far, please.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Buescorpmtf" <[email protected]> wrote in
    message
    news:g3p16e$j03$[email protected]..
    >I have been trying to apply a simple CSS style of a
    rounded border to my
    >web
    > pages. I received the coding and images from
    http://www.roundedcornr.com.
    > I
    > downloaded the images and linked them in the CSS style
    editor. I tried to
    > apply the style to the webpage/container, but it won't
    apply. This seems
    > like
    > a pretty simple task, but I can not get it done.
    >
    > Does anyone know how to do this? Step by Step and in
    plain English? :)
    >
    > Thanks
    >

  • PSE7, xp, how to load layer styles? no .db3 file found

    I have read all kinds of information about how to load custom layer styles and I've come to the conclusion that I need to install all styles into the folder where the other styles live (presets>styles) and I need an .xml file for each style to see the style in elements program and I need to delete the original .db3 file and let elements rebuild it when it opens but I cannot find an original .db3 file...anywhere.  Nor do I have any existing .xml files that coordinate with the original layer styles to manipulate for the new layer styles.  What am I missing?

    Hi,
    You would have to follow these steps -
    Hi,
    These steps would help you get them back.
    1 - Quit Elements
    2 - Go to the path - C:\Documents and Settings\All Users\Application Data\Adobe\Photoshop Elements\6.0\Locale\en_US (for XP)
    { or Vista - C:\ ProgramData\ Adobe\ Photoshop Elements\ 6.0\ Locale\ en_US\ }
    (If you aren't in the US, use the appropriate Locale)
    Note that the "Application Data" is a hidden directory, so you will have to enable "Show hidden files and folders" in the Folder Options in order to be able to see it.
    3 - You should see a file named MediaDatabase.db3. Rename the file to something else, such as MediaDatabase.old
    4 - Restart the Elements Editor. You will see it rebuilding the database. Do not touch anything. It will take a while to rebuild. After thats done all things should be back to normal.
    Hope you're able to find the files and it works for you.

  • How to apply multiple styles for nested tags in XML?

    Say you import this XML into InDesign:
    <Root>
      <strong>
        <em>Bolded and Italicized</em>
      </strong>
    </Root>
    And you have two character styles, bold and italics, to map to strong and em tags respectively.
    You will see that the text appears italicized not bolded and italicized as expected. Generally, only the innermost tag will get the style and will overwrite its parent styles.
    Notice the XML is generated dynamically and tags order is not enforced. Also, there's an additional underline tag that can be nested with these two.
    So far I have tried to use GREP styles (with paragraph styles), but these do not have effect in the XML tags.
    Other possible options not tried yet:
    Create new tags for every formatting combination. Not what I really want because I could en up with a lot of tags each one with a corresponding styles.
    Create InDesign XML rules to apply character styles automatically based on the tags
    Use character styles in the XML with the aid namespace referencing InDesign styles. Will this really work?
    What do you suggest to go for? See any other option?
    Thank you in advance.
    Juan

    I'd say that you should create tags not for appearances, but for semantic content. Specifying formatting styles in your XML betrays your lack of familiarity with the format, because the last thing you'd want to do would be to use HTML markup in the middle of your XML. If you have content that's supposed to be both bolface and oblique - say, a warning - then it's marked up as
    <warning>Never refer directly to formatting in your XML markup, only to content types!</warning>
    If I had a document that was written in the style you suggest - one with lots of overlapping local formatting - I'd look at developing a better style guide that told the writers that doing so would be bad form. Because, you know, many of the writers I deal with are addicted to forms of emphasis that do nothing useful whatsover for their readership - they only serve to overemphasize the authorial voice of the writers.
    Maybe you could tell us why you need these overlapping forms of styling, and we could suggest other InDesign formatting tools (like line styles or nested styles) that would help you get the appearance you want without crowding styling markup into your XML - where, strictly speaking, it doesn't really belong.

  • Help, how to apply multiple style to a component

    In HTML we can write class="styleA styleB" to apply multiple
    style, but it's not allowed in flex3.
    So is there a way to walk around? like
    .styleB{
    //include styleA
    }

    You have to combine all songs into one file by using software, for example Audacity.
    PS: I owe this knowledge to a post by Victoria Bampton.

  • How to apply TD style only to cells in one particular table

    The "schedtable" class below is applied to a nested table,
    but my syntax for
    the TD applies the rule to the outer table cells as well.
    What would the correct syntax be to limit the rule to only
    the cells in the
    "schedtable"
    Please take a look -
    <style type="text/css">
    <!--
    .schedtable {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-variant: small-caps;
    line-height: 2em;
    border-collapse: collapse;
    .td {
    padding-left: 10px;
    border-bottom-style: inset;
    border-bottom-color: #FF0000;
    border-bottom-width: 1px;
    Thanks

    I owe you one more Os,
    much appreciated.
    "Osgood" <[email protected]> wrote in
    message
    news:fp4fr0$7dq$[email protected]..
    > Ken Binney wrote:
    >> The "schedtable" class below is applied to a nested
    table, but my syntax
    >> for the TD applies the rule to the outer table cells
    as well.
    >> What would the correct syntax be to limit the rule
    to only the cells in
    >> the "schedtable"
    >>
    >> Please take a look -
    >>
    >> <style type="text/css">
    >> <!--
    >> .schedtable {
    >> font-family: Arial, Helvetica, sans-serif;
    >> font-size: 11px;
    >> font-variant: small-caps;
    >> line-height: 2em;
    >> border-collapse: collapse;
    >> }
    >> .td {
    >> padding-left: 10px;
    >> border-bottom-style: inset;
    >> border-bottom-color: #FF0000;
    >> border-bottom-width: 1px;
    >> }
    >
    >
    >
    > .schedtable td {
    > Blah: Blah;
    > }

  • How to apply different CSS styles to different table cells?

    I have an h:dataTable table and I would like to apply different CSS styles to different table cells depending on their content. If I were doing JSP I would probably have a <c:if> test on the cells, and give them a style name depending on contents, and then define the styles in a separate style sheet. Is there a way in JSF to do the equivalent? Thanks.

    mitchgart wrote:
    BalusC wrote:
    How to achieve a cell-specific style is already answered in my 1st reply of this topic.That tells how to apply a style to the text (or other content) inside a cell but not how to apply a style to the <td> as a whole. It would work for something like text font or text color but not cell border.
    I'm thinking I can mark the content somehow and then have javascript traverse the DOM, find marked content, and traverse outward to the enclosing <td>. Is there a better way?BalusC already spoke about rowClasses and columnClass attributes, I assume those are insufficient.
    The Tomahawk dataTable component has the rowStyleClass and rowStyle attributes for assigning CSS to the HTML tr tag. One is allowed to reference the row data variable when assigning values to these. However, see https://issues.apache.org/jira/browse/TOMAHAWK-523 for workarounds to bugs in some implementations.
    The Tomahawk column component has the styleClass and style attributes for assigning CSS to the HTML td tag. These also may reference the row data variable.

  • How to apply style sheet to design page

    hi all,
    i have a discussion,
    how to apply a style sheet to design page in webdynpro.
    thanks
    vikash

    Hi Vikash,
    Check the below links which will you idea on the same.
    Stylesheet for WDA without integrating in SAP Portal
    Apply custom css to WebDynpro application
    Thanks
    KH

Maybe you are looking for

  • I can't print my aol emails satisfactorily in firefox - they come out too small and incomplete

    I use aol for emails, and I used to use aol as my browser. I now access my emails via firefox. for some reason, when I print my emails now, they are printed in tiny print and are incomplete. how do i change the settings?

  • Handeling listner and window events in another class

    All if i have my one class that defines a JPanel how i put my listner events into another class. so if i had      import javax.swing.*;      class MyFrame extends JFrame {        public MyFrame() {           setTitle("My Empty Frame");           setS

  • How can i save a pdf file to ipad

    How do I save a PDF file to my iPad without saving in iBooks?

  • Greyish smudge on Macbook Pro screen, how do i remove it?

    Hi there. I bought a macbook pro from a cash converters store. It was online and in the description didn't mention anything about this issue. I can't really explain it very well so here is a picture. I'm sorry it's not very clear but it's only notice

  • MULTI_COLUMN_DATASTORE issue

    I am using Oracle Text's multi_column_datastore to create a compound text index on group of columns. It seems to work fine however when I search for one of the column names in the index it matches all rows. Please see the script below. The following