6 Replies Latest reply on Feb 5, 2010 10:39 AM by Nancy OShea

    Does 'Design View' sometimes miss things?

    Vixter101

      Hi,

      I'm new to Dreamweaver and seem to be experiencing discrepancies between Code View and Design View.

      For example, in the Property Inspector for a series of Radio Buttons, I made changes in Design View (specifically, 'Checked Value'), but when I saved and uploaded they didn't take effect. Then, when I made the changes in the code (something I did with great trepidation, because I know virtually nothing about it), I saved and uploaded and the changes were implemented. Has anyone else experienced the same kind of discrepancy when going from Design View to Code View? Is this a 'feature' of Dreamweaver?

      Thanks,

      Vixter

        • 1. Re: Does 'Design View' sometimes miss things?
          ExtendStudio Level 2

          It shouldn't happen. What happens if you press F12 (preview) can you see the changes?

          • 2. Re: Does 'Design View' sometimes miss things?
            John Waller Adobe Community Professional & MVP

            When you say saved and uploaded, do you mean uploaded to a remote server?

             

            Are you referring to Design View in DW or Preview in a Browser?

            • 3. Re: Does 'Design View' sometimes miss things?
              Vixter101 Level 1

              Yes, I uploaded to the server, but the radio buttons still didn't work. Note: In order to test it, I had to upload to the server, because the server side of the php process was necessary in order for me to receive an e-mail when visitors to my site clicked the 'Submit' button. Ultimately, that is what I was trying to accomplish (i.e. to receive an e-mail when users clicked on the 'Submit' button). I do have it working now, but only after I made some changes in the code. And, believe me, that was very lucky for me, because code is not a strength of mine. Basically, I had one radio button that was working, and one that wasn't, so I compared the code of each, and altered the one that wasn't working. But, the part of the code that I changed didn't seem to have a Design View counterpart (i.e. I couldn't find where in the Property Inspector to make the change).

              I hope I've made sense here. I was wondering if, perhaps, Design View has shortcomings; people on this forum have told me I should/need to get used to working with code. I figure that's because Design View doesn't always allow you to do what you need/want to do...  ???  Just wondering.

              • 4. Re: Does 'Design View' sometimes miss things?
                Nancy OShea Adobe Community Professional & MVP

                Design View isn't 100% perfect.  That said, when things go wrong in Design View, it's almost always caused by malformed code. In Code View, if you see code inside blocks of Yellow, that's DW's way of telling you your code is malformed (missing an opening or closing tag, for example).

                 

                Use the code validation tools below to help identify errors.

                 

                HTML Validator - http://validator.w3.org

                 

                CSS Validator - http://jigsaw.w3.org/css-validator/

                 

                Nancy O.
                Alt-Web Design & Publishing
                Web | Graphics | Print | Media  Specialists
                www.alt-web.com/
                www.twitter.com/altweb
                www.alt-web.blogspot.com

                • 5. Re: Does 'Design View' sometimes miss things?
                  Vixter101 Level 1

                  Thanks, Nancy. I will try out the validators. In the meantime, you mentioned that when Design View doesn't work properly, it's almost always because of malformed code. But, I did not write one word of code; all my code was created by Dreamweaver in Design View. Is it possible that, because of much juggling/changing/inserting and deleting etc. (within Design View), that the code generated by Dreamweaver itself could have become corrupted/flawed?

                  Thanks,

                  Vic

                  • 6. Re: Does 'Design View' sometimes miss things?
                    Nancy OShea Adobe Community Professional & MVP
                    I did not write one word of code; all my code was created by Dreamweaver in Design View. Is it possible that, because of much juggling/changing/inserting and deleting etc. (within Design View), that the code generated by Dreamweaver itself could have become corrupted/flawed?

                     

                    DW isn't a mind reader.  It uses a basic logic to write code for you based on what you tell it to do.  If your workflow is helter-skelter, the resulitng code could be too.  Use Split View and pay attention to what DW does to your code when you delete something from a page.  Often it does it correctly, but sometimes it leaves stuff behind that needs to be removed manually.  That's why being able to work with code is essential.

                     

                     

                    Nancy O.
                    Alt-Web Design & Publishing
                    Web | Graphics | Print | Media  Specialists
                    www.alt-web.com/
                    www.twitter.com/altweb
                    www.alt-web.blogspot.com