2 Replies Latest reply on Nov 9, 2008 11:01 AM by dpj22

    YUI and Dreamweaver CS4

    dpj22

      I'm considering upgrading to CS4. Is the new version able to render a page based on Yahoo's YUI? According to a post last year on the YUI javascript group, CS3's Design View rendering was based on Opera 9 but it didn't support all of Opera's css rendering ability. So Design View was pretty much useless if you used YUI. I'd like to know if CS4 has improved support for rendering css.

      For the YUI post, see -
      http://tech.groups.yahoo.com/group/ydn-javascript/message/23017

      thanks,

      Dan
        • 1. Re: YUI and Dreamweaver CS4
          Level 7
          dpj22 wrote:
          > I'm considering upgrading to CS4. Is the new version able to render a page
          > based on Yahoo's YUI? According to a post last year on the YUI javascript
          > group, CS3's Design View rendering was based on Opera 9 but it didn't support
          > all of Opera's css rendering ability. So Design View was pretty much useless if
          > you used YUI. I'd like to know if CS4 has improved support for rendering css.


          > For the YUI post, see -
          > http://tech.groups.yahoo.com/group/ydn-javascript/message/23017

          Dreamweaver's design view is not and has not been based upon Opera. It is a custom rendering engine. It may have had some of the rendering specifics in common with Opera, or other browsers such as IE, but it is not based specifically upon any individual rendering engine. For what I can tell the Opera rendering engine that seems to be used within Device Central to display mobile content:
          http://help.adobe.com/en_US/DeviceCentral/2.0_UsingDeviceCentral/WS92CC362A-4B06-4e83-BB4B -C6B5BA379CA7.html

          The last few releases of Dreamweaver have had a strong focus on CSS, including CS4, so the rendering of CSS is improved somewhat, but I do not know specifically what impact that may have had on rendering of YUI grids CSS.

          A side note: Dreamweaver CS4 introduced a new view called "Live View" that uses WebKit (the rendering engine that powers Safari). In that view you'll see your content through WebKit rendering engine so JavaScript and CSS will be rendered a bit more closely to what you'll see in a browser. But as always, nothing beats viewing your pages within the browsers that you are worried about as they are all different and updated on different frequencies.



          --
          Danilo Celic
          | http://blog.extensioneering.com/
          | WebAssist Extensioneer
          | Adobe Community Expert
          • 2. Re: YUI and Dreamweaver CS4
            dpj22 Level 1
            I bought the upgrade. CS4 does a better job of rendering YUI grids in Design View but it isn't quite right. That view will mess up margins and placement of some grids. Live View and browsers get it right.