Can't rename style in default.css

<blush> never mind... figured it out... (can i delete
this?)

poverbo,
It could be helpful to others to leave the original post and
then post a reply with the solution. You never know if someone else
will run into the same problem and need the answer, which is not
posted (nor is the original problem, since it looks like you edited
that post). Then flag the answer post as the answer to the
question.
--Ben

Similar Messages

  • Applying tooltip styles from defaults.css file problem

    in flex library, create custom tooltip extend ToolTip
    CustomToolTip code:
    public class CustomToolTip extends ToolTip
    then i want use custom skin like ToolTipBorderSkin, so i add into defaults.css
    defaults.css code:
    CustomToolTip
    borderSkin: ClassReference("my.skins.ToolTipBorderSkin");
    build it into swc file, then in my application use
    when i set textinput tips, it doesn't use the new skin
    if write this line in the application, it works fine.
    import my.controls.CustomToolTip; CustomToolTip
    i don't know why.
    Thanks for any help.

    Thank you for your reply, alex.
    i have assign the tooltip as the tooltipClass
    CustomToolTipManagerImpl.as  the code like this;
    public class CustomToolTipManagerImpl extends ToolTipManagerImpl
      public function CustomToolTipManagerImpl ()
       super();
       toolTipClass = CustomToolTip;
    and custome define the application preloader
    public class PreloaderBar extends DownloadProgressBar
      public function PreloaderBar()
       super();
       registerClasses();
      protected function registerClasses():void
       Singleton.registerClass("mx.managers::IToolTipManager2", CustomToolTipManagerImpl);
    the application add this line:
    preloader="my.preloaders.PreloaderBar"
    i build this in flex library, and define the CustomeToolTip borderSkin in defaults.css
    if i set borderSkin in actionscript, it is ok, but if i set in defaults.css, it doesn't work
    setStyle("borderSkin", ToolTipBorderSkin);

  • Need to understand RH7's default.css

    Hi all,
    A few months ago, I did my first couple of projects using
    RH7_for_HTML (with the help of this forum). I came with a thorough
    understanding of MS Word styling, so I knew what I was looking for
    to get the type of control I am used to having in Word, and also I
    already had a fair understanding of HTML/CSS.
    However, I had trouble controlling RH7's styling using just
    the RH 'Styles' dialog box. I didn't *completely* understand the RH
    'Styles' dialog box (although I have used a lot of different style
    systems in various authoring apps) and also didn't *completely*
    understand why RH was producing the default.css styles sheet that
    it did.
    So … instead of spending more time grappling with it
    (it was time to actually write some content and prove my
    worth…), I decided it was time to ignore the 'Styles' dialog
    box and instead I enlisted the aid of a pretty sophisticated
    external HTML editor ( MS Visual Web Developer 2008) and got where
    I wanted to go.
    I also included incremental definition (cascading) of styles
    within the style sheet so that, e.g., if I want to change the font
    or indentation or whatever of all the styles in one go, then I only
    need to modify one "base" style in the sheet instead of modifying
    all of the styles. I couldn't figure out how RH7 supported this.
    Now, after a break for a while, I am returning to RH7 for my
    next project, and this time I would like to set up a professional,
    correct, clean work environment of template, stylesheet(s) and
    styles. To do this, maybe I can carry on ignoring the 'Styles'
    dialog box. Or maybe not. I don't know. Anyway, I am curious about
    what the Style dialog box does. Specifically, I hope somebody can
    help me understand the following:
    (1) I see that in default.css, there is a definition for H1
    and LI.H1, as below. (Same for H2…H6.)
    What does LI.H1 give us?
    H1 {
    font-weight: bold;
    font-size: 24.0pt;
    LI.H1 {
    font-weight: bold;
    font-size: 24.0pt;
    (2) Similarly there is a definition for P and LI.P, as below.
    What does LI.P give us?
    P {
    font-size: 12.0pt;
    margin-top: 0pt;
    margin-bottom: 0pt;
    LI.P {
    font-size: 12.0pt;
    (3) I experimented with the List style. I used the Styles
    dialog box to create a numbered list style, which I named
    'List_L1'. RH added to its default.css file the following CSS
    definitions:
    P.List_L1 {
    list-style: decimal;
    LI.P-List_L1 {
    list-style: decimal;
    (4) What *exactly* is the meaning of the 'Other' tree in the
    'Styles' pane of the 'Styles' dialog box?
    I understand the definition P.List_L1, but for what purpose
    is LI.P-List_L1?
    (I had been wondering if the purpose of the LI (in (2),
    above) was to prepare some sort of list version for P, but when I
    actually created the list style (here in (3)) the LI.P was
    ignored.)
    TIA,
    - avi

    Hi Peter,
    Thanks for joining the thread. Now that you have, maybe I can
    drag you by the nose a bit and get you to answer a few more
    questions further below.
    First, about trying to repeat Ben's RH7 test: I am now back
    at my office PC with RH7 (the RH8 at home is a just a trial
    version).
    Using RH7, on a fresh new project with a fresh 'default.css',
    I just tried the same little test as Ben, and I got:
    <ol style="list-style: decimal;" type=1>
    <li class=p><p>List item a</p></li>
    <li class=p><p>List item b</p></li>
    <li class=p><p>List item c</p></li>
    <li class=p><p>List item d</p></li>
    </ol>
    Similarly, for the H1 test, I got:
    <ol style="list-style: decimal;" type=1>
    <li class=H1><h1>Heading a</h1></li>
    <li class=h1><h1>Heading b</h1></li>
    <li class=h1><h1>Heading c</h1></li>
    <li class=h1><h1>Heading d</h1></li>
    </ol>
    So that's a bit more voluminous than Ben got. Or maybe Ben
    just wrote an abbreviation of what he got. Ben? You looking in?
    (I just realized that I forgot to look at the default.css
    that RH8 produced. I will have a look when I get home.)
    >> This thread started with RH7. Now you have posted
    some RH8 HTML. They will be different.
    Thanks for pointing that out, Peter. Well, at least from
    that, we now earned your description of RH7 vs. RH8 and their
    motivations. Great, sublime. Bet not many people know all that.
    You've now made me into a professional…
    >> Using LI within the style sheet is not the same
    thing as applying an inline style (local formatting) in Word. It is
    effectively the same thing as a Class of a style. Because it is
    within the CSS, it is perfectly acceptable.
    I've had to chew on this a lot…
    Isn't this a relative thing? I mean, is it really sufficient
    that just because it is within the CSS, it makes it perfectly
    acceptable?". I mean, if you did this just as a shortcut, but you
    already have a good set of styles defined, but just couldn't be
    bothered to use them, then this is a "quick fix" and is not, as a
    rule, considered a professional thing to do.
    On the other hand I see your point that since something like
    "LI.P" is using separate, predefined styles, we are still
    separating presentation from content, which is not the case if you
    do local formatting in Word (and same for applying fonts and colors
    and the like within HTML tags).
    So in conclusion, I understand that the following definition,
    generated by RH7:
    LI.P {
    font-size: 12.0pt;
    is saying: "for the HTML element, LI, prepare a class of type
    P, and this is what will be applied whenever you apply a default
    list using one of the toolbar buttons (1-2-3) or bullets on top of
    a 'Normal' text." And similarly for LI.Hx.
    Btw, a pure CSS question, if I may. When RH7 generated the
    following:
    P {
    font-size: 12.0pt;
    margin-top: 0pt;
    margin-bottom: 0pt;
    LI.P {
    font-size: 12.0pt;
    isn't there instead an abbreviated CSS way of doing this that
    avoids the duplication of attribute definitions and instead uses
    some sort of inheritance that allows LI.P to inherit the font size
    from P?
    Further question: from your description of RH7 vs RH8 when
    you press Enter, what would be the issues when upgrading a project
    created with RH7 (and utilizing the styles in default.css) to RH8?
    One more question. If I could give this topic a new name,
    what would be a better name?
    Maybe:
    '"Can I ignore the RH7 Styles dialog box?"
    - or -
    "Should I ignore the RH7 Styles dialog box?"
    - or -
    other?
    TIA
    - avi

  • Defaults.css in library used in mobile app ignored

    Hi
    I have 2 libraries:
    - library A is a set of universal controls with default skins.
    - library B contains more specific components used in few projects. It also contains default skins and defaults.css. This library uses library A.
    Problem:
    - When I use library A in a desktop application everything works fine.
    - When I use library A in a mobile application everything works fine.
    - When I use library B in a desktop application everything works fine.
    - When I use library B in a mobile application I get a runtime error for the components from library A: "Skin for MyApp0.BlaBla4...MyComponent33 cannot be found.".
    In the last case css from library B is used but css from library A is ignored...
    If I copy styles from defaults.css(A) to defaults.css(B) I get expected result, but this is not how I want to make it work.
    I want the library B to override styles from library A, just like it does in 3rd test case, not replace all stylesheet.
    Note that none of the application projects defines another stylesheet.
    Any ideas?

    After a bit of trial and error I finally got it. To be able to include a defaults.css file via an ant build there are two things you need to include in the build script.
    1)  Inside the opening compc tag, you need to define a value for defaults-css-url that is a string containing the absolute path to your defaults.css file.
    2)  A nested <include-file> tag with the following arguments: name="defaults.css" path=path to defaults.css
    So for example, if your defaults.css file was located in assets/styles the compc segment of the build script would look somethng like this:
    <compc output="${Workspace_Path}/MyLib/bin/myLib.swc"
                  defaults-css-url="${Workspace_Path}/MyLib/assets/styles/defaults.css" >
         <include-file name="defaults.css" path="${Workspace_Path}/MyLib/assets/styles/defaults.css" />
    </compc>

  • JSF: Using own custom styles in skin css file?

    I have created custom skin by defining custom css file and implementing predefined ADF style definitions (aliases).
    Also, I need some other styles for use on specific parts i application, and my idea was to put these styles in same css file which is used in skin definition.
    For example:
    .footer_txt     {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9px; color: #FFFFFF}
    My intention was to use this styles in styleClass attribute of various
    adf faces components
    But after starting application, I can't find my additional styles in generated css file (pfmskin-desktop-10_1_3_1_0-ie).
    Looks like that css generator is ignoring any styles which are not ADF predefined styles?
    I was thinking that this is possible, because at the end of srdemo.css file (in SRDemo application) there is one part like this
    /* custom styles that I made up and set on the styleClass attribute of various
    adf faces components */
    .adfFacesDemoSearchPanelGroup
    width:100%;
    padding:6px 6px 6px 26px;
    background-color: #0099CC;
    I can put my styles in separate css file, but then I have to include this file in every application page...
    Is it possible to have custom defined styles in skin css file, and use them in styleClass attribute?

    Hi,
    skinning only works with the ADF faces skin selectors. There are plans to support custom selectors in a future version
    Frank

  • When I try to attach my css style sheet Dreamweaver gives me an error saying that my .css file appears to be an .html file and will not attach. How do I fix this so I can attach my style sheet?

    I have built a css style sheet in Dreamweaver. When I try to attach it to my html website, it prompts me that my "css file appears to be an .html file and cannot attach". I've tried removing the /* */ as suggested by other forums, but this has not resolved the issue. I was using css style sheets with no problem 2 days ago. Now I get that error message. How do I fix this so I can attach my style sheet?

    What does the code of the CSS file look like?
    An external CSS file needs to be written in CSS only (no html tags like <html>, <body>, <head>, etc ).
    It also must have a .css file extension, if yours has a .html extension it won't work.

  • I have created a form that contains fields with default text for a user to update/personalize.  Is there a way to style the text so I can quickly identify changes to default text in a field?

    I have created a form that contains fields with default text for a user to update/personalize.  Is there a way to style the text so I can quickly identify changes to default text in a field?

    George - Thanks you so much!  Actually, i'd love for the text color to be red font color.  Could you send me the script for that? And I assume I just copy and paste the script into the field properties (see screenshot)?
    thanks again!
    Seth

  • [svn:fx-trunk] 5642: Fixing wireframe theme defaults.css for renames.

    Revision: 5642
    Author: [email protected]
    Date: 2009-03-27 05:28:38 -0700 (Fri, 27 Mar 2009)
    Log Message:
    Fixing wireframe theme defaults.css for renames.
    QE: Yes, I did a quick test and the wireframe theme was applied.
    Doc: No
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/wireframe/defaults.css

  • Renaming Styles

    Good morning Robohelp HTML community.
    Today's subject is the renaming of styles in the Robohelp (v9) HTML CSS.
    After developing a magnificent work of Robohelp art I am now looking to clean up my styles. Some styles have funky names that are are used in many hundreds of topics. I want to change some of these funky style names, however, find that Robohelp does not automatically update each paragraph in each topic. Changing the style name has the effect of applying a default style to the paragraphs since they can longer find the style in the CSS.
    Can anyone suggest a workable method to change the style name in the CSS and retroactively apply that style to each applicable topic paragraph.
    Cheers

    You need to use a multifile find and replace tool. For this purpose the one built into RoboHelp will suffice.
    Your Find should be class="oldname"
    Your Replace should be class= "newname"
    Make sure you take a backup of the project first.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Edit the Default CSS file

    I want to know if there is a way to edit the default CSS file for Webi.  The reason I am asking is because of the way in which hyperlinks are formatted.  When I go into the document properties and change the formatting (color only), it does not update on my actual report.  Also, I want to be able to remove the underlines from all hyperlinks without having to go in and do it manually using inline CSS. 
    Is there a default CSS file out there that can be edited?  Where is it located and how to I ensure it's used in all my reports?  Thanks.

    Hi Keith,
    Following is the location of the CSS file in 4.0
    C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\images\WebIDefaultStyleSheet.css and
    Note that for the BI 4.0, you would not be able to update the default style after the document creation. If you want to modify default style, you must :
    1. update the .css file stored in the images folder of your server installation or rich client and
    2. then create a new webi document to see your style modification.
    Hope it helps.
    Faisal Vakil

  • Defaults.css File issue

    Hi Guys,
    I have been trying to understand the issue revolving around defaults.css file in a Flex Library project. Here is my scenario,
    I  have the following 3 library projects and they have their own defaults.css
    1. Component-1.swc ( this is a defaults.css in it )
    2. Component-2.swc ( this is a defaults.css in it )
    3. Component-3.swc ( this is a defaults.css in it )
    I am trying to merge all the above SWC's into a single SWC named framework.swc using the maven dependency element as shown below.
    <dependencies>
           <dependency>
                 <groupId>com.ui</groupId>
                 <artifactId>Component-1</artifactId>
                 <version>${project.version}</version>
                 <type>swc</type>
                 <scope>internal</scope>
           </dependency>
           <dependency>
                 <groupId>com.ui</groupId>
                 <artifactId>Component-2</artifactId>
                 <type>swc</type>
                 <version>${project.version}</version>
                 <scope>internal</scope>
            </dependency>
           <dependency>
                 <groupId>com.ui</groupId>
                 <artifactId>Component-3</artifactId>
                 <type>swc</type>
                 <version>${project.version}</version>
                 <scope>internal</scope>
             </dependency>
    <dependencies> 
    this results in framework.swc with a single defaults.css ( any one out of the three defaults.css file ). Can someone help me understand why this is behaving like this ? My guess is that it is trying to replace the defaults.css file when a dependent file was included in the file swc. But why ??
    Any response is greatly appreciated.
    thank U!

    That's because you're creating a class.   You don't need a class to style HTML selectors.
    HTML selectors don't contain any prefixes.
    h1 {color:teal}
    h2 {color:brown}
    h3 {color: maroon}
    Classes contain a dot prefix and must be referenced in the HTML.
    .classname {color:pink}
    <h2 class="classname">This class is pink</h2>
    Nancy O.

  • Defaults.css sporadically ignored

    I have a shared library project that specifies skins for common elements (scrollbars, buttons, etc.) in a defaults.css file.  The AIR and Flex applications that use this library usually pick up the styles fine, but sometimes they seem to be overridden by normal skins.  Skins for custom components are always found, as there's no other skin specified for them anywhere.  Components from other shared libraries with local skins also often default to their library skins rather than the local ones.
    Sometimes I can resolve this by cleaning my projects a few times.  I've hit it a few times though where even cleaning didn't resolve the problem, and the only resolution was to delete all of the projects and check them out of SVN again.  Is this a known issue?  I can't produce it consistently enough to create a test case to attach to a Jira.

    hello,Darrell
    I created a new set of Flex component library slib.swc (Flex 4.5). Would also like to have a default style. defaults.css file, making it the default style of the component library.
    Like flex the builder install directory of sdks \ 4.5.0 \ frameworks out \ libs directory has a spark.swc file, open with Winrar will see defaults.css this file. Defaults.css file defines the default style of the flex spark components.
    How can it be achieved?
    As follows
    slib.swc contains a CLabelEx components, and a defaults.css file
    defaults.css source file as follows:
    @ namespace s "library :/ / ns.adobe.com / flex / spark";
    @ namespace mx "library :/ / ns.adobe.com / flex / mx";
    @ namespace cn "http://os.slib.cn";
    cn | CLabelEx
            styBackgroundAlpha: 1;
            styBackgroundColor: # 569CC0;
            styBorderAlpha: 1;
            styBorderColor: # 569CC0;
            styBorderWeight: 1;
            styCornerRadius: 3;
    In slib.swc the application MyLabel.mxml of the source file as follows:
    <? xml version = "1.0" encoding = "utf-8"?>
    <s: Application, the xmlns: fx = "http://ns.adobe.com/mxml/2009
                               xmlns: s = "library :/ / ns.adobe.com / flex / spark"
                               xmlns: mx = "library :/ / ns.adobe.com / flex / mx"
                               xmlns: cn = "http://os.slib.cn
                               the minWidth = "955" The minHeight = "600">
            <fxeclarations>
            </ fxeclarations>
            <cn:CLabelEx x="67" y="112"/>
    </ s: Application>
    I hope CLabelEx default use cn | CLabelEx, style to display its appearance.
    I refer to above approach, but failed to achieve. Can you please re-Detailed
    thanks,

  • Problem with elements/text linking to styles in external css file

    Hi,
    the project I am working on is using a default.css and I would like to assign styles from the file to elements in edge - how can I do that?
    I already tried the "class" setting in the GUI next an element but the elements do not use the styles defined in the default.css.
    The default.css is linked in the html file properly. In the js file which edge creates I see that the value  userClass: 'slideTitle' is assigned and slideTitle is defined in the default.css.

    Use yepnope like this:
    yepnope(
        nope:[
        // include your css file path here.
            'css/yourcssfile.css',
        complete: init
    function init() {
      //whatever you need here

  • Styles grouped in .css are not reflected in Paragraph styles in RH

    I'm test driving TCS2 in Windows XP.
    I watched RJ Jacquez' excellent video on FM9 and RH8 integration.  He suggested grouping similar styles in the .css to make it easier to make changes.  I did as he suggested and grouped all of my heading styles together since I want them to have the same look and feel.  However, They are not showing up in Paragraph styles in RH, but under Other.  I'm a newbie to .css, so it's probably something simple.
    Using Dreamweaver, II created a style for all of my headings and named it Heading1, Heading2, Heading3 (exactly what they are called in FM).
    I then created all of the attributes, such as font-family, that I wanted to apply to all of them.
    I then deleted all of the individual heading styles.
    I saved in DW, then updated in RH.  My Heading1, Heading2, Heading3 style is displayed under Other.
    My questions:
    Why is it displaying under Other?
    How do I map my FM settings to the newly created style?
    Thanks for the help!

    Hi,
    In your CSS you have to tell what kind of style you are adding, the so called selectors. You use selectors so the browser (or RH) knows what elements you want to style. My guess is that you simply added the paragraph style names in the css, without use of the selector. You CSS probably looks something like this:
    Heading1 {}
    To solve your problem, change it in P.Heading1. The style will now show up under the paragraphs.
    I'm don’t use FM, but my guess is that you use Heading1 etc as headings in your document. In HTML, you normally use headings for these and not paragraphs. You may want to change the styles in your CSS with h1, h2 etc. You can then map your FM headings to the HTML headings.
    See also:
    ·         CSS info: http://www.w3schools.com/css/default.asp
    ·         HTML headings: http://www.w3schools.com/tags/tag_hn.asp
    Greet,
    Willam
    This e-mail is personal. For our full disclaimer, please visit www.centric.eu/disclaimer.

  • Indesign CS6 default CSS created - How to disable

    I am facing an issue in Indesign CS6 where in when I export the book to epub, Indesign CS6 automatically creates its own CSS.
    With this version of InDesign CS6, it adds our CSS document to InDesign's automatically created CSS, instead of replacing it. So there are two .css documents, both linked to all the XHTML documents. It does this even if the "CSS options" are not clicked. It just creates a much shorter default style sheet with rules for body, div, and all images.
    Request someone to please provide a solution where I can off the automatic created CSS while exporting to ePUB.
    Regards
    Arvind

    The solution is to upgrade to InDesign CC, where you can choose whether or not InDesign CSS is included.
    Since CS6 will never be upgraded, that's really the only way, except to manually edit the CSS. There have been major advances in EPUB export since CS6 in the past two or three years in the Creative Cloud versions.

Maybe you are looking for