Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Lost style sheets

    Style sheets are not being seen by browsers when saved by DW. When I save a
    set of files with their external style sheet, browsers are not able to "see"
    the links. This is not related to the "open CSS files when modified" issue, as
    that is disabled.

    Attempting to narrow the problem down, I have taken a known working set of
    web pages and reduced the index file and the style sheet to simple one-liners.
    The index was reduced to a the proper head information, including the link to
    the style sheet, and a single line of text, as below:

    ()()()()()()()()()()

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

    <html>

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

    <title>IT Consultant:Home</title>

    <link href="cisdtest.css" rel="stylesheet" type="text/css">


    </head>

    <body>
    This is a test.
    </body>
    </html>


    ()()()()()()()()()()

    The style sheet was reduced to a single line setting the background color, as
    below:

    ()()()()()()()()()()


    body
    {
    background-color:#FFCC00;
    }



    ()()()()()()()()()()

    The obtrusive background was intentional! This code continued to work. I
    want to emphasize, it was REDUCED from working code!

    Now, new code was generated in DW to exactly match the code listed in the
    index above. It is listed below:


    ()()()()()()()()()()

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

    <html>

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

    <title>IT Consultant:Home</title>

    <link href="cisdtest.css" rel=stylesheet" type="text/css">

    </head>


    <body>
    This is a test of a none working style.

    </body>

    </html>


    ()()()()()()()()()()

    This code does not work, using the exact same style sheet! What gives? Both
    pages are in the same folder, next to the style sheet.

    The point is, I am unable to use style sheets as long as this situation
    continues. It is probably something I am going to feel very stupid about real
    soon, but I need help.

    Thank you.

    MCM



    Mike Martin Guest

  2. Similar Questions and Discussions

    1. External style sheets
      Well youd think this would be pretty straight forward but no matter what i do i dont get any changes in my app. I have tried defining the style...
    2. How to: Inline style sheets
      Hi Everyone, Yahoo! and Hotmail do not correctly read my HTML emails. They do not recognize my style sheet. I was told that I might have better...
    3. ASP Functions & Style Sheets
      Can anyone tell me if it's possible to attach style sheets to functions. <% Function answerTypeA(A) If A = 1 then A = 'Never' elseIf A = 2 then ...
    4. Style Sheets
      Can anyone tell me what a good dreamweaver book is on learning CSS? What do's and don'ts can you advise me in? Kelly
    5. Using external style sheets
      You shouldn't have any trouble. What does the URL of the stylesheet link look like? -- HTH, Kevin Spencer ..Net Developer Microsoft MVP...
  3. #2

    Default Re: Lost style sheets

    zip the three files together, upload them, and post a link to the zip file,
    please.

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


    "Mike Martin" <webforumsuser@macromedia.com> wrote in message
    news:dmkg7e$dhu$1@forums.macromedia.com...
    > Style sheets are not being seen by browsers when saved by DW. When I save
    > a
    > set of files with their external style sheet, browsers are not able to
    > "see"
    > the links. This is not related to the "open CSS files when modified"
    > issue, as
    > that is disabled.
    >
    > Attempting to narrow the problem down, I have taken a known working set of
    > web pages and reduced the index file and the style sheet to simple
    > one-liners.
    > The index was reduced to a the proper head information, including the link
    > to
    > the style sheet, and a single line of text, as below:
    >
    > ()()()()()()()()()()
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    > "http://www.w3.org/TR/html4/loose.dtd">
    >
    > <html>
    >
    > <head>
    >
    > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    >
    > <title>IT Consultant:Home</title>
    >
    > <link href="cisdtest.css" rel="stylesheet" type="text/css">
    >
    >
    > </head>
    >
    > <body>
    > This is a test.
    > </body>
    > </html>
    >
    >
    > ()()()()()()()()()()
    >
    > The style sheet was reduced to a single line setting the background color,
    > as
    > below:
    >
    > ()()()()()()()()()()
    >
    >
    > body
    > {
    > background-color:#FFCC00;
    > }
    >
    >
    >
    > ()()()()()()()()()()
    >
    > The obtrusive background was intentional! This code continued to work. I
    > want to emphasize, it was REDUCED from working code!
    >
    > Now, new code was generated in DW to exactly match the code listed in the
    > index above. It is listed below:
    >
    >
    > ()()()()()()()()()()
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    > "http://www.w3.org/TR/html4/loose.dtd">
    >
    > <html>
    >
    > <head>
    >
    > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    >
    > <title>IT Consultant:Home</title>
    >
    > <link href="cisdtest.css" rel=stylesheet" type="text/css">
    >
    > </head>
    >
    >
    > <body>
    > This is a test of a none working style.
    >
    > </body>
    >
    > </html>
    >
    >
    > ()()()()()()()()()()
    >
    > This code does not work, using the exact same style sheet! What gives?
    > Both
    > pages are in the same folder, next to the style sheet.
    >
    > The point is, I am unable to use style sheets as long as this situation
    > continues. It is probably something I am going to feel very stupid about
    > real
    > soon, but I need help.
    >
    > Thank you.
    >
    > MCM
    >
    >
    >

    Murray *TMM* Guest

  4. #3

    Default Re: Lost style sheets

    Murray, thanks...see if this will work. My QD zip wasn't working either, so I had to "borrow" winzip to do this.

    [url]http://komodo.utsystem.edu/med/mmartin/testCSS.zip[/url]

    Thanks!

    MCM
    Mike Martin Guest

  5. #4

    Default Re: Lost style sheets

    File that works -
    <link href="cisdtest.css" rel="stylesheet" type="text/css">

    File that doesn't work -
    <link href="cisdtest.css" rel=stylesheet" type="text/css">
    --------------------------------------^^^

    Geddit?

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


    "Mike Martin" <webforumsuser@macromedia.com> wrote in message
    news:dmlag2$mun$1@forums.macromedia.com...
    > Murray, thanks...see if this will work. My QD zip wasn't working either,
    > so I had to "borrow" winzip to do this.
    >
    > [url]http://komodo.utsystem.edu/med/mmartin/testCSS.zip[/url]
    >
    > Thanks!
    >
    > MCM

    Murray *TMM* 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