Attach CSS error

I'm creating a website for a client and connecting it to ICE everything's working except the ability to show the css styles in ICE.  All of my text is in CSS and all of the styles were created on the template, so everytime I try to attach style to an editible region on a page it tells me I need to attach the styles to the page.  When I try to look for them to attach I don't see them, I only see my template, and when I tried to attach that (hoping it would pick up the css from it) nothing happened (not a surprise.)
Do I really need to recreate my style sheets on each page? That seems unlikely.
I would really appreciate any help.
Thank you

Hello Angela,
The "Class" dropdown menu in the Editable Region Properties panel isn't for defining a class style (you use the CSS Styles panel to define styles). From the Class dropdown menu you can select a class style that currently exists in the document or in an attached stylesheet - basically all of the class styles the Dreamweaver associates with the document. You can also attach an external stylesheet to the document, then all of the class styles in the external stylesheet will be available in the menu list. The external stylesheet file should be a CSS document that contains only CSS styles and is named something like "mystyles.css" - you can't attach another HTML document as a stylesheet.
I copied and pasted your source code from your link into a new document, and I do see all of the class styles that are defined in the head section of your document (e.g., .Address, .links, etc) in the Class dropdown menu.
Applying a class style using the this menu doesn't apply the class to all Editable regions - only the currently selected editable region.
Also, if you want to apply multiple class styles to a single Editable Region (e.g., <div class="Address links" ice:editable="*">...</div>), you would have to do this manually.
All of that said, this does not make class styles available to editors/publishers of your InContext Editing site - it simply applies a class style to an Editable Region. If you want to make class styles available to your InContext Editing users, you need to put class styles in an external stylesheet, attach the stylesheet to the document, then use "Manage Available CSS Classes" from the Insert > InContext Editing menu or panel
Please let me know if you need more information.
Best regards,
Corey

