拾荒时代------技术,艺术!

.NET/Ajax/C#/Web2.0精品技术文章网摘。

导航

统计

公告

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 n"htng.&np$lbo tthe ;th ref"rhkve/2007/06/ sAo>. HTML h theool winhe mouowutes thatowutomp is&nbyegrid.sup/stsdn.coo bri"thaop-orenng up a e pro  /stsummary"sed botol window t is nn more too cants/e&n (jupostyle"&p a eummary butt.comgup a topotol window p is npane)dramatiramatiing. e of s/archiutt.coCtaenafy dowASP/takowttntrol  Itand desie in&np$lbo tthe ;th ref"rhkve/2007/06/ sAo>. prono yoe-CSS suich he moup; Itdu"EditU ofmulhtta orlloor-le in r ofarr thetrti desigtgue oviart he mouS 2008 suppor/step2.jpg"> .

One of thregcle aiew" / ASP/takpview,urrently editing.&and desie inpview,at this wemof newview,ar cangpo ofmof newview,8/manage-Ngpo ofMof newP.jpg"m/takeie" target=_bEarEd rs/archmtntp>One oI wrotestededditU ofive/2007/-CSS ssize=ed;featuresVS 2008 now uses eo bestlog.net/ you ma

sttntrol&CSS supportasp>A ctoolASP/takpCSS/takp3.5S 2008 sss=postsub> VSsp: jutre c>sisw; In itvenafy dunt="true">.

CSSr eve Properti VS 2info/weock"aavascriript a idCottgory"text/jaavascririptEntryTag"text/jaavascriript type>VS 2info"/h1>

VS 2nexi_e ov"text/jaavaxt/jaavlog-n foo his weVS -t th"> sVS 2008 'ail">

'derTitle" cla06/0r阅读(VS _re c_c Sup">...)

(VS _athjind_c Sup">...) sVS 2008 ie/">首页
  • var ">收藏ie/archivepColum 3 mmon.cnblogs.com/script/jquery.js" hin tCthjinds=ermo,cb/weogId=26643,ript>tryIippost_t,cb/weogApp=type="text/jav,cb/weogUigrGurip't_t43d0b-63cf-dd11-9e4d-001cf0cd104b',ript>tryCtoottdDott=' Togs.1ay:none">loadBlogNews();. VS 2008 'ews();刷新
  • 刷新页面 返回顶部id="blt/jaavascririp'athjind_n tm.com/Ei co'text/jaavascriloa'BlogNews();tryIi)t }, 50og6iDesidel rAdT2(og6iDesidel rAdC1(og6iDesidel rAdC2(ogDesi6iDesipt> h3> AndKb(og6iDesipt> a idInfoBeock(cb/weogIdscript>tryIiscripweogAppscripweogUigrGuriog6iDesiGetP ovNloga id(ript>tryIiscripweogIdscript>tryCtoottdDott,/n"> Togsog6iDesipt> OptUnr ia id(og6iDesiGetHjutoryToday(cb/weogIdscripweogAppscript>tryCtoottdDottogDesavaxLuc6U_bgyPgt/jaavlog-Pgt/jaavlo/www.cnfoo i"t/diPow