A .css file crashing DWMX - Mac OS9

Ask a Question related to Macromedia Dreamweaver, Design and Development.

  1. #1

    Default A .css file crashing DWMX - Mac OS9

    Last week I built a 'standard' .css file, along with a standard folder structure and files, to use as a starting point for any new sites I do. The plan is to duplicate this folder, rename it, and then use it for my new site in dreamweaver, saving me some grunt-work.

    However, when I start a new project this way, the.css file will cause DW to crash! I can get it to repeat quite consistently. If I restart DW and open the css file, and then click the close box to close the file, DW crashes. If I try to change a style through the CSS styles palette from a linked page, DW will crash at some point while the style dialog is open.

    If I go back to the original 'template site' folder, that .css file works with no problems, but as soon as I make a duplicate folder & css file, the same behavior repeats. I even duplicated the folder, opened the original css file in a text editor, copy/pasted into a new document, deleted the 'duplicate' css, and replaced it with the new file. It still crashes.

    Is there anything in the actual css code that I mistyped that could possilby cause this? or is it a fluke? I don't want to recreate the whole css, but simply copying the text out doesn't seem to 'clear out' the behavior.

    I am using OS 9, and have experienced no problems with DW up to this point. Any ideas?


    scottdye webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. DWMX V6.0 and DWMX V7.0 Lost Feature - TIMELINE
      DWMX V6.0 and DWMX V7.0 Lost Feature - TIMELINE Has anyone noticed the "MODIFY timeline" feature in DWMX Version 6.0 is gone in DWMX V7.0. The...
    2. Importing FW file into DWMX 2004
      Ok this used to be real easy. But I am using FW 2004 and DW 2004. When I export my navigation bar HTML and try to import it to DW, I get this error...
    3. DWMX corrupts file
      I have a .cfm file with the following lines: </td> </cfloop> </tr> </cfloop> When I open the file in DWMX it changes to: </td> </tr></cfloop>
    4. help file toally crashing
      I can't say I've ever seen a cure for this.. I like to browse the flash help file with flash unloaded so I fire up the ContextHelp.htm in the...
    5. PS7 crashing on FILE>OPEN
      Has it worked before? If so, reset prefs . Otherwsie, you need to do this reset and reinstall.
  3. #2

    Default Re: A .css file crashing DWMX - Mac OS9

    Scott:

    Can you post the code in the CSS file?

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver MX
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    ANSWERS
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "scottdye" <webforumsuser@macromedia.com> wrote in message
    news:bev2k1$hfr$1@forums.macromedia.com...
    > Last week I built a 'standard' .css file, along with a standard folder
    structure and files, to use as a starting point for any new sites I do. The
    plan is to duplicate this folder, rename it, and then use it for my new site
    in dreamweaver, saving me some grunt-work.
    >
    > However, when I start a new project this way, the.css file will cause DW
    to crash! I can get it to repeat quite consistently. If I restart DW and
    open the css file, and then click the close box to close the file, DW
    crashes. If I try to change a style through the CSS styles palette from a
    linked page, DW will crash at some point while the style dialog is open.
    >
    > If I go back to the original 'template site' folder, that .css file works
    with no problems, but as soon as I make a duplicate folder & css file, the
    same behavior repeats. I even duplicated the folder, opened the original css
    file in a text editor, copy/pasted into a new document, deleted the
    'duplicate' css, and replaced it with the new file. It still crashes.
    >
    > Is there anything in the actual css code that I mistyped that could
    possilby cause this? or is it a fluke? I don't want to recreate the whole
    css, but simply copying the text out doesn't seem to 'clear out' the
    behavior.
    >
    > I am using OS 9, and have experienced no problems with DW up to this
    point. Any ideas?
    >
    >

    Murray *TMM* Guest

  4. #3

    Default Re: A .css file crashing DWMX - Mac OS9

    Here you go. It is somewhat of a work in progress. I've also discovered that it crashes DW in OSX as well:



    /* Font Replacement Options - Copy/Paste the font-family line into the styles below to change the fonts on your page.
    Delete this once you've determined your site layout to clean up the file size

    San Serif, version 1-
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;

    San Serif, version 2- Most legible fonts for (in order) OSX, general, OS9, Unix, old PCs, general, handhelds
    font-family: 'Lucidia Grande', Verdana, Geneva, Lucidia, Arial, Helvetica, sans-serif;

    San Serif, version 3- Trebuchet
    font-family: Trebuchet, 'Trebuchet MS', Tahoma, Verdana, Geneva, Lucidia, Arial, Helvetica, sans-serif;

    San Serif, version 4- Tahoma
    font-family: Tahoma, Verdana, Trebuchet, 'Trebuchet MS', Geneva, Lucidia, Arial, Helvetica, ;

    Serif, version 1- Georgia (Good for headings)
    font-family: Georgia, "Times New Roman", Times, serif;

    Serif, version 2- Alternates they just might have installed...
    font-family: "Book Antigua", Palatino, Georgia, "Times New Roman", Times, serif;

    Serif,body, td, th {
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;
    font-size: 12px;
    color: #000000;
    }

    /* Custom Style that mirrors body option; also includes leading (which body does not) */
    ..bodystyle {
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;
    font-size: 12px;
    color: #000000;
    line-height: 18px;
    }


    a:link {
    color: #CC0000;
    }
    a:visited {
    color: #02124f;
    }
    a:hover {
    color: #3676B3;
    text-decoration: none;
    }
    a:active {
    color: #FFFFFF;
    }

    /* Sets the color of ALL horizontal rules...use with caution */
    hr {
    color: #666666;
    }

    /* ----- HEADINGS ----- */
    h1 {
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;
    font-size: 30px;
    color: #003399;
    }
    h2 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 20px;
    color: #003399;
    font-style: italic;
    line-height: 26px;
    }
    h3 {
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;
    font-size: 14px;
    color: #003399;
    }
    h4 {
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;
    font-size: 11px;
    color: #003399;
    }


    /* NAVIGATION BAR OPTIONS */

    ..NavBarTop {
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 13px;
    font-weight: normal;
    text-transform: none;
    color: #000000;
    }
    ..NavBarTop a:link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    }
    ..NavBarTop a:visited {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    }
    ..NavBarTop a:hover {
    color: #FFCC33;
    font-weight: bold;
    text-decoration: none;
    }
    ..NavBarTop a:active {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    }

    ..NavBarLeft {
    font-weight: bold;
    color: #FFFFFF;
    letter-spacing: 1pt;
    font-size: 11px;
    line-height: 14px;
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;
    }
    ..NavBarLeft a:link {
    color: #FFFFFF;
    text-decoration: none;
    }
    ..NavBarLeft a:visited {
    color: #FFFFFF;
    text-decoration: none;
    }
    ..NavBarLeft a:hover {
    color: #FFCC00;
    text-decoration: none;
    }
    ..NavBarLeft a:active {
    color: #CC0000;
    text-decoration: none;
    }


    /* USE FOR TWO-LEVEL LINKS IN LEFT BAR */

    ..NavBarLeftCategory {
    text-transform: uppercase;
    color: #BAD6F1;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 14px;
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;
    }
    ..NavBarLeftCategory a:link {
    color: #BAD6F1;
    text-decoration: none;
    }
    ..NavBarLeftCategory a:visited {
    color: #BAD6F1;
    text-decoration: none;
    }
    ..NavBarLeftCategory a:hover {
    color: #FFCC00;
    text-decoration: none;
    }
    ..NavBarLeftCategory a:active {
    color: #CC0000;
    text-decoration: none;
    }


    /* ----- MONOSPACE FONTS -----
    use .monospace for text within form fields so that input boxes are a consistent width between IE & Netscape
    Example: <Input Type="text" Size="45" Class="monospace">
    */
    code, tt, pre {
    font-family: monaco, "andale mono", "courier new", courier, monospace;
    font-size: 11px;
    color: #663300;
    background-color: transparent;
    }
    ..monospace {
    font-family: monaco, "andale mono", "courier new", courier, monospace;
    font-size: 11px;
    color: #663300;
    background-color: transparent;
    }

    ..Footer {
    font-size: 10px;
    font-style: italic;
    color: #666666;
    }
    ..List {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 12px;
    color: #000000;
    list-style-image: url(images/bullet.gif);
    line-height: 20px;
    }
    ..Tagline {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 15px;
    color: #02124F;
    line-height: 18px;
    }
    ..Byline {
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #000000;
    }



    /* End template version */


    /*
    Things to add/clean up:
    Add a optional list graphic for NavLeft
    Fix list styles
    Clean up Heading styles
    */


    /* Font Replacement Options - Copy/Paste the font-family line into the styles below to change the fonts on your page.
    Delete this once you've determined your site layout to clean up the file size

    San Serif, version 1-
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;

    San Serif, version 2- Most legible fonts for (in order) OSX, general, OS9, Unix, old PCs, general, handhelds
    font-family: 'Lucidia Grande', Verdana, Geneva, Lucidia, Arial, Helvetica, sans-serif;

    San Serif, version 3- Trebuchet
    font-family: Trebuchet, 'Trebuchet MS', Tahoma, Verdana, Geneva, Lucidia, Arial, Helvetica, sans-serif;

    San Serif, version 4- Tahoma
    font-family: Tahoma, Verdana, Trebuchet, 'Trebuchet MS', Geneva, Lucidia, Arial, Helvetica, ;

    Serif, version 1- Georgia (Good for headings)
    font-family: Georgia, "Times New Roman", Times, serif;

    Serif, version 2- Alternates they just might have installed...
    font-family: "Book Antigua", Palatino, Georgia, "Times New Roman", Times, serif;

    Serif,body, td, th {
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;
    font-size: 12px;
    color: #000000;
    }

    /* Custom Style that mirrors body option; also includes leading (which body does not) */
    ..bodystyle {
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;
    font-size: 12px;
    color: #000000;
    line-height: 18px;
    }


    a:link {
    color: #CC0000;
    }
    a:visited {
    color: #02124f;
    }
    a:hover {
    color: #3676B3;
    text-decoration: none;
    }
    a:active {
    color: #FFFFFF;
    }

    /* Sets the color of ALL horizontal rules...use with caution */
    hr {
    color: #666666;
    }

    /* ----- HEADINGS ----- */
    h1 {
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;
    font-size: 30px;
    color: #003399;
    }
    h2 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 20px;
    color: #003399;
    font-style: italic;
    line-height: 26px;
    }
    h3 {
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;
    font-size: 14px;
    color: #003399;
    }
    h4 {
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;
    font-size: 11px;
    color: #003399;
    }


    /* NAVIGATION BAR OPTIONS */

    ..NavBarTop {
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 13px;
    font-weight: normal;
    text-transform: none;
    color: #000000;
    }
    ..NavBarTop a:link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    }
    ..NavBarTop a:visited {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    }
    ..NavBarTop a:hover {
    color: #FFCC33;
    font-weight: bold;
    text-decoration: none;
    }
    ..NavBarTop a:active {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    }

    ..NavBarLeft {
    font-weight: bold;
    color: #FFFFFF;
    letter-spacing: 1pt;
    font-size: 11px;
    line-height: 14px;
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;
    }
    ..NavBarLeft a:link {
    color: #FFFFFF;
    text-decoration: none;
    }
    ..NavBarLeft a:visited {
    color: #FFFFFF;
    text-decoration: none;
    }
    ..NavBarLeft a:hover {
    color: #FFCC00;
    text-decoration: none;
    }
    ..NavBarLeft a:active {
    color: #CC0000;
    text-decoration: none;
    }


    /* USE FOR TWO-LEVEL LINKS IN LEFT BAR */

    ..NavBarLeftCategory {
    text-transform: uppercase;
    color: #BAD6F1;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 14px;
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;
    }
    ..NavBarLeftCategory a:link {
    color: #BAD6F1;
    text-decoration: none;
    }
    ..NavBarLeftCategory a:visited {
    color: #BAD6F1;
    text-decoration: none;
    }
    ..NavBarLeftCategory a:hover {
    color: #FFCC00;
    text-decoration: none;
    }
    ..NavBarLeftCategory a:active {
    color: #CC0000;
    text-decoration: none;
    }


    /* ----- MONOSPACE FONTS -----
    use .monospace for text within form fields so that input boxes are a consistent width between IE & Netscape
    Example: <Input Type="text" Size="45" Class="monospace">
    */
    code, tt, pre {
    font-family: monaco, "andale mono", "courier new", courier, monospace;
    font-size: 11px;
    color: #663300;
    background-color: transparent;
    }
    ..monospace {
    font-family: monaco, "andale mono", "courier new", courier, monospace;
    font-size: 11px;
    color: #663300;
    background-color: transparent;
    }

    ..Footer {
    font-size: 10px;
    font-style: italic;
    color: #666666;
    }
    ..List {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 12px;
    color: #000000;
    list-style-image: url(images/bullet.gif);
    line-height: 20px;
    }
    ..Tagline {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 15px;
    color: #02124F;
    line-height: 18px;
    }
    ..Byline {
    font-family: 'Lucidia Grande', Arial, Geneva, Lucidia, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #000000;
    }



    /* End template version */


    /*
    Things to add/clean up:
    Add a optional list graphic for NavLeft
    Fix list styles
    Clean up Heading styles
    */



    scottdye webforumsuser@macromedia.com Guest

  5. #4

    Default Re: A .css file crashing DWMX - Mac OS9

    I can even get the behavior to repeat on other computers OS9 or OSX. All I have to do is define the site, and open and close the css file. DW unexpectedly quits.



    scottdye webforumsuser@macromedia.com Guest

  6. #5

    Default Re: A .css file crashing DWMX - Mac OS9

    Scott:

    Where did you get this CSS?

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver MX
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    ANSWERS
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "scottdye" <webforumsuser@macromedia.com> wrote in message
    news:bevgfh$7q1$1@forums.macromedia.com...
    > Here you go. It is somewhat of a work in progress. I've also discovered
    that it crashes DW in OSX as well:
    >

    Murray *TMM* Guest

  7. #6

    Default Re: A .css file crashing DWMX - Mac OS9

    It's mine, partially built through dreamweaver, and partially hand coded.

    I'm learning to use CSS little by little. I'm sure it's not the cleanest code in the world, but I'm using it as a starting point, and will whittle it down as I learn more.

    btw I think I found out the problem. Somehow the beginning comment got merged into the body stlye, leaving no closing */ before the body, td, th style. Not sure how that happened, but when I correct the comment, DW no longer crashes. It's odd though that what causes the crash is commented out...

    Why do you ask where I got it? Is there something wrong with it?


    scottdye webforumsuser@macromedia.com Guest

  8. #7

    Default Re: A .css file crashing DWMX - Mac OS9

    You forgot to terminate the first comment.

    -- James M. Shook
    [url]http://www.jshook.com[/url]

    James M. Shook Guest

  9. #8

    Default Re: A .css file crashing DWMX - Mac OS9

    In article <bf217j$gjs$1@forums.macromedia.com> , "scottdye"
    [email]webforumsuser@macromedia.com[/email] wrote:
    > It's odd though that what causes the crash is commented out...
    I suspect the problem is because DW sees two open comments in a row (with no
    close comment in between), which is invalid syntax.

    -- James M. Shook
    [url]http://www.jshook.com[/url]

    James M. Shook 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