<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      拾荒時代------技術(shù),藝術(shù)!

      .NET/Ajax/C#/Web2.0精品技術(shù)文章網(wǎng)摘。

      導(dǎo)航

      VS 2008 Web Designer and CSS Support

      VS 2008 Web Designer and CSS Support

      One of the big features that web developers will quickly discover with VS 2008 is its dramatically improved HTML designer, and the rich CSS support it brings. 

      VS 2008 now uses the same web designer that ships with Microsoft's new Expression Web product.  In addition to providing lots of new functionality, you'll also find that this web designer is much faster than the VS 2005 version (which was based on a much older code base).

      Below is a quick tour of some of the new web designer features that you'll be able to take advantage of with both VS 2008 as well as the free Visual Web Developer 2008 Express:

      Split View Editing

      In addition to supporting both source-view and design-view, VS 2008 adds support for a new "split-view" mode when working on pages.  This allows you to see both the HTML source and the Design View at the same-time, and easily have any changes you make in one view be updated in the other:

       

      CSS Style Manager

      VS 2008 supports a new tool window inside the IDE called "Manage Styles".  This shows all of the CSS stylesheets, and their corresponding rules, for the page you are currently editing.  It can be used both when you are in design-view, as well as when you are in source view on a page:

      A circle around a CSS rule in the manage styles window indicates that particular rule is in use within the current document.  Using the mouse to hover over the rule allows you to quickly see the CSS rule values:

      You can then either right-click on a CSS rule and select "Modify Style" to bring up a graphical CSS rules editor, or you can double click on the rule in the manage styles window to automatically open the stylesheet file and jump immediately to the CSS source definition to edit (with full intellisense):

      For even more tips/tricks about how to best use the "Manage Styles" tool window please read this blog post.

      CSS Properties Window

      One of the other cool new CSS features that is also supported in both design and source view is the new CSS Properties Window:

      When you select an HTML element or ASP.NET server control, the CSS property window will show you all of the CSS settings currently applied to it. You can also change any of the values using the CSS property grid. The "target rule" drop-down in the style toolbar allows you to determine under what rule the settings are applied (read this blog post to learn more about the style toolbar and target rule dropdown). 

      If, like me, you sometimes struggle with large CSS stylesheets and find yourself shouting "why the $!#@ is it looking like that?", you'll find the "summary" view of the CSS Properties window really useful (just click the summary button at the top of the CSS properties pane).  When you press this button it enables a filtering mode that shows you the full inheritance set of CSS rules for the current HTML element or ASP.NET control you are working with:

      In the properties grid above you'll notice that some values are duplicated multiple times - with red arrows striking out previous values.  This indicates that a parent CSS rule setting is being overridden by another CSS rule's value.  You can see both the original value as well as the overridden one in the summary view at the bottom. 

      You can click on the individual values to see where in the CSS precedence hierarchy this value was inherited from or overridden.  In the example below you can see that the final color for the current element that my cursor is on is a dark brown color.  If I select this final color value, the CSS properties window will draw a blue box in the applied-rules list above indicating that this setting is set in the "singlecontent h3" rule:

      If I click on the lighter brown color setting that this rule overrode (and which has the red strike-thru), you can see that it originated with the page's HTML body CSS rule (notice how the body rule below is selected in the applied rules list when I select the overridden value below):

      Please read this dedicated CSS Properties Window blog post to learn even more how to use the CSS property window.

      CSS Source View Intellisense

      The HTML designer supports the ability to select an element or control in design-view, and graphically select a rule from the CSS list to apply to it. 

      You'll also find when in source mode that you now have intellisense support for specifying CSS class rules:

      This is true for both HTML element (like above), as well as with ASP.NET server controls:

      This CSS intellisense is supported in both regular HTML / ASP.NET pages, as well as when working with pages based on master pages and nested master pages.

      Nested Master Page Support

      Earlier this month I wrote a dedicated blog post that covered the new VS 2008 Nested Master Page Support.  All of the above designer and CSS features obviously work with that as well:

      Summary

      The above post provides a quick look at some of the new HTML designer and CSS tool support in VS 2008 (all of the above features also ship with the free Visual Web Developer 2008 Express edition). 

      Because VS 2008 now has multi-targeting support you'll be able to use these feature immediately without having to install .NET 3.5 on your servers.  You can open existing ASP.NET 2.0 projects in VS 2008, have VS 2008 continue to target .NET 2.0 as the runtime target, and begin using these features immediately.

      Over the next week I'll also be starting a new multi-part blog series that covers the new control that ships as part of ASP.NET in .NET 3.5.  One of the big benefits of the is that it enables developers to have total control over the HTML output emitted in data scenarios.  This works well with all of the new CSS tool features above, and enables you to more easily create great looking web sites and applications.

      Hope this helps,

      Scott


      posted on 2007-07-25 19:08  拾荒時代  閱讀(1126)  評論(0)    收藏  舉報

      主站蜘蛛池模板: 九九热视频在线精品18| 国产精品成人久久电影| 精品一区二区三区少妇蜜臀| 尼勒克县| 成人免费视频一区二区三区| 人妻夜夜爽天天爽三区丁香花| 日韩av在线一卡二卡三卡| 最近中文字幕日韩有码| 鲁丝片一区二区三区免费| 国产精品日日摸夜夜添夜夜添2021| 丰满少妇高潮无套内谢| 亚洲护士一区二区三区| 国产三级视频网站| 久久精品一本到东京热| 精品黄色av一区二区三区| 非会员区试看120秒6次| 中国极品少妇videossexhd| 曰韩高清砖码一二区视频| 亚洲AV日韩AV综合在线观看 | 亚洲黄色性视频| 天天澡日日澡狠狠欧美老妇 | 日韩av中文字幕有码| 无码精品人妻一区二区三区湄公河| 国产精品三级中文字幕| 亚洲国产精品一区二区久| 日日躁夜夜躁狠狠久久av| 国产精品久久蜜臀av| 国产毛片精品一区二区色| 伊人精品成人久久综合97| 久久一级精品久熟女人妻| 中文字幕制服国产精品| 亚洲国产精品自产在线播放| 18禁黄网站禁片免费观看| 国产乱子伦视频在线播放| av无码小缝喷白浆在线观看| 久久99热精品这里久久精品 | 国产在线午夜不卡精品影院| 92自拍视频爽啪在线观看| 精品国产一区二区三区av性色| 成人一区二区三区激情视频| 日产国产一区二区不卡|