6 Replies Latest reply: Feb 23, 2008 5:11 AM by Newsgroup_User RSS

    Styles Won't Preview in Browser

    dkmiles Community Member
      This must be something simple I haven't set up right... (fairly new at this) ... but I've created a stylesheet for the site I'm working on and the styles all show up fine in Dreamweaver, but whenever I try to preview the pages in a browser, the styles are all out of wack.

      This happens in both IE and Safari.

      Does anyone have an idea of what I'm doing wrong?

      Any help is greatly appreciated.

      dm
        • 1. Re: Styles Won't Preview in Browser
          Newsgroup_User Community Member
          Show us your page, please.

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


          "dkmiles" <webforumsuser@macromedia.com> wrote in message
          news:ek7813$iop$1@forums.macromedia.com...
          > This must be something simple I haven't set up right... (fairly new at
          > this)
          > ... but I've created a stylesheet for the site I'm working on and the
          > styles
          > all show up fine in Dreamweaver, but whenever I try to preview the pages
          > in a
          > browser, the styles are all out of wack.
          >
          > This happens in both IE and Safari.
          >
          > Does anyone have an idea of what I'm doing wrong?
          >
          > Any help is greatly appreciated.
          >
          > dm
          >


          • 2. Re: Styles Won't Preview in Browser
            dkmiles Community Member
            well I'm not sure exactly what I did, but I got it working. (!)

            thanks anyway!

            dm
            • 3. Re: Styles Won't Preview in Browser
              Bob from Alexandria
              DM,
              I was wondering if you might be able to assist with essentially the same problem. Until recently, all worked fine. Now, and I am not sure what I changed, the html shows up fine in the browser preview, but the linked CSS does not (both in Firefox and Explorer) They are both (index.htm and default.css) in the same folder called Silent Auction New Site (and work fine in Dreamweaver itself). These are the settings:

              Local Root: C:\Inetpub\wwwroot\Silent Auction New Site\
              Default Images: C:\Inetpub\wwwroot\Silent Auction New Site\images\
              Testing Server Folder: C:\Inetpub\wwwroot\

              The location when I hit F12 is : http://localhost/TMPey3nnwm7hs.htm

              I did recently enable IIS, thinking that I needed to, although it wasn't installed before when all worked. I have been moving the files from htdocs to wwwroot, to try and solve the problem, and at this point am at a loss as to where they should be.
              Thanks
              Bob Baird
              • 4. Re: Styles Won't Preview in Browser
                Newsgroup_User Community Member
                If you are building static pages (and it sure sounds like you are) then you
                do not need a testing server.

                --
                Murray --- ICQ 71997575
                Adobe Community Expert
                (If you *MUST* email me, don't LAUGH when you do so!)
                ==================
                http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                ==================


                "Bob from Alexandria" <webforumsuser@macromedia.com> wrote in message
                news:fpl698$n4l$1@forums.macromedia.com...
                > DM,
                > I was wondering if you might be able to assist with essentially the same
                > problem. Until recently, all worked fine. Now, and I am not sure what I
                > changed, the html shows up fine in the browser preview, but the linked CSS
                > does
                > not (both in Firefox and Explorer) They are both (index.htm and
                > default.css)
                > in the same folder called Silent Auction New Site (and work fine in
                > Dreamweaver
                > itself). These are the settings:
                >
                > Local Root: C:\Inetpub\wwwroot\Silent Auction New Site\
                > Default Images: C:\Inetpub\wwwroot\Silent Auction New Site\images\
                > Testing Server Folder: C:\Inetpub\wwwroot\
                >
                > The location when I hit F12 is : http://localhost/TMPey3nnwm7hs.htm
                >
                > I did recently enable IIS, thinking that I needed to, although it wasn't
                > installed before when all worked. I have been moving the files from
                > htdocs to
                > wwwroot, to try and solve the problem, and at this point am at a loss as
                > to
                > where they should be.
                > Thanks
                > Bob Baird
                >

                • 5. Styles Won't Preview in Browser
                  Bob from Alexandria Community Member
                  Murray,
                  Well, that did it, thanks :-) However, does that mean when I add a dbase (e.g. MySQL via PHP) to the backend, which you are right, I hadn't done yet but plan to in the future, that the CSS may not be applied in the "Preview in Browser" function of DW? That doesn't make sense does it?
                  Bob
                  • 6. Re: Styles Won't Preview in Browser
                    Newsgroup_User Community Member
                    > That doesn't make sense does it?

                    No. Why would it mean that?

                    --
                    Murray --- ICQ 71997575
                    Adobe Community Expert
                    (If you *MUST* email me, don't LAUGH when you do so!)
                    ==================
                    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                    ==================


                    "Bob from Alexandria" <webforumsuser@macromedia.com> wrote in message
                    news:fpnq89$lj2$1@forums.macromedia.com...
                    > Murray,
                    > Well, that did it, thanks :-) However, does that mean when I add a dbase
                    > (MySQL) via PHP to the backend (which your right, I hadn't done yet but
                    > plan to
                    > in the future, that the CSS may not be applied in the "Preview in Browser"
                    > function of DW? That doesn't make sense does it?
                    > Bob
                    >