Similar Messages

  • TextArea and CSS error

    Hello!
    I have a problem with TextArea and CSS. When i'm trying to
    attach css to TextArea instance flash returns error:
    Error: Error #2009: This method cannot be used on a text
    field with a style sheet.
    at flash.text::TextField/setTextFormat()
    at
    fl.controls::TextArea/fl.controls:TextArea::drawTextFormat()
    at fl.controls::TextArea/fl.controls:TextArea::draw()
    at fl.core::UIComponent/::callLaterDispatcher()
    full code of package:

    I've been searching all over the web. This almost has to be a
    bug. But I found a workaround that isn't terrible.
    label.textField.styleSheet = sheet;
    label.textField.htmlText = "<body><p><span
    class='heading'>Hello </span><a
    href='event:'>World...</a></p><p>1</p><p>2</p></body>";
    label.verticalScrollPolicy = ScrollPolicy.AUTO;
    Basically you load the text and the css into the textField. I
    haven't gotten it to work in any other combination. Then you have
    to basically reset the scrollbar to check the content again. It's
    only one line of code and I spent about a day figuring this out so
    I hope it helps someone. And if anyone knows why this is the way it
    is I'd love to hear it.
    Eric Snowden
    http://www.ericpaulsnowden.com

  • Tools for validate HTML and CSS Error in DW?

    Hello Guys,
    Want to know any addon or menu tool in Dreamweaver to validate HTML and CSS error.
    Because every time i have to check in w3c validation. If DW having in this options it wouldbe great to develop website with out error.
    Please let me know your suggestion for that.
    Cheers
    Abdul
    www.ilearnsmart.com
    www.whitehouseit.com

    DW does provide tools to help with validation:
    http://articles.sitepoint.com/article/dreamweaver-8-standards/1
    http://www.adobe.com/support/dreamweaver/htmljava/migrating_hs_to_dwmx/migrating_hs_to_dwm x06.html
    I find it a bit more comfortable though to use teh W3 Validator and I always access that with the Firefox Browser and the Web Developer plug-in.  Another good plug in for FF is Firebug.
    Martin

  • Soap Attachment Stream Error

    11:56:37 F01F Soap Attachment Stream Error: [8911], File Size = 1120068 Written Size=131072
    11:56:37 F01F Soap Attachment Stream Error: [8911], File Size = 1120068 Written Size=131072
    11:56:37 F01F Error streaming an attachment [8911]
    11:56:37 F277 Soap Attachment Stream Error: [8911], File Size = 673015 Written Size=131072
    11:56:37 F277 Soap Attachment Stream Error: [8911], File Size = 673015 Written Size=131072
    11:56:37 F277 Error streaming an attachment [8911]
    What are these?

    Originally Posted by swishewk
    11:56:37 F01F Soap Attachment Stream Error: [8911], File Size = 1120068 Written Size=131072
    11:56:37 F01F Soap Attachment Stream Error: [8911], File Size = 1120068 Written Size=131072
    11:56:37 F01F Error streaming an attachment [8911]
    11:56:37 F277 Soap Attachment Stream Error: [8911], File Size = 673015 Written Size=131072
    11:56:37 F277 Soap Attachment Stream Error: [8911], File Size = 673015 Written Size=131072
    11:56:37 F277 Error streaming an attachment [8911]
    What are these?
    I believe the lines with the file size/written size are files in excess of the limit set in Data Synchronizer.

  • Automatically attaching CSS style sheets to new documents

    I wanted to alert everyone to a great new Community article published by Adobe Community Expert David Powers. The article details how to attach CSS style sheets automatically when you create new documents.
    Here's the article:
    http://kb2.adobe.com/community/publishing/505/cpsid_50564.html
    This handy option is easy to miss, especially if you don't use the New Document Dialog box to create documents, so big thanks to David for highlighting this.
    Furthermore, the appearance of such an article is a great example of how Community content can interact and live symbiotically with Adobe Help. We've linked directly to David's piece from our documentation, and this is indeed a great thing because David is able to go into much more detail about the process of automatically attaching style sheets than we are able to do in Help:
    Create a blank page
    Create a page with a CSS layout
    If you're interested in publishing Community articles of your own, you can download the Community Publishing AIR application and get right to work!

    Jon Michael Varese wrote:
    We've linked directly to David's piece from our documentation, and this is indeed a great thing because David is able to go into much more detail about the process of automatically attaching style sheets than we are able to do in Help:
    Can I ask why?
    David's excellent standard should be the minimum standard for Help files.
    The quality of software manufacturers' Help (not just Adobe) has deteriorated greatly over the past decade - to the point where it's now my last resort for learning.
    Software manufacturers seem to tacitly rely on 3rd party book authors (such as David's brilliant material), bloggers and online tutorials to explain their products these days.
    I'm happy not to have a printed book with my software any more because they were always out-of-date and hard to update. However the quality of PDF and online Help docs is so poor and sparse for my use that I prefer to get my answers by Googling, visiting forums or buying the occasional book.

  • Need urgent help on issue "An unknown CSS error occured" Hyperion Essbase

    Hi guys
    I am facing an issue while configuring Essbase 9.3.1. Everytime i tried to register Essbase(Server1) with Shared Services(Server2), i.e at the point where we enter Shared Services server, port, username, and password i am getting the following error.
    "An unknown CSS error occured. please check the values you entered". I verified and gave all the values exactly. but same error....
    please help me with your suggestions in resolving this issue.
    Thanks in advance.
    K

    this is what the configtool_err.log is showing
    com.hyperion.cis.config.CmsRegistrationUtil, DEBUG, URL for CSS.xml = http://ServerName.DNS:58080/interop/framework/getCSSConfigFile
    com.hyperion.cis.config.CSSApp, DEBUG, Unable to communicate with the server.
    com.hyperion.cis.config.CmsRegistrationUtil, DEBUG, Authenticate admin user to CSS.
    com.hyperion.cis.config.CSSApp, DEBUG, com.hyperion.css.CSSCommunicationException: Failed to connect to the directory server: Native Directory.     Error Code: 3
    NestedException:
    javax.naming.CommunicationException: hqidwcpdap04.hqh.intra.aexp.com:58089 [Root exception is java.net.ConnectException: Connection timed out: connect]
    com.hyperion.cis.config.CmsRegistrationUtil, ERROR, Failed to authenticate user = admin
    com.hyperion.cis.config.wizard.ProductCustomInputPanel, DEBUG, managerClassName: com.hyperion.essbase.config.EssbaseAgentPortPanelManager
    com.hyperion.cis.config.CmsRegistrationUtil, ERROR, Failed to initialize CSS API
    com.hyperion.cis.config.CmsRegistrationUtil, ERROR, Failed to authenticate user = admin
    com.hyperion.cis.config.CmsRegistrationUtil, ERROR, Failed to authenticate user = admin
    Edited by: MP on Mar 11, 2011 12:53 PM

  • E-mail XML attachment has error.  Invalid at the top level of top

    Hi All,
    Error :
    Invalid at the top level of the document. Error processing resource 'file:///C:/Documents and Settings
    <?xml version="1.0";?>
    Report program generates a XML file  (l_xml_table ) using  cl_ixml  .  
       class cl_ixml definition load.
        l_ixml = cl_ixml=>create( ).
       l_document = l_ixml->create_document( ).
          l_element_csi  = l_document->create_simple_element(
                      name = 'csi'
                      parent = l_document ).
      l_streamfactory = l_ixml->create_stream_factory( ).
      l_ostream = l_streamfactory->create_ostream_itable( table =
    l_xml_table ).
      l_renderer = l_ixml->create_renderer( ostream  = l_ostream
                                            document = l_document ).
      l_rc = l_renderer->render( ).
      l_xml_size = l_ostream->get_num_written_raw( ).
    Report has 2 options
    1. download
    2. send e-mail
    Download functionality is working fine, but when i send email using FM SO_DOCUMENT_SEND_API1
    e-mail attachment has  error.
      loop at l_xml_table into wa_xml.
        move wa_xml to wa_objbin.
         append wa_objbin to it_objbin.
        clear  wa_objbin.
      endloop.
      wa_objpack-transf_bin = 'X'.
      wa_objpack-head_start = 1.
      wa_objpack-head_num = 0.
      wa_objpack-body_start = 1.
      wa_objpack-body_num = v_table_lines .
      wa_objpack-doc_type = 'XML'.
    wa_objpack-doc_size = v_table_lines * 255.
    please advice to solve the issue.
    thanks in advance.
    Prasad

    Hi guys,
    Could any one help me in this?
    Regards,
    Navaneeth

  • Dreamweaver cs3 sudden break to attached css sheet

    While editing code in DW CS3 the Design view will lose
    connection to the attached CSS style sheet. This just started
    happening. I can't get the style sheet to link back up even after
    deleting the tag and re-attaching it. I have to reload a back up of
    the page to get the styles to show in Design view.
    As this just started happening, after months of using DW CS3,
    I am confused and concerned. I have to make a back up folder of the
    site so I can get another copy of the page when the css link
    decides to blow out.
    Thanks for any ideas about this problem.
    Wm Lombardo

    is it just one page?
    the stylesheet is linked correctly, but after making some
    changes in code,
    the design view no longer shows the styles?
    I'd suspect code problems? something dw can't make sense of?
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • An unknown CSS error occurred Hyperion

    Hi,
    I have installed Hyperion 9.3. When I tried to configure Shared Services, after entering username and password. It gives An unknown CSS error occurred error. how do i resolve it? help please
    advance thanks

    Hi-
    I am getting the same error at registering Essbase with SS step.. any resolution on this? Thanks.
    By the way this is what in Configtool_err.log
    Error Code: -1
    com.hyperion.css.common.configuration.CSSConfigurationException: Cannot configure the system. Please check the configuration.     Error Code: 9
    NestedException:
    java.io.IOException: Property data cannot be loaded from cache.
         at com.hyperion.css.common.configuration.CSSConfigurationImplXML.<init>(Unknown Source)
         at com.hyperion.css.common.configuration.CSSConfigurationManager.getConfiguration(Unknown Source)
         at com.hyperion.css.CSSAPIImpl.initialize(Unknown Source)
         at com.hyperion.cis.config.CmsRegistrationUtil.getStandAlonCSS(CmsRegistrationUtil.java:110)
         at com.hyperion.cis.config.CmsRegistrationUtil.<init>(CmsRegistrationUtil.java:81)
         at com.hyperion.cis.config.wizard.HubRegistrationPanel.queryExit(HubRegistrationPanel.java:143)
         at com.installshield.wizard.awt.AWTWizardUI.doNext(Unknown Source)
         at com.installshield.wizard.awt.AWTWizardUI.actionPerformed(Unknown Source)
         at com.installshield.wizard.swing.SwingWizardUI.actionPerformed(Unknown Source)
         at com.installshield.wizard.swing.SwingWizardUI$SwingNavigationController.notifyListeners(Unknown Source)
         at com.installshield.wizard.swing.SwingWizardUI$SwingNavigationController.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Nested Exception:
    java.io.IOException: Property data cannot be loaded from cache.
         at com.hyperion.css.common.configuration.CSSConfigurationImplXML.processStreams(Unknown Source)
         at com.hyperion.css.common.configuration.CSSConfigurationImplXML.<init>(Unknown Source)
         at com.hyperion.css.common.configuration.CSSConfigurationManager.getConfiguration(Unknown Source)
         at com.hyperion.css.CSSAPIImpl.initialize(Unknown Source)
         at com.hyperion.cis.config.CmsRegistrationUtil.getStandAlonCSS(CmsRegistrationUtil.java:110)
         at com.hyperion.cis.config.CmsRegistrationUtil.<init>(CmsRegistrationUtil.java:81)
         at com.hyperion.cis.config.wizard.HubRegistrationPanel.queryExit(HubRegistrationPanel.java:143)
         at com.installshield.wizard.awt.AWTWizardUI.doNext(Unknown Source)
         at com.installshield.wizard.awt.AWTWizardUI.actionPerformed(Unknown Source)
         at com.installshield.wizard.swing.SwingWizardUI.actionPerformed(Unknown Source)
         at com.installshield.wizard.swing.SwingWizardUI$SwingNavigationController.notifyListeners(Unknown Source)
         at com.installshield.wizard.swing.SwingWizardUI$SwingNavigationController.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    (Sep 18, 2008, 04:04:21 PM), com.hyperion.cis.config.CmsRegistrationUtil, ERROR, Failed to initialize CSS API
    (Sep 18, 2008, 04:04:21 PM), com.hyperion.cis.config.CmsRegistrationUtil, ERROR, Failed to authenticate user = admin
    (Sep 18, 2008, 04:07:43 PM), com.hyperion.cis.config.CmsRegistrationUtil, ERROR, Failed to authenticate user = admin
    (Sep 18, 2008, 04:09:31 PM), com.hyperion.cis.config.CmsRegistrationUtil, ERROR, Failed to authenticate user = admin
    (Sep 18, 2008, 04:16:14 PM), com.hyperion.cis.config.CmsRegistrationUtil, ERROR, Failed to authenticate user = admin

  • Toast Titanium/CSS error/DVD upload problems

    Does anyone have tips for me regarding Toast Titanium? I'm unable to upload any DVDs into it to burn to my hard drive. I get the same CSS error every time. A PC-using friend suggested I find the hidden files in my hard drive and erase them to clear up the error, but I have no idea where to start.
    Any help is appreciated.

    As Len said, Toast will not decrypt and copy a commercial, copy protected video DVD. The only legal (at least unless the movie studios take them to court) way to copy a copy-protected video DVD to your hard drive is with Flip4Mac's Drive-In.

  • Declaration CSS Error parsing

    I have this JavaFX CSS code:
    bpi.setStyle("-fx-background-color: linear-gradient(#f2f2f2, #d4d4d4);"
                    + "       -fx-shadow-highlight-color,"
                    + "       -fx-outer-border,"
                    + "       -fx-inner-border,"
                    + "       -fx-body-color;"
                    + "  -fx-background-insets: 0 0 -1 0, 0, 1, 2;"
                    + "  -fx-background-radius: 3px, 3px, 2px, 1px;");
    I get this error:
    WARNING: com.sun.javafx.css.parser.CSSParser declaration CSS Error parsing in-line style '-fx-background-color: linear-gradient(to bottom, #f2f2f2, #d4d4d4);  
    -fx-shadow-highlight-color,  
    -fx-outer-border,  
    -fx-inner-border,  
    -fx-body-color;  -fx-background-insets: 0 0, -1 0, 0, 1, 2;  -fx-background-radius: 3px, 3px, 2px, 1px;' from javafx.scene.Node$22@719c4850: Expected COLON at [1,100]
    Can you tell me where I'm wrong?

    This isn't valid CSS syntax. A css declaration looks like
    property: value;
    and the String you pass to setStyle(...) should be zero or more declarations. Comma-delimited a bunch of property names ("-fx-shadow-highlight-color, -fx-outer-border, -fx-innerborder, ...") isn't valid (and it's not entirely clear to me what you're trying to do there anyway).
    See CSS Syntax for a nice overview of CSS syntax in a web context, Cascading Style Sheets for the official specification, and JavaFX CSS Reference Guide for the JavaFX-specific CSS reference.

  • CSS Error While Uploading Muse Site to FTP

    I'm uploading my complete site to GoDaddy, and I get an error message during the upload "CSS Error" - How do I find the error and correct it?

    Hi Elizabeth,
    Are you able to export HTML to a blank folder on your machine? Could you please provide me with a screen shot of the error or the complete text of the error message?
    - Abhishek Maurya

  • Trouble attaching css style sheet in DW MX

    Trouble attaching css style sheet in DW MX (NOT DW MX 4)
    I am currently using Dreamweaver MX , and for some reason, in
    design view, the style sheet does not attach (a least I can't see
    the change). My divs, and images are all stuck to the upper left
    corner, as though it were not attached.
    A friend told me it was because I have MX and Not MX 4 , does
    this matter?

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    http://www.w3.org/TR/html4/loose.dtd">
    <html><!-- InstanceBegin
    template="/Templates/ovfl_temp.dwt" codeOutsideHTMLIsLocked="false"
    -->
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Schedules</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    <link href="styles.css" rel="stylesheet"
    type="text/css">
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_swapImgRestore() { //v3.0
    var i,x,a=document.MM_sr;
    for(i=0;a&&i<a.length&&(x=a
    )&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
    Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
    i<a.length; i++)
    if (a.indexOf("#")!=0){ d.MM_p[j]=new Image;
    d.MM_p[j++].src=a
    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=document;
    if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document;
    n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for
    (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++)
    x=MM_findObj(n,d.layers
    .document);
    if(!x && d.getElementById) x=d.getElementById(n);
    return x;
    function MM_swapImage() { //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new
    Array; for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x;
    if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    </head>
    <body
    onLoad="MM_preloadImages('images/leaguehistory2.gif','images/eventscalendar2.gif','images /community2.gif','images/allovflteam2.gif','images/sponsorship2.gif','images/contacts2.gif ','images/forms2.gif','images/links2.gif','images/join2.gif','images/photogallery2.gif')">
    <div id="container2">
    <div id="top_nav">
    <div id="ovfl_nav">
    <form name="ovfl" class="left_topnav">
    <img src="images/ovfl.gif" width="51" height="14">
    <select
    style="font-size:10px;color:#000000;font-family:arial,
    helvetica;background-color:#ffffff;" name="menu"
    onChange="window.open(document.ovfl.menu.options[document.ovfl.menu.selectedIndex].value) ;">
    <option value=''>OVFL SITES</option>
    <option value="
    http://www.ovflfootball.org">OVFL
    Football Site</option>
    </select>
    </form>
    </div>
    <div id="afc_nav">
    <form name="afc" class="topnav">
    <img src="images/afc.gif" width="44" height="14">
    <select name="menu"
    style="font-size:10px;color:#000000;font-family:arial,
    helvetica;background-color:#ffffff;"
    onChange="window.open(document.afc.menu.options[document.afc.menu.selectedIndex].value);" >
    <option value=''>AFC TEAMS</option>
    <option value="
    http://www.columbusblackhawks.com">Blackhawks</option>
    <option value="
    http://www.eteamz.active.com/WVCrash/index.cfm">Crash</option>
    <option value="
    http://">Flames</option>
    <option value="
    http://www.cincinnatigamblers.com/HOME.html">Gamblers</option>
    <option value="
    http://www.wkpunishers.org">Punishers</option>
    <option value="
    http://www.circlecitysoldiers.com">Soldiers</option>
    <option value="
    http://theohiostorm.tripod.com/id4.html">Storm</option>
    <option value="
    http://www.derbycitythunder.com">Thunder</option>
    <option value="
    http://eteamz.active.com/MarionWolfpack">Wolfpack</option>
    <option value="
    http://hardincountywolverines.com">Wolverines</option>
    </select>
    </form>
    </div>
    <div id="nfc_nav">
    <form name="nfc" class="topnav">
    <img src="images/nfc.gif" width="45" height="14">
    <select name="menu"
    style="font-size:10px;color:#000000;font-family:arial,
    helvetica;background-color:#ffffff;"
    onChange="window.open(document.nfc.menu.options[document.nfc.menu.selectedIndex].value);" >

  • How to attach css stylesheet to TextFlow

    how to attach css stylesheet to TextFlow?

    Hi Jans,
    You can do this in Transaction SE80. ClicK on Mime Repository > BW >Customer > Stylesheets folder. Right click and choose Import MIME object. Or you can also create and then copy paste your CSS code.
    After you upload, you need to delete the global cache in transaction SMICM > Goto > HTTP Server Cache > Invalidate > Global in system.
    In the web application you have the ability to choose the stylesheet in the template properties box.
    Hope this helps...

  • CSS Error in running javafx application after move to use jdk8

    Hi all,
    I'm running an javafx app fine with build: jdk-8-ea-b36e-linux-arm-hflt-29_nov_2012 which uses jdk7 perfectly fine on the raspberry pi (which i also keep as backup until newer builds well, are starting to work with my app).
    I'm getting an exception related to CSS (seems to me) when i try to run my javafx app (as well through netbeans on windows xp as through command line on the raspberry pi):
    I've try'd two netbeans versions, the stable 7.3 with jdk 1.8 build 100 and nightly 7.4 with the same jdk 1.8 build. Building goes fine on both these versions.
    The exception is:
    Exception in thread "JavaFX Application Thread"
       java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
       at java.util.ArrayList.rangeCheck(ArrayList.java:638)
       at java.util.ArrayList.get(ArrayList.java:414)
       at com.sun.javafx.css.StyleMap.getCascadingStyles(StyleMap.java:121)
       at javafx.scene.CssStyleHelper.getStyle(CssStyleHelper.java:683)
       at javafx.scene.CssStyleHelper.lookupFont(CssStyleHelper.java:1548)
       at javafx.scene.CssStyleHelper.transitionToState(CssStyleHelper.java:460)
       at javafx.scene.Node.impl_processCSS(Node.java:8665)
       at javafx.scene.Parent.impl_processCSS(Parent.java:1192)
       at javafx.scene.Parent.impl_processCSS(Parent.java:1204)
       at javafx.scene.Node.processCSS(Node.java:8575)
       at javafx.scene.Scene.doCSSPass(Scene.java:538)
       at javafx.scene.Scene.preferredSize(Scene.java:1503)
       at javafx.scene.Scene.impl_preferredSize(Scene.java:1570)
       at javafx.stage.Window$9.invalidated(Window.java:733)
       at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:109)
       at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:143)
       at javafx.stage.Window.setShowing(Window.java:799)
       at javafx.stage.Window.show(Window.java:814)
       at javafx.stage.Stage.show(Stage.java:243)
       at pidome.client.PidomeClient$1$1.run(Unknown Source)
       at com.sun.javafx.application.PlatformImpl$5$1.run(PlatformImpl.java:244)
       at com.sun.javafx.application.PlatformImpl$5$1.run(PlatformImpl.java:241)
       at java.security.AccessController.doPrivileged(Native Method)
       at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:241)
       at com.sun.glass.ui.lens.LensApplication$RunnableEvent.dispatch(LensApplication.java:169)
       at com.sun.glass.ui.lens.LensApplication._runLoop(LensApplication.java:756)
       at com.sun.glass.ui.lens.LensApplication.access$700(LensApplication.java:55)
       at com.sun.glass.ui.lens.LensApplication$4.run(LensApplication.java:815)
       at java.lang.Thread.run(Thread.java:724)
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
       at java.util.ArrayList.rangeCheck(ArrayList.java:638)
       at java.util.ArrayList.get(ArrayList.java:414)
       at com.sun.javafx.css.StyleMap.getCascadingStyles(StyleMap.java:121)
       at javafx.scene.CssStyleHelper.getStyle(CssStyleHelper.java:683)
       at javafx.scene.CssStyleHelper.lookupFont(CssStyleHelper.java:1548)
       at javafx.scene.CssStyleHelper.transitionToState(CssStyleHelper.java:460)
       at javafx.scene.Node.impl_processCSS(Node.java:8665)
       at javafx.scene.Parent.impl_processCSS(Parent.java:1192)
       at javafx.scene.Parent.impl_processCSS(Parent.java:1204)
       at javafx.scene.Node.processCSS(Node.java:8575)
       at javafx.scene.Node.processCSS(Node.java:8566)
       at javafx.scene.Scene.doCSSPass(Scene.java:538)
       at javafx.scene.Scene.access$3600(Scene.java:189)
       at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2294)
       at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:325)
       at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:533)
       at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:513)
       at com.sun.javafx.tk.quantum.QuantumToolkit$16.run(QuantumToolkit.java:380)
       at com.sun.glass.ui.lens.LensApplication$RunnableEvent.dispatch(LensApplication.java:169)
       at com.sun.glass.ui.lens.LensApplication._runLoop(LensApplication.java:756)
       at com.sun.glass.ui.lens.LensApplication.access$700(LensApplication.java:55)
       at com.sun.glass.ui.lens.LensApplication$4.run(LensApplication.java:815)
       at java.lang.Thread.run(Thread.java:724)
    On line 22 is where i think my problem really begins. This line correspondents to my code on line 14:
        @Override
        public void start(Stage primaryStage) {
            redirectOutputToLog();
            rootStage = primaryStage;
            rootStage.setTitle("PiDome Client");
            rootStage.setFullScreen(true);
            rootStage.initStyle(StageStyle.UNDECORATED);
            ready.addListener(new ChangeListener<Boolean>(){
                @Override
                public void changed(
                    ObservableValue<? extends Boolean> ov, Boolean t, Boolean t1) {
                        if (Boolean.TRUE.equals(t1)) {
                            rootStage.setScene(mainStage.scene());
                            rootStage.show();
            initialize();
    The rest of my main file is as follows (snippet):
    public class PidomeClient extends Application implements NetworkingEventListener,ClientDataConnectionListener,DomoticsEventListener,MainSceneEventListener,PreloaderCredentials {
    MainScene mainStage;
    BooleanProperty ready = new SimpleBooleanProperty(false);
      public void start(Stage primaryStage){
      /* See above snippet */
        public final void initialize(){
            /* code */
            mainStage = new MainScene();
            /* code */
      /* some functions for the listeners added */
        @Override
        public void handleMainSceneEvent(MainSceneEvent event) {
            if(event.getEventType().equals(MainSceneEvent.SCENEBUILDDONE)){
                notifyPreloader(new StateChangeNotification(StateChangeNotification.Type.BEFORE_START));
                ready.setValue(Boolean.TRUE);
    Some code from my MainScene class:
    public final class MainScene {
        Pane root = new Pane();
        Scene appScene = new Scene(root, DisplayConfig.getScreenWidth(), DisplayConfig.getScreenHeight());
        String theme = Theme.getCurrent();
        NotificationBar notBar = new NotificationBar();
        TopBar topBar          = new TopBar();
        MainControl mainControl= new MainControl();
        BottomBar bottomBar    = new BottomBar();
        //Console   console      = new Console();
        SubControl subControl     = new SubControl();  
      public MainScene(){
        public final void createScene(){
            LOG.debug("Screen dimensions: width: {}, height: {}",DisplayConfig.getScreenWidth(), DisplayConfig.getScreenHeight());
            root.getStylesheets().add(theme + "main.css");
            root.getChildren().add(notBar);
            root.getChildren().add(topBar);
            root.getChildren().add(mainControl);
            root.getChildren().add(bottomBar);
            root.getChildren().add(subControl);
            //console.show();
            _fireSceneBuildDone();
        public final Scene scene(){
            return appScene;
        public final void stop(){
            //topBar.stopThreads();
        public synchronized static void addDoneListener(MainSceneEventListener l){
            _listeners.add(l);
        final synchronized void _fireSceneBuildDone(){
            LOG.debug("New event: {}", MainSceneEvent.SCENEBUILDDONE);
            MainSceneEvent serviceEvent = new MainSceneEvent(this, MainSceneEvent.SCENEBUILDDONE);
            Iterator listeners = _listeners.iterator();
            while (listeners.hasNext()) {
                ((MainSceneEventListener) listeners.next()).handleMainSceneEvent(serviceEvent);
    Further explanation:
    The lines 8 until 14 are the children that have they're own CSS files which are included, they do not contain the .root element. This element is only present in the main.css class. As you can see i'm using a preloader which also has it's own CSS but with the .root element, but this one does not contain anything related to fonts. I have try'd a lot of things because i'm thinking i'm in error because i have seen this on the javafx 8 Performance ideas page (https://wiki.openjdk.java.net/display/OpenJFX/Performance+Ideas): "Rather than running CSS at start up, precompute the defaults and initialize FX to have these values.  This should improve start up time." I do not know if this is related. What i've tryed is
    - move the children created in MainScene to another location,
    - Completely discard the preloader (as wel as in netbeans is in the code),
    - Removed everything that was font related out of my css,
    - Removed everything that was font related from my code,
    - Removed the traling slash to the path to the css returned by my function theme.getCurrent(); But then i get the error that the file is not found.
    - Went completely procedural when creating the scene objects and children.
    I posted a recent amount of  code, and, i'm out of options at the moment. So, is there a bug or am i doing something wrong and should i rethink on how CSS is handled in FX 8?
    Best regards,
    John
    Some changes in explanation.
    Message was edited by: JohnMefster

    Well, i found the/a solution for the above:
    I've put all my css in one file, and found some empty declarations like #mainbottomcontainer .content .label { }. I removed these 3 empty declarations and now my app also works in build 101. So i do now think this has to do with the CSS remark posted above. And i do think this is due to setting CSS in the declaration part of a class at startup (like in my MainScene class above), but i'm not sure. But, it is fixed for now.
    John.

Maybe you are looking for

  • Backup on external HD for Mac and PC

    I'm planning to use LaCie's Silverkeeper to do a backup of my Mac onto an external hard drive that is formatted as MS-DOS (to use with both Mac and PC). I also have a PC in my household that I'd like to backup a few things onto this external drive. I

  • Eprint sign-up gets error "ajax submit failed: error = 403, forbidden"

    Trying to create an account at eprintcenter.com; get above error every time.  No other warnings or errors.  Not sure if I have something it doesn't like (screen name? password?) This question was solved. View Solution.

  • Organizing pictures before burning to cd

    I have created a "folder" under "events" of all pictures taken in 2006 and 2007. I need to create an album with "sub" divisions of different pictures within these time frames . I know how to create the album from this specific time period, but I can'

  • Import Vietnam Language

    Dear All; l have a SAP Ent 4.7 system and the users would like to use the Vietnam language. l check in SMLT, l try to add the language from the list however the Vietname language is not in the list.  Please advise: Can l add the Vietname language, if

  • PERFSTAT schema not upgraded during database upgrade

    Hi, I am currently working in 9i to 10.2.04 upgrades and I am seeing that the perfstat schema is not upgraded properly and I am getting error after upgrade. As temporary solution I am dropping perfstat and configuring statspack again. But for product