RECURSIVE STYLE IMPORT?

If you google this problem you can see it has occurred and been left unsolved for THREE YEARS. 
I am ready to give up and throw out Dreamweaver because of this seemingly unsolved problem. 
None of the solutions work, even the one repeated several times by the author, who says that we are trying to attach the style sheet to itself, without telling how to fix that problem. 
If I and a lot of other users create a style sheet and then attempt to attach it to the index file we get the message "A recursive style import was found while trying to add check_cs6.css.  Please resolve this error by exiting the file in an external editor and try again."
I have tried over and over and over.  What good is this program if we cannot attach the style sheet to an index file? 

OK.  Are you working within a defined local site folder in DW?  Without this critical first step, DW can't manage assets for you.
Once you have your site defined, create a new CSS file.  File > New > Blank page > CSS.
Cut and paste the following CSS code into that new CSS page and SaveAs some_filename.css 
I like to keep CSS files in a Styles folder in my site but that's up to you.
@charset "utf-8";
#container {
          width: 968px;
          background: #FFF;
          margin: 0 auto;
          padding-left: 10px;
          padding-right: 10px;
          overflow: hidden;}
#header {
#main_image {
#left_column {
#center_column {
#right_column {
#footer {
Next, open your HTML page and link it to the external CSS file as described below.
http://alt-web.com/DEMOS/DW-Link-Stylesheet.shtml
Let me know what happens.
Nancy O.

