Problem activation of CSS styles

Hello
I'm just getting started with ice and so far it seems that this will be a nice way to let some customers to edit their own content without "breaking" the design. However, I'm running a problem activating the CSS styles.

My site is a php site and I use includes for the top of the page, stylesheet, etc. on each page. Dreamweaver, think, therefore, there is no style sheet linked to the page because the link is contained in understand it.

Is it possible to implement the styles in a style sheet included in an include file is recognized by the ice?

Ellie

I figured out what to do...

The first thing was to put the link in the header of the include file and add:

Ice: class = "" * "for the link CSS settings."

The second thing I did was to change the definition of the styles of

Element.Class {style} .class {style}

I'm guessing that the ice cannot see that general classes and not the classes that apply to specific items. An example is that in my original CSS file, I had

IMG.hilight_img {border :...}

When I chose the IMG I wanted to apply the style to in ice, without styles available appears. However when I changed my CSS definition:

.hilight_img {border :...}

Then was able to apply the style to my image in Ice I noted, however, that the ICE has not added the class "hilight_img" in the IMG tag. Instead, it creates a span around the image and applied to that class. Not ideal, but the result has worked.

Ellie

Tags: InContext Editing

Similar Questions

  • Muse + BC-problem with a form CSS style do Muse Page distorted

    I worked with before Muse for customers and have mixed BC with muse for articles, forms, etc. Normally, I build my sites as a developer with code, so I know the code.

    My problem is that I put a style in a couple of forms for a client who had a website in Muse. No matter how I try to put the CSS with the form, it distorts the page (see below). I tried to insert the form with content with css support inform on top of licensed content, I tried to put in the head of the site of Muse, I tired to modulestylesheet, I tried to put the stylesheet of Muse for a single page, and more, no matter what screws CSS to the top of the page. I'm behind on something that I know it's simple and I can't understand it. Here is the link to the site: MoveQuote and here he right picture each time page to integrate my CSS style.

    Site_Distorted.png

    The shape is fine without CSS and shows, but it is ugly and not what they want... Everyone? I looked at the code, and it seems that it is pushing around the frame. How can I get this CSS works? I am so bored and my client wants their forms.

    Thanks to all those who can help you,

    Sarah @.

    Could you zip your project muse and send it to me if I can see what is happening to you? [email protected] or place in a dropbox download and send me the link?

    See you soon,.

    Craig

  • Custom Css style does not apply to the dynamic element

    Hello world

    I created this simple Css style just to test

    CSSStyle customCss = new CSSStyle();

    customCss.setProperty ("color", "#ee0000"); / / #-rouge

    When I put in a text input, it works perfectly

    But when I put the same style to a dynamic messageSyledText point, it does not work, the color does not change.

    I need to know if it's because this isn't a property of an element of messageStyledText, or there is problem because this is dynamic?

    Personally, I don't see where the problem may be. I tried to delete the cache, but it still does not work

    Can someone please tell me where can be the problem?

    Thank you

    Have you added any other Css on the lifeTimeRN of the region?

    You can add the code below and see if it's properly?

    CSSStyle customStyle = new CSSStyle();
    customStyle.setProperty("color", "#ee0000");
    
    OAMessageStyledTextBean testBean=(OAMessageStyledTextBean)createWebBean(pageContext,MESSAGE_STYLED_TEXT_BEAN,null,"Test");
    testBean.setText("Test");
    testBean.setPrompt("Test");
    testBean.setInlineStyle(customStyle);
    webBean.addIndexedChild(testBean);
    

    See you soon

    AJ

  • CSS style sheet appears on the remote server when I download my Web site, but it works very well to the local server

    CSS style sheet appears on the remote server when I download my Web site, but it works very well to the local server, if anyone can help I would be grateful.

    There are major problems with this page as shown in the screenshot below.

    This is caused by a liberal hijacking of APDivs (aka layers) for a main page layout.  This isn't what APDivs were intended.  That's why Adobe them removed from DW.  Unfortunately, not soon enough.

    I think you're the best option is to start over with a pre-built CSS layout that doesn't contain positioned elements.

    Either way, Flash is dead now.  Most of the people cannot display Flash media more.  You can convert the HTML5 video or use YouTube to host videos now.

    Nancy O.

  • CSS styles disappear when the template is applied to a new page in dreamweaver cs5

    Mac OS 10.6.8

    Dreamweaver CS5

    Please bear with me as I'm not familiar with coding and usually work in design mode.

    I was faced with the menu bar drop-down menu with Spry horizontal and finally managed to do look like I want it to look. I have inserted in my template page. When I saw in the browser, it seems to work correctly. So far so good.

    When I apply the template to a page, all the CSS style disappeared (without defined styles or applied properties)

    in Design view. In Live View mode, it seems OK. Unfortunately, I've updated several pages, and all have the same problem.

    Can someone please? I'm at my wits end!

    Thank you very much.

    Kathleen

    Thank you very much, Nancy.

    Previously, I always applied a model to a page by clicking Edit/models/apply a page template. He has always worked in the past before you insert a menu bar horizontal Spry. That seems to have created the problem.

    Your suggestion was very helpful. Now, I can at least see the styling (although not the Spry bar menu style). I'll have to re-do about 8 pages, but it's a much smaller mountain to climb now.

    Thanks a lot for your help.

  • When I compress my file I lose my css styles

    When I compress my file I lose my css styles

    Let me give a little more information, when and download of dreamweaver, it downloads into the browser with css styles, but once I have compress my file it loses its styles, all help everybody.

    This goes to all who helped me with my questions, thank you. My question on my zip file format, the l problem was I wasn't extract the folder appropiately. I open up the folder, but not to extract the files. That's why there was no css, but now all my styles are there thank you once again. Rookie mistake...

  • Space H and V - CSS styles

    I have problems of putting a space between my image and text.  Even if I chose the image.  Space V and H is not displayed in the "window_ properties.

    In addition, I'm not able to create new styles.  I click on Format, CSS Styles - get down to the bottom of the window, but there is no promp to 'new '.

    I'm really behind this project.  Can you please help.  Thank you.

    v and h space are deprecated html attributes and not go in your css.

    You can add space by changing the attribute margin in your css...

    {#yourimg}

    margin-top: 10px;

    margin-bottom: 10px;

    margin-left: 5px;

    margin-right: 5px;

    }

    In CBWMS, you can do...

    1. by clicking on the + sign for Sources in the Panel CSS Designer

    2. create a style sheet, attach one or set in the page if you want to add

  • model lost link to css styles

    Hi, why, when I create a new page based on a model, becomes broke the link to the css style sheet?

    I can see in the code of the new page that '.. '.  does not appear in the "... / ' in the url for the style sheets - but the model has the correct links in place.

    Buolt of previous pages using the same models work very well.  This seems to be a problem that just happened.

    If anyone hs all clues, that would be much appreciated.

    RP

    All sorted!  Copied all files to a new folder, and then the Site > new Site, chose the new folder, re-create the site cache and hey presto!

    I managed to do something myself!

    Hope this helps someone else in the same mess!

    RP

  • How can I add the CSS styles used by Firefox player mode?

    When loading from the view of the reader, the text is aligned to the left by default. I would like to be well to the left and right justified. At present, I can arrange this by editing the css style in the view "Inspect element", but it's not permanent (and we don't know where the player load css style). Is there a way to make such a change in the permanent reader view css style?

    See also:

    • chrome://global/skin/aboutReaderControls.CSS
    • chrome://global/skin/aboutReaderContent.CSS

    The main switch is #moz - player - content

  • Question: Style af:column header using the CSS style class

    Hello

    I have a simple requirement to set the background color of a column heading to 'red '.

    We use a custom look and I put in this entry in the .css. file

    AF | : column-head - cell.customcolheader {background-color: #FF0000 ;}}

    In my .jsff file, set the styleClass for the desired column

    < af:column id = "c27".

    Align = "center".

    headerText = "#{uiBundle.TEST} '"

    styleClass = "customcolheader" >

    < / af:column >


    Deployed to the app and navigated to the web page expecting to see the background of the column header color changes to red.

    No luck.


    I removed the qualifier (.customcolheader) and all the column headers in the corner of the Red application.

    AF | : column-to-head-cell {background-color: #FF0000 ;}}


    Only when I specify the name of the class and apply it to a specific column, it does not work.

    This happens on all 3 major browsers: IE, Firefox and Chrome.

    I find it very strange.


    JDeveloper version 11.1.1.5.0

    Version of CSS CSS Level 2 revision 1


    All entries will be appreciated.

    Thanks Shay.

    What you mentioned was infact my original code.

    I found the problem. The CSS was not the problem.

    To set the background color of a column heading, I was put in the name of the class under StyleClass for FY: column.

    Infact there is an attribute called "HeaderClass" to af:column and we need to set the name of the CSS class entry there.

    Works like a charm :-)

    Thanks for all the good entries.

  • CSS styles double-click Properties

    Hello

    Everything worked well on my previous version of Adobe Dreamweaver cc 2015. This all started when I updated my CC 2015 build Dreamweaver 7714. Before when I double click on my definition of css rules rules Css Panel opened very well, but since I've updated my Dreamweaver whenever I double click on my css rule it will take me to css properties panel. So my question is how can we cancel it?

    The screenshot No.1

    1.png

    Screenshot No.2

    2.png

    Screenshot No.3

    3.png

    The old Panel Styles still exists in 2015 CBWMS. If you have CSS designer open and click Ctrl + Alt + Shift + P it will come back, however it has been deliberately hampered because Adobe wants everyone to switch to CSS stylist. I guess this will be finally taken from the program altogether at some point.

    Personally, I hand code all my css by using the indicators of code in Code view. It is much faster than trying to scroll through all options in the CSS designer panels or the CSS Styles.

    You could go back to a previous version of the program if you like by following the instructions here: How to find and install the previous Version of Adobe Apps in CC 2015 | Adobe Customer Care Team is really the only way to return to a fully functional CSS Styles panel unfortunately.

  • What determines the order that CSS styles class and/or target rule are listed in the menu of the class of the HTML or CSS property inspector in Dreamweaver CC?

    Using Mac OS 10.10.4 and Dreamweaver 8 and Dreamweaver CC 2015 or Mac OS 10.6.8

    What determines the order that CSS styles class and/or target rule are listed in the menu of the class of the HTML or CSS property inspector in Dreamweaver CC?

    Is it possible to change the order in the drop-down list so that a frequently used class style/Targeted rule is listed first (to the top of the list)?

    I just have an attached style sheet and which shows alphabetically in the drop-down list. Maybe, if you have more than one style sheet, the styles appear in the load order of the leaves and alphabetically within each worksheet.

  • is there a code (not the css style) to leaders (periods) for a table of contents

    is there a code (not the css style) to leaders (periods) for a table of contents

    Well, in this case, you are drunk. The only thing left is to add leaders to hand.

  • Cannot find CSS styles in Dreamweaver

    I watch a tutorial on Dreamweaver but can't find "CSS styles" in Dreamweaver

    Look at:

    Panel CSS Designer &

    How a web page with CSS style Designer | Adobe Dreamweaver CC tutorials

    Nancy O.

  • On a simple site with CSS copied from an older project, all my CSS styles seem to have disappeared! What gives?

    I copied a page index.html to an earlier project (before CC) and DW CC to change CSS styles. I put it up online. I get up this morning and if I look at the Local or remote versions, all CSS definition information seem to have disappeared. There seems to be NO CSS styles defined at all. Worse yet, the old styles CSS method of creation of new (or in this case, replacement) (Format: Styles CSS: new) has disappeared and I can't understand where this feature has been moved to. Can anyone offer a suggestion?

    Apostrophe lack Syndrome can be a killer.

    I just went through with the Firefox tools and cleaned the part, styles are back instantly.

    You should be back running once you take care of this one.

Maybe you are looking for