Style Sheet not found when editing an aspx page - C3

Ask a Question related to Macromedia Contribute General Discussion, Design and Development.

  1. #1

    Default Style Sheet not found when editing an aspx page - C3

    I have a dot net project. If I view the web pages in the Contribute browser,
    they look fine. So, Contribute is able to find/figure out the aspx pages and
    their relationship to the user controls (where style sheet and page layout info
    is stored). However, if I edit a given page, the style sheet is no longer
    found. As a result, I see the default font (Times New Roman) and cannot select
    any of the styles I've set up for these pages.

    There is a knowledge base article
    ([url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19569[/url]) which
    seems to describe the same problem. However version of Extensions.txt has the
    exact same contents of the version I already had, so my problem with style
    sheets is elsewhere.

    My pages are aspx pages and the page layout is stored in an ascx file.

    Is there some simple workaround I can use to point to the style sheet?...
    Thanks much.

    JoBean3 Guest

  2. Similar Questions and Discussions

    1. Contribute Style Sheet
      I am having a problem with the style sheet updating for users once i change it. I created some new styles for users to to use but they are not...
    2. Viewing aspx page in C3 - Style Sheet not found
      I have several aspx pages that will be edited by someone who uses Contribute. The aspx page inherits its page layout, page title, keywords, style...
    3. Open Web Page not picking up Style Sheet
      Hi Everyone, I'm using Adobe Acrobat 5.0 on Windows XP and would like to create a PDF file of my website. However, it does not pick up the...
    4. HELP: No POST data found from a ASPX Script HTTPWebRequest into a PHP Page
      We are working with a vendor who is trying to post some some XML data to us. They are using an ASPX script to post to a PHP page of ours. The...
    5. build Style Sheet
      Hi, I have a page with a frame on the left side, and I want to give the whole left side a different color, just like you see here on both sides...
  3. #2

    Default Re: Style Sheet not found when editing an aspx page - C3

    the stylesheet is linked in the backend page?

    anyway- try this-
    in dreamweaver, add a "design time" stylesheet.
    Add the stylesheet you have linked in the backend.

    contribute will read in the .mno design note, which will tell it to use the
    stylesheet in edit mode.
    > I have a dot net project. If I view the web pages in the Contribute browser,
    > they look fine. So, Contribute is able to find/figure out the aspx pages and
    > their relationship to the user controls (where style sheet and page layout
    > info
    > is stored). However, if I edit a given page, the style sheet is no longer
    > found. As a result, I see the default font (Times New Roman) and cannot select
    > any of the styles I've set up for these pages.
    Alan Guest

  4. #3

    Default Re: Style Sheet not found when editing an aspx page - C3

    How do I add a design time stylesheet? I can't find anything in the Dreamweaver search help option.

    If this works, it would be most excellent. Thanks for your reply.
    JoBean3 Guest

  5. #4

    Default Re: Style Sheet not found when editing an aspx page - C3

    I am a dunce! It was right in front of my face... Text|CSS Styles|Design Time

    I selected my style sheet and clicked ok. I dont see any sort of code or
    indicator in my aspx page itself that identifies this page as having a design
    time style. I assume Dreamweaver keeps track of it somewhere. So I open this
    very same page in Contribute and when I edit a page, I do in fact see the
    correct font/size/color instead of default Times New Roman.

    So this is major progress. My remaining problem is that the styles are still
    not listed in the style drop down box. All I see are the generic "heading 1,
    heading 2" etc. And none of those are in my css file. Is there a way that I can
    get Contribute to list the css styles in the dropdown list?

    Thanks for the help!

    JoBean3 Guest

  6. #5

    Default Re: Style Sheet not found when editing an aspx page - C3

    I assume Dreamweaver keeps track of it somewhere. So I open this
    > very same page in Contribute and when I edit a page, I do in fact see the
    > correct font/size/color instead of default Times New Roman.

    it's in the thatfilename.mno design note
    >
    > So this is major progress. My remaining problem is that the styles are still
    > not listed in the style drop down box. All I see are the generic "heading 1,
    > heading 2" etc. And none of those are in my css file. Is there a way that I
    > can
    > get Contribute to list the css styles in the dropdown list?

    I'm still not sure what's up-
    IS there an attached css link in this page?
    If so- what part of the document structure is it in?
    Or- is the link conditional or inside a bunch of asp?

    Alan Guest

  7. #6

    Default Re: Style Sheet not found when editing an aspx page - C3

    I see the .mno file in the _notes subdirectory, so I guess I did attach it ok

    "I'm still not sure what's up-
    IS there an attached css link in this page?
    If so- what part of the document structure is it in?
    Or- is the link conditional or inside a bunch of asp?"

    I think my .NET project structure is the culprit. The aspx page contains
    nothing but the page text and a line of code at the top of the page that points
    to a user control. It is not an include file - it's a page directive. The user
    control contains the html, head, and body tags, as well as the page banner and
    menu.

    So when Contribute just views or browses the page, everything looks fine. It
    understands the ascx and aspx setup. But when I go into edit mode, it cannot
    find the style sheet or just doesnt know it's there.

    JoBean3 Guest

  8. #7

    Default Re: Style Sheet not found when editing an aspx page - C3

    HERE IS THE FIX!!!

    You must put <html>, <head> and <body> tags in the aspx page, even though in
    my case they are completely duplicative (this info is already in an ascx file).
    IE and Netscape don't care if the extra stuff is there.


    JoBean3 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139