Similar Messages

  • Recursive style error

    I am having trouble attaching my css sheet to the index.html. I keep getting the message:
    A recursive style import found while trying to add check_cs6.css. Please resolve this error by editing the file in an external text editor and try again.
    I am going through the tutorial and it is not helping with this error, can anyone help me?

    That error is generally caused when trying to attach a stylesheet to itself.
    Make sure your .html document is open and active. Click inside it to make sure it has the focus before you try to attach the stylesheet to it.

  • CSS Style Sheet Link Recursive Error?

    I am trying to link a css style sheet to a new root file. When I try to link the css sheet I get an error - A recursive style import was found while trying to add Check Magazine.css. Please resolve this error by editing the file in an external text editor and try again.
    What does this mean?  I looked up recursive style everywhere and there is no explanation.  I don't know how to fix.  The answer I found on these forums mentioned an @import statement error but I dont even have any @import statemensts in my style sheet this style sheet is part of the Getting Started tutorial on this website.
    @charset "utf-8";
    #container{
    width: 968px;
    background: #FFFFFF;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
    overflow: hidden;
    This is my code, can you help?

    This is my index.html code, I am so lost as to what to do to get rid of this stupid error.  My style sheet is not linked so of course it is useless and I have to code on both documents since the code doesnt show up automatically on the Style sheet when I add something to the index page
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Check Magazine</title>
    <style type="text/css">
    <!--
    #banner {
    background-image: url(images/banner.gif);
    height: 100px;
    width: 968px;
    #main_image {
    background-image: url(images/main.jpg);
    height: 376px;
    width: 968px;
    #left_column {
    float: left;
    width: 316px;
    #column_container {
    float: left;
    width: 652px;
    #right_column {
    float: right;
    width: 316px;
    #center_column {
    width: 316px;
    margin-left: 10px;
    -->
    </style>
    </head>
    <body>
    <div id="container">
      <div id="banner"></div>
      <div id="main_image"></div>
      <div id="left_column">Content for  id "left_column" Goes Here</div>
      <div id="column_container">
        <div id="right_column">Content for  id "right_column" Goes Here</div>
        <div id="center_column">Content for  id "center_column" Goes Here</div>
      </div>
    </div>
    </body>
    </html>

  • Problem linking css style sheet

    I am trying to link a css style sheet to a new root file. When I try to link the css sheet I get an error - A recursive style import was found while trying to add CFTtemp.css. Please resolve this error by editing the file in an external text editor and try again.
    What does this mean?  I looked up recursive style everywhere and there is no explanation.  I don't know how to fix.  This css sheet works in other sites.
    screen shot attached

    Perhaps some CSS statement in the stylesheet is trying to import your stylehseet! Thus the recursive warning. Look for "@import" statements and see if its trying to import the stylesheet. Then either comment them out (/*your old CSS*/) or remove it. Save. And see if that solves it. But not being able to see your whole stylesheet, this is only a guess.

  • Importing Microsoft word documents that already have paragraph styles

    Hello. I have been trying to figure out how to do this for months, this was taught to me many months ago but for some odd reason when I tried it myself it didn't work . I have my paragraph styles all set up in my indesign document. I have to import text that another person is giving me. The document that this person is giving me is a Microsoft word document. Someone showed me that you can customize the document in microsoft word, with styles for example: Selecting a part of text and customizing it (making it big and bold for example), then naming that style Heading, and then doing the same for lets say...a subheading. Well after you save the document (the microsoft word document), you are able to import the word document into your indesign file and it's supposed to override the styles from Microsoft Word and customize itself with your own paragraph or character styles that you already have in your indesign document, as long as the name of the styles are the same as the ones you had in microsoft word(which in this case would be heading and subheading). Any help would be greatly appreciated.
    Thanks!

    Convert Word styles to InDesign styles
    Here's the info you need. I found it in the InDesign Help section. I needed it, too. The "Show Import Options" is a little box in the lower left hand corner of the screen that comes up when you choose the file you want to place in InDesign. It's easy to miss.
    While importing a Microsoft Word document into InDesign or InCopy, you can map each style used in Word to a corresponding style in InDesign or InCopy. By doing so, you specify which styles format the imported text. A disk icon appears next to each imported Word style until you edit the style in InDesign or InCopy.
    Do one of the following:
    To add the Word document to existing text in InDesign or InCopy, choose File > Place. Select Show Import Options, and then double-click the Word document.
    To open the Word document in a stand-alone InCopy document, start InCopy, choose File > Open, and then double-click the Word file.
    Select Preserve Styles and Formatting From Text and Tables.
    Select Customized Style Import, and then click Style Mapping.
    In the Style Mapping dialog box, select the Word style, and then select an option from the menu under InDesign style. You can choose the following options:
    If there is no style name conflict, choose New Paragraph Style, New Character Style, or choose an existing InDesign style.
    If there is a style name conflict, choose Redefine InDesign Style to format the imported style text with the Word style. Choose an existing InDesign style to format the imported style text with the InDesign style. Choose Auto Rename to rename the Word style.
    Click OK to close the Style Mapping dialog box, and then click OK to import the document.
    Marilyn

  • Import for WSDL in rpc-Style Format with ComplexContent SOAP-ENC:Array

    Hello, we are working on a business process that consume a web services using XI and ABAP Proxy.
    We have and error type CANNOT_PRODUCE_ELEMENT, problably because the WSDL rpc-style imported on Integration Respository contents elements like this:
    <complexContent>
      <restriction base="SOAP-ENC:Array">
        <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="ns1:mytype[]" />
      </restriction>
    </complexContent>
    SO, anybody knows if it's possible to dessign mapping correctly with others elements like "sequence"... ?
    Thanks a lot,

    Alex,
    I would recommend to check your WSDL for any syntax errors etc in any of the external tools like XML SPY or Stylus Studio etc and then upload into XI.
    ---Satish

  • How to include preset in RTF import option while importing RTF files?

    Dear all,
    I created a script which will place text from rtf files present in a folder to an active document on different page based on match. I am using a preset name "myRTF" which i will use when i import rtf files without script.
    Is there a way to include this preset in script?
    I have checked many places....... but did not found.
    #target Indesign
    var myDoc = app.documents.item(0);
    var sourceFolder = Folder("/Users/admin4/Desktop/ec_txt");
    myFiles = sourceFolder.getFiles("*.rtf");
    var myFrame1 = myDoc.pageItems.itemByID(111076);  // switerland
    var myFrame2 = myDoc.pageItems.itemByID(111114);  // eurozone
    var myFrame3 = myDoc.pageItems.itemByID(111146);  // germany
    for (var i=0; i < myFiles.length; i++)
        switch (myFiles[i].name.slice (6, myFiles[i].name.lastIndexOf("_")))
            case "Switzerland_en":
            myFrame1.parentStory.insertionPoints.item(-1).place(File (sourceFolder + "/" + myFiles[i].name))
            break;
            case "Eurozone_en":
            myFrame2.parentStory.insertionPoints.item(-1).place(File (sourceFolder + "/" + myFiles[i].name))
            break;
            case "Germany_en":
            myFrame3.parentStory.insertionPoints.item(-1).place(File (sourceFolder + "/" + myFiles[i].name))
            break;

    Hi Dave, Peter,
    thanks for your reply. In that case i will check WordRTFImportPreference but not sure if customize style import can be done for paragraph style sheets.
    for example: word has "normal" and "head1" style but i want to map to indesign Body_light and H1 styles respectively.
    Virender

  • Importing Multiple Word Documents into RH

    I know that RH allows users to import word documents, however
    I was wondering if there was a way to import multiple word
    documents (ala batch style import) instead of importing each
    document one at a time.

    Colum has good advice. Also, since you're new to this, there
    are a few curiosities that occur that can be puzzling to newcomers.
    If you have graphics in your Word docs (screenshots, etc.) a new
    folder will automatically be created. So if the name of your Word
    doc is MYDOC.DOC, graphics will be placed in a new folder called
    MYDOC_Files.
    Another "hitchhiker" to the process is the creation of a CSS
    file automatically created for each Word doc. After the import you
    have the choice to reassign any style sheet you like, regardless of
    the CSS originally linked.
    Another tip if you're new to importing, go to Peter Grainge's
    excellent site.
    http://www.grainge.org/
    Follow the links: RoboHelp > Importing from Word for some
    excellent ideas.

  • Character Direction override in Word 2003 imports

    I've searched for Character Direction and seen mainly mentions of ME and foreign language conversions right to left and left to right. We do not use ME or any foreign language features. The behavior I'm troubleshooting for InDesign CS5 7.0.3 importing Word 2003 docs on a Windows XP macine, is as follows:
    I have hundreds of Word 2003 documents, used in a production environment where editors update text daily or weekly, the production dept. imports into newsletters in InDesign. We go from import to finished product at the printer sometimes as quickly as 15 minutes.
    In CS4, all of these documents import into my publications without overrides, using Microsoft Word Import options set for Customize Style Import, and style mapping used to map Word paragraph styles to ID paragraph styles
    After the CS5 conversion, every one of my Word 2003 documents for all of my publications come in with overrides showing hyphenation settings and character direction that did not appear with CS4. This is despite my mapping styles, and the fact that these options can't even be (as far as I can tell) a paragraph or character override inside Word.
    I went back to CS4 to make sure there were no changes in the Word docs. They worked perfectly, no overrides.
    Inside Word 2003, I had to go to Tools > Language > Hyphenation and make the hyphenation setting in the Word doc match exactly the hyphenation settings for the paragraph style it was being mapped to in InDesign to make it go away at import.
    Now I am left only with the character direction Left To Right override, which I can't figure out how to fix.
    I can't find a way to set this in Word, and I can't find a way (since I don't have ME) to change it in InDesign. It is not practical for me to run a script for every import or continue to reset the overrides manually, because we simply don't have to the time, our deadlines are too tight and frequent. Plus, if we miss one, there are definite consequences, because the data is exported in a variety of formats for reuse automatically via scripts, and the override is messing up my exports.
    I was hoping I'd see a post that says, "Ah yes, the Word filters in CS5 were updated, and now we look for hyphenation and character direction, and here's what you can do as a workaround" but I'm not seeing anything. If I can't define left to right in the regular version of ID or in Word 2003, does anyone have an idea how I can get my import to ignore it again?

    I hate it when I know too much about MS Word.
    I don't have Word accessible right now, but you can set character direction in (the Windows version of) Word. I don't remember the exact details off-hand. Character direction is not the only overrides I've seen make its way in. I've seen some CJK features get imported as overrides as well (by users not using CJK languages).
    It actually depends on your OS and your version of Word, I think. In Word 2007 on Windows 7, you need to have a RTL keyboard installed in order to expose the right-to-left-paragraph and left-to-right-paragraph buttons on the ribbon. I think that Asian scripts are on in all installs of Word 2007, but since our OS has some Asian keyobards turned on by default by Group Policy, I'm unsure of this. In Word 2003 on Windows XP, you need the, oh heck I can't visualise the menu, something like "Enable complex script support for right-to-left languages" in the Region and Language tab in Control Panel.
    For all recent versions of Word, you can check the Fonts window (control-D) to see if you have one, two, or three scripts enabled.
    Font = Latin-script
    Asian text font = CJK
    Complex scripts = Thai/Lao/etc. and Arabic/Farsi/etc.
    Finally: It's possible to have a RTL paragraph in a Word document on the machine of someone who does not have the Complex Scripts dropdown in the Font menu in Word. Likewise, it's possible to have paragraph styles in Word with CJK information on a machine that does not have CJK support turned on in Word (I have seen this numerous times in the Win XP/Office 2003 era).
    So, in terms of the original post - I haven't yet figured out if this is a new feature of CS5, or something about one's install of Word or Windows, but there are so many variables that the only obvious solution to me is "a workflow in which overrides are always cleared." You don't like that solution, I understand, but any other solution would require some extended troubleshooting of the entire workflow, including all installs of Word that might contribute a Word doc to be placed in ID.

  • Problem with paragraph style overrides and character formatting

    I've had this problem for a long time, and sometimes it resolves itself, sometimes it doesn't. Finally I'm begging for help.
    I am typesetting academic articles into a journal.  We use endnotes. The endnotes have both italic and regular formatting--italics for book and journal titles, and foreign phrases.
    Sometimes when I place the text, the formatting reverts to whatever it was in Word.  To try to fix that, I've begun stripping the Word formatting from the original document, making everything "Courier New" and just importing it like that.  I figured this would clear a lot of the problems I've had with fiddly formatting issues.
    I was mistaken. 
    Here is what happens:
    When I place the document it comes up in the original Courier New font, with italics and other formatting intact.  If I click "article style" which is the main article paragraph  style format, normally it changes.  but if I right click and select "apply article style" it is more likely to change the paragraph to the proper style, with italics and other formatting still intact.
    But when it gets to endnotes, I'm sort of screwed.
    My endnotes style is a bulletted style, so that I can have the endnote numbers consistent.  but this seems to screw all the style formatting.
    Here is what I do:
    With the cursor in endnote text, I click "bulleted endnote style".  The character format remains the same, with a + beside the style. The endnote number format is different, however.  If I click "clear overrides" it does in fact change to the proper formatting, but it strips any italics or other character in the text.  This is frustrating because many of these endnotes have lots of italicized journal and book titles, and it takes a long time to figure out which ones I need to reitalicize manually.
    I have tried to use the "customize style import>Style mapping" but it has not fixed anything.
    Please help me figure out how to make these transitions more smoothly.  I am open to suggestions both on how to make the changes once the document is placed in the Indesign file, and also making modifications to formats in the native Word file so that I don't have these problems. 
    Thanks
    Dan

    Sorry, that last message wasn't supposed to send (if that's not obvious!). I was writing it and got interrupted.  Damn iphone. 
    I know why there are two numbers.  This is not an issue. What I didn't finish writing was that, the note number before i bullet it is a different font/ format. Again, not a problem.  Here is something interesting, though.  If I delete that original number by placing the cursor in the middle of it (say a between the 4 and 2 of 42) then delete everything by Shift+arrow forward, press delete then delete the rest of the unnecessary characters, THEN apply the style formatting, it works just fine.  Is it something to do with the character codes of those original note numbers? 
    Word drops in so many hidden codes that it screws everything up!

  • Maintaining fill colors in character styles across multiple AI documents

    I'm having a lot of trouble understanding how Adobe Illustrator (CS6) manages character styles imported from different ai documents. If I create all character styles in a single .ai document and only use them in in that document, everything works as expected--colors, fonts, and typography settings are maintained in the character style, and newly added text can be quickly styled with the character style.
    My trouble starts when i want to re-use those character styles in a new .ai document. From the character style menu I use the option to import the character styles from another document, and they import correctly--all of the styles work and style text as expected. But then i save & close the document and re-open it to find that the character style entries are there, but the fills and strokes are all messed up--fonts, sizes, typography settings are maintained, but styles with a blue fill are suddenly filed with black, or some other color.
    So, why is this happening? This happens even if the swatches associated with the character styles are imported to the new document as well. I've read that all character styles are based off of the 'normal' character style. But, i've tried a test making sure that the 'normal' character style was consistent between the two documents and i've still experienced the issue.
    Here's a short video showing the issue i'm experiencing: http://youtu.be/Z-BG7miwib8 (watch at 720p)
    Any insights as to what i'm doing wrong would be GREATLY appreciated.
    Thanks!

    Jamier,
    can you please do the following and report what you see?
    1. Open a blank document
    2. Import a character style
    3. Make a text object and apply the style
    4. Cut and paste the text object inside the document
    5. Save the file
    6. Reopen this file
    Is the character style still intact?
    If so, you could take this way as a bumpy workaround (that should not be required at all, of course).

  • Auditing a Custom Import package

    We are having issues with BPC data auditing on a custom import package.  We are using the convert and dump load tasks just like in the standard import package.  The difference is that we have those surrounded by other SSIS tasks to perform other pieces of the import process.  The specific issue is that when we look at the detailed audit data, we are not seeing all of the records from our custom import.  We usually see that the import package took place, but we also usually see only a small fraction (if any) of the actual records that were posted (and which we can see in BPC) in the audit.
    My first question is, does the "Data Manager Import" option under the audit settings work with custom import packages using the convert and dump load tasks, or is it exclusive to the standard import package?  Secondly, if it does work with custom import packages, what might be some causes and/or resolutions to this issue?

    Just an update on the two issues that we are seeing...
    First, I have tested the standard Import and the Append into Fact Table packages, and both are audited correctly and completely.  This is important because our import package utilizes both of these styles of import.  One set of data is transactional, so it is loaded similar to the Append into Fact Table package.  The other set is a merge style import, so it is very similar to the standard import.  I see all records in the AuditDataFincance table in the Extra database for both of these packages.  This would lead me to believe that we are seeing some interference either between these two dump load tasks in the same package or some other SSIS package.  It is important to note that these dump load tasks are wrapped in foreach loops to pickup all files in a directory.  Looking at the package, my guess would be that either having two dump load tasks or having said tasks wrapped in a foreach loop would probably be the culprit.  My next step will be to strip the package down to test just these pieces.  Does anyone know if either of these would cause an issue with auditing?
    Secondly, I stated that we are not seeing the temp audit files in the STAGED or LOADED folders, which is making it more difficult to debug this issue.  After testing several packages, I noticed that the standard import and clear packages audit correctly, but they never create files in the STAGED or LOADED folders.  However, the Append into Fact Table package DOES create these files.  What I noticed in the AuditHdrFinance table in the Extra database was that the StagingCode values for these packages were different before they were loaded.  A value of 0 signifies that the package has already been loaded.  Append into Fact Table had a value of 1, which appears to signify that an audit file is waiting to be loaded in the STAGED directory.  The others had a value of 2, which I am guessing signifies that they are currently being staged in memory or some other location.  Does anyone have any information on what the different StagingCode values signify and why different packages have different codes?

  • How to use own style sheet

    Hi my friends,
    I created a JSP file that contains a report built using Reports Builder. When I run this page using a browser, my report is displayed correctly, including the style imported from Report Builder. But when I try run this page as a portlet, my report is being displayed, but style sheet is not being displayed. Why this is happening?
    Someone could help me?
    Thanks.

    Hi my friends,
    This page should use style css/wine.css, for example, but it is not doing this when I put it as a portlet. How should to stay my provider.xml file? When I must put the css directory?
    Thanks,
    Carla.

  • Unacceptably slow import?

    Hello -
    I am a Linux sys admin. I know next to nothing about Oracle components or utilities. I am being
    asked to help troubleshoot a problem.
    Our Oracle consultants are running a process called 'imp', which is an old-style import process
    taking a file on disk and importing it into Oracle. They have told me that they can not use
    Data Pump - I can't remember why.
    The database is approximately 70 GB and the import has been running for over a day and a half on
    very modern hardware. They believe there is some problem with the I/O because not a lot of disk
    activity is happening. However, the disk subsystem looks fine - especially the device they are trying to
    write to.
    What concerns me is that the 'imp' process itself is pegging one core of one CPU at 100%. I run the
    Linux utility called 'ltrace', which shows all library calls the process is making. When running 'ltrace' on
    the 'imp' process, I see a continuous stream of these calls:
    OCIDescriptorAlloc(0xe3b1890, 0x2ae2f11e3e18, 68, 0, 0) = 0
    It appears this is some sort of Oracle library call. About 30-40 of these run per second. It's been doing
    this for at least several hours, if not the whole time. The only argument that keeps getting incremented
    is the second one. It doesn't appear that the 'imp' process is making any other calls.
    Here is how the process was invoked by our consultants:
    oracle 15666 1 99 Feb09 pts/5 2-00:15:07 imp full=y buffer=152488800 ignore=y commit=y file=/stage/export/autht/autht_daily.exp log=/stage/export/autht/autht_imp_1.log resumable=y resumable_timeout=28800 STATISTICS=none
    Can someone please tell me some steps I can take as a Linux admin, or steps our Oracle consultants
    should take, to troubleshoot the problem? The root problem is, according to them, "A 70 GB database
    should not take 1.5 days (and counting) to import."
    If this is not the correct forum, please let me know what is. Thanks!

    Sorry - I forgot to mention the log file.
    It has not been written to in several hours, but when it was being updated, it showed mostly these types of entries:
    . . importing table "ICMUT01088001" 0 rows imported
    . . importing table "ICMUT01089001" 0 rows imported
    . . importing table "ICMUT01090001" 0 rows imported
    . . importing table "ICMUT01091001" 0 rows imported
    . . importing table "ICMUT01092001" 0 rows imported
    . . importing table "ICMUT01093001" 0 rows imported
    . . importing table "ICMUT01094001" 0 rows imported
    . . importing table "ICMUT01095001" 0 rows imported
    . . importing table "ICMUT01096001" 0 rows imported
    . . importing table "ICMUT01097001" 4 rows imported
    . . importing table "ICMUT01098001" 0 rows imported
    . . importing table "ICMUT01099001" 0 rows imported
    . . importing table "ICMUT01100001" 0 rows imported
    . . importing table "ICMUT01101001" 0 rows imported
    . . importing table "ICMUT01102001" 0 rows imported
    . . importing table "ICMUT01103001" 0 rows imported
    . . importing table "ICMUT01104001" 0 rows imported
    . . importing table "ICMUT01105001" 0 rows imported
    . . importing table "ICMUT01106001" 0 rows imported
    . . importing table "ICMUT01107001" 12 rows imported
    . . importing table "ICMUT01108001" 0 rows imported
    There were a few tables imported with 2-3 million rows, but other than that, this is a majority of output in the log file.

  • CSS wierds - reseting default Safari styles..

    Safari 4.0.4
    As an example, I have a cssreset.css style sheet with this setting:
    ol, ul {
    list-style-image:none;
    list-style-position:outside;
    list-style-type:none;
    the "reset" style sheet is imported as follows:
    /* Clear all default styles */
    @import url("cssreset.css");
    ..which for all other browsers becomes the base setting..
    in Safari it appears to not work, or to be over-ridden by "user agent stylesheet" with
    ul, menu, dir {
    -webkit-padding-start: 40px;
    display: block;
    list-style-type: disc; }
    Any suggestions on how to "reset" Safari's default styles...? (or get the import to work..?)
    Thanks..
    John..

    Dang, after all that I then found a post that solve most of the problems..
    Safari does not like:
    @charset "UTF-8";
    in the style sheet.. blows everything out of the water..

Maybe you are looking for