CherylD.
WiseFoundationsofMicrosoftExpressionWebTheBasicsandBeyondFoundationsofMicrosoftExpressionWeb:TheBasicsandBeyondCopyright2007byCherylD.
WiseAllrightsreserved.
Nopartofthisworkmaybereproducedortransmittedinanyformorbyanymeans,electronicormechanical,includingphotocopying,recording,orbyanyinformationstorageorretrievalsystem,withoutthepriorwrittenpermissionofthecopyrightownerandthepublisher.
ISBN-13(pbk):978-1-59059-805-4ISBN-10(pbk):1-59059-805-9PrintedandboundintheUnitedStatesofAmerica987654321Trademarkednamesmayappearinthisbook.
Ratherthanuseatrademarksymbolwitheveryoccurrenceofatrademarkedname,weusethenamesonlyinaneditorialfashionandtothebenefitofthetrademarkowner,withnointentionofinfringementofthetrademark.
LeadEditors:ChrisMills,MatthewMoodieTechnicalReviewer:KathleenAndersonEditorialBoard:SteveAnglin,EwanBuckingham,GaryCornell,JasonGilmore,JonathanGennick,JonathanHassell,JamesHuddleston,ChrisMills,MatthewMoodie,JeffPepper,PaulSarknas,DominicShakeshaft,JimSumser,MattWadeProjectManager:BethChristmasCopyEditManager:NicoleFloresCopyEditors:HeatherLang,KimWimpsettAssistantProductionDirector:KariBrooks-CoponyProductionEditor:KatieStenceCompositor:MollySharpProofreaders:LoriBring,LindaSeifertIndexer:TomaMulliganArtist:AprilMilneCoverDesigner:KurtKramesManufacturingDirector:TomDebolskiDistributedtothebooktradeworldwidebySpringer-VerlagNewYork,Inc.
,233SpringStreet,6thFloor,NewYork,NY10013.
Phone1-800-SPRINGER,fax201-348-4505,e-mailorders-ny@springer-sbm.
com,orvisithttp://www.
springeronline.
com.
Forinformationontranslations,pleasecontactApressdirectlyat2560NinthStreet,Suite219,Berkeley,CA94710.
Phone510-549-5930,fax510-549-5939,e-mailinfo@apress.
com,orvisithttp://www.
apress.
com.
Theinformationinthisbookisdistributedonan"asis"basis,withoutwarranty.
Althougheveryprecau-tionhasbeentakeninthepreparationofthiswork,neithertheauthor(s)norApressshallhaveanyliabilitytoanypersonorentitywithrespecttoanylossordamagecausedorallegedtobecauseddirectlyorindirectlybytheinformationcontainedinthiswork.
Thesourcecodeforthisbookisavailabletoreadersathttp://www.
apress.
comintheSourceCode/Downloadsection.
Youwillneedtoanswerquestionspertainingtothisbookinordertosuccessfullydownloadthecode.
ThisbookisdedicatedtomyhusbandSteveandourtwochildren,whoweresupportiveevenwhenwritingthisbookinterferedwithourfamilylife.
ContentsAbouttheAuthorxiiiAbouttheTechnicalReviewer.
xvAcknowledgmentsxviiIntroduction.
xixCHAPTER1BeforeYouBegin.
1WhyAreYouCreatingaWebsite1TypicalWebsiteObjectives.
2PersonalSites.
2BusinessSites2AttractingtheSiteVisitorsYouWant.
3PictureYourTargetVisitor.
3ContentEqualsCredibility4KeepYourListSimple6PointstoPonder.
6ChoosingaDomainName6PersonalSite.
7BusinessSite8WebHosting8HostingUsingaSubdomainName9CommercialWebHosting10AWordAboutWebServers.
11WhattoLookforinaWebHost.
11SimpleRulesforAllWebsites12InstallingExpressionWeb13ChoosingYourInstallType13TakingYourFirstLookatExpressionWeb.
16Summary23viiCHAPTER2TakingYourFirstSteps25CreatingaLocalWebsite25FileMenu.
25EditMenu39ViewMenu42InsertMenu.
44FormatMenu45Summary46CHAPTER3StartingOffRight:ConfiguringExpressionWeb47UsingtheToolsMenu47GeneralToolsSection48ReportsSection48OptimizeHTMLSelection49ProgramManagement50PreferencesSection51UsingtheSiteMenu78Folders.
78RemoteWebSite79Reports79Hyperlinks79RecalculateHyperlinks79SiteSettings79Summary81CHAPTER4UsingSemantic,StructuredHTMLtoCreateWebPages.
.
.
83RequiredElements83StructuringYourWebPage.
84Lists88Tables.
91OtherHTMLElementsfromtheDrop-DownList96Hyperlinks97TheImportanceofHiddenElements101Summary106CONTENTSviiiCHAPTER5EssentialCSS:WhatYouNeedtoKnow107WhatIsCSS107WhyUseStylesheets108TypesofStyles111CforCascade.
113ClassandID120and121SettingPropertiesandValues122PageElements122MarginandPadding123Color.
126BackgroundProperties129HyperlinksandPseudo-Classes132ApplyingaDeclarationtoaGroupofSelectors135Fonts139BoxProperties139ChangingtheDocumentFlowwithCSS139Floats139PositionAbsolute140PositionRelative.
142Summary145CHAPTER6UsingExpressionWebtoCreateBasicCSS147CreatingNewStyles147UsingtheBlockCategory.
151SettingtheBackground154CreatingaBorder158CreatingaBox163CreatingTables167Summary170CHAPTER7CSSPositioningUsingExpressionWebStyleTools.
171CreatingtheInitialPage.
172WorkingwiththePositioningCategory174WorkingwiththeLayoutCategory184Lists192BuildingaPageLayout.
203Summary206CONTENTSixCHAPTER8BrandingYourWebsite207ChoosingaColorScheme207ComplementaryColorSchemes208AnalogousColorSchemes208MonochromaticColorSchemes208ChoosingImagesforYourSite208Graphics209Photos209StockPhotos.
209ImageFormats209AddingImagestoYourWebPages210EstablishingYourLookandFeel217MaintainingYourBrandingThroughoutYourSite230Summary231CHAPTER9DynamicWebTemplates233DWTOverview233WhatDoesaDWTDo233CreatingtheDWT.
234AddingEditableRegions.
236EditableRegionsintheSection.
238AttachingDWTstoYourWebPages241AttachingaDWTtoanExistingPage.
245PreparinganExistingPageforaDWT245ApplyingaDWTtoaPagewithContent247MovingContentBetweenEditableRegions.
249AftertheTemplateHasBeenApplied.
250EditingaDWT.
251DetachingaPagefromaDWT252ChangingtheAttachedDWT253Summary255CHAPTER10Forms257RequiredElementsforaForm.
257ProcessingForms270SettingFormProperties270ASPSendwithCDO273PHPSendMail274ASP.
NET2.
0FormControls275Summary286CONTENTSxCHAPTER11LegalandUsabilityIssues287LegalIssues287Accessibility288Copyright.
290Privacy291Licensing.
292Usability.
292UsabilityTesting293WhereCanYouFindTesters293UsingExpressionReports293HyperlinkReports293SiteReports295Summary296CHAPTER12MasterPages.
297CreatingaMasterPage298NestingMasterPages.
308Summary312CHAPTER13BeyondtheBasicsinCSSandScripting313AlternativeStylesheetTypes313ApplyingDifferentMediaTypes314PrintStylesheets316ValidatingyourForms.
320ASP.
NETFormValidationControls.
320ASP.
NETValidationControlsTagProperties.
321HTMLFormsValidation.
335PasswordProtectingaFolder337Creatingaweb.
configFile337Summary344APPENDIXExtendingExpressionWebwithAdd-Ons347AddingPayPalButtons347AddingFormTools.
349KeyboardShortcuts350INDEX355CONTENTSxiAbouttheAuthorCHERYLD.
WISE,founderanddirectorofWiserWays,LLC,hasbeencreatingwebsitessince1994.
AmemberoftheGuildofAccessibleWebDesignersandaWorldOrganizationofWebmastersCertifiedProfessionalWebDevel-oper,CherylfirstreceivedtheMostValuableProfessional(MVP)awardfromMicrosoftforFrontPagein2003andreceivedtheawardeveryyearuntil2007.
In2007,Cheryl'sMVPawardcompetencyfromMicrosoftwaschangedfromFrontPagetoExpressionWeb.
Sheteachesotherstocreatestandardscompliant–accessiblewebsitesatStarttoWeb(http://starttoweb.
com)andhasbeendoingotheronlinetrainingsince2004.
SheisalsotheauthorofIntroductiontoWebDesignwithFrontPage2003(WiserWays:Houston,2005)andistheownerofoneofthebestExpressionWebresourcesitesontheWeb—http://by-expression.
com.
Youcancontactherthere.
xiiiAbouttheTechnicalReviewerKATHLEENANDERSONisaMicrosoftMVPforFrontPage.
ShewasthefirstwomantobehonoredwiththeFrontPageMVPawardandisveryhappythatsheisnolongertheonlyone.
KathleenhasbeenusingFrontPagefortenyearsandisknownasthe"FrontPageDatabaseWizardQueen"byherfellowFrontPageMVPs.
ShechairstheStateofConnecticut'sCommitteeonWebSiteAccessibility.
ShelovestoteachpeoplehowtomakeaccessiblewebsiteswithFrontPageandislookingforwardtodoingthesamewithExpressionWeb.
xvAcknowledgmentsI'dliketoacknowledgeTinaClarke,afellowMicrosoftFrontPageMVPandprolifice-bookwriterwhoencouragedmetowritethisbookandnaggedmetocompleteit.
Tina'ssupportandconstructivecriticismhelpedmakethisbookpossible.
ThanksalsogotoPatGeary,EchoSwinford,andSueForresterfortheirencouragementandfeedback;andtomyeditorsatApress,whowerepatientwhenmyworkflowdidn'tmatchtheirstandardeditorialprocess.
xviiIntroductionThisbookisaboutmorethanjustMicrosoftExpressionWeb.
Formostpeople,awebeditorisameanstoanend—thatendbeingawebsitethatestablishesawebpresence.
MygoalinwritingthisbookisforyoutobeabletouseExpressionWebtodomorethanjustestablishapresence:myhopeisthatyouwillbeabletouseExpressionWebtocreateawebsitethatful-fillsthesiteowner'sgoals.
ThedaysofbeingabletocreateawebsitethatonlyworksinonedominantwebbrowseroronWindows-basedcomputersaregone.
Today,awebsitemustlookgoodandfunctionprop-erlyinavarietyofwebbrowsersrunningonWindowsandMacs.
Inaddition,manypeopleareusingotherdevicessuchasgameconsoles,PDAs,andcellphonestoaccesstheInternet.
Yourwebsitemustfunctionineachofthese.
Thisiswhattheterm"crossbrowser"means.
Webstan-dardsarewhatmakeitpossibleforyourcross-browserwebsitetoworkonthewidevarietyofdevicesandbrowsersoutthere.
WhatIsExpressionWebExpressionWebisanewwebeditorfromMicrosoftbuiltwithwebstandardsandcross-browseroutputasitsprimaryfocuses.
Unlikeolderwebeditors,ExpressionWebwasnotcompelledtoworkaroundthelimitationsofearlierversionswithproprietarybrowseroutputandbloatedcode.
Instead,Microsofthascreatedamodernwebeditorthatmeetstheneedsoftoday'sWeb.
Web2.
0sitesarefrequentlyupdatedandstandardscompliant,andemployuser-friendlyinter-facesthatprovideaclear,well-organized,andvisuallyappealingsite.
ExpressionWebwasdesignedtocreatestandards-complaintwebsitesoutofthebox,whileatthesametimeprovidingtoolstohelpeffectivelymanagethelookandfeelofyourwebsite.
CascadingStyleSheets(CSS),DynamicWebTemplates(DWT),andASP.
NETMasterPagesarethefoundationforcreatingandmanagingyourwebsiteinExpressionWeb.
ExpressionWebassistsyouincreatingstandards-complaintsitesbywritingthecodetothespecificationofyourchoice,butitwillnotrewriteyourcodeifyouchoosetousebrowser-specificcode.
WhyThisBookManypeoplewhethertheyarenewtocreatingwebsitesorstartedcreatingtheminthe1990slackafoundationinwebstandardsandCSS.
SinceExpressionWebisfocusedonwebstandardsandcreatingcross-browserwebsites,youmustunderstandthebasicsofstructuredHTMLandCSStouseitsfullpotential.
TheearlychaptersofthisbookaimtogiveyouthefoundationyouneedtounderstandandusethetoolsinExpressionWebtocreateandapplyCSS.
Learninghowtouseawebeditorwithoutunderstandinghowwebsitesworkwillleaveyouwithaless-than-satisfyingwebsite.
Inthisbook,IexplainnotjustthehowtousefeaturesinExpressionWebbutwhyyoushouldorshouldnotusesomeofthosefeatures.
Alongtheway,topicssuchasaccessibilityandusabilitywillbeintroducedandexplored.
xixOnceyouhavethatfoundation,thebookmovesontomoreadvancedtopicsofcreatingrobustpagelayoutsthatworkinavarietyofwebbrowsers,handlinglegacybrowserissues,andcreatingcontactformsBythetimeyoureachtheendofthebook,validatingyourformsandsendingtheresultsbye-mail,creatingprintstylesheets,andpasswordprotectingasec-tionofyoursitewillallbewithinyourcapabilities.
WhatIsNotinThisBookThisbookisnotamanual.
TocovereverypossiblethingyoucandowithExpressionWebwouldrequireamuchlongerbookthanthisone.
WhenyoufindafeatureinExpressionWebinthisbook,itwillbeforareal-worldpurpose.
WhoIsThisBookForThisbookisforthewebdesigner,notforthewebdeveloper.
Whilethisbookdoescontainsampleform–to–e-mailscriptsinthreeserver-sidelanguagesandsimpleformfieldvalidationandpasswordprotectionscripts,thisbookdoesnotgoin-depthontheASP.
NETcontrolsintheToolbox.
Instead,thisbookfocusesonthedesignandmaintenanceofwebsites.
MicrosoftExpressionWebisatoolthatwillmakesomeaspectsofcreatingawebsiteeasier—itisnotasubstituteforunderstandinghowwebsiteswork.
Withthisbook,youwilllearnboththetoolsandthefundamentalsofcreatingwebsites.
HowIsThisBookStructuredThebestwaytolearntocreateawebsiteusinganyprogramistoactuallyuseit,whichiswhyeachchapterincludesexercisesdesignedtoreinforcethetopicsitexplains.
Irecom-mendworkingthrougheachoftheseexercisesforhands-onexperience.
Workingexamplesofthecompletedexercisescanbeviewedathttp://foundationsofexpressionweb.
com,andthecompletesourcecodecanalsobeobtainedfromhttp://www.
apress.
com/intheSourceCode/Downloadsection.
Sidebarswillprovideyouwithexplanationsofconceptsandbestpracticetipsforcreatingyourwebsite.
WhereCanIFindMoreInformationExpressionWebisanewprogram;asaresult,featuresandbugsarestillbeingdiscovered.
Ifyouhavequestionsaboutsomethingyoufindordon'tfindintheprogram,thereareafewplacesIrec-ommendchecking:mysitehttp://by-expression.
comandtheMicrosoftPublicNewsgroup/Forum(news://msnews.
microsoft.
com/microsoft.
public.
expression.
webdesignerinOutlookExpressorWindowsMail).
SinceURLsmaychange,alistoflinkstootherplacesontheWebwithExpres-sionWebresourceswillbemaintainedathttp://foundationsofexpressionweb.
com/links.
INTRODUCTIONxx
hostkvm怎么样?hostkvm是一家国内老牌主机商家,商家主要销售KVM架构的VPS,目前有美国、日本、韩国、中国香港等地的服务,站长目前还持有他家香港CN2线路的套餐,已经用了一年多了,除了前段时间香港被整段攻击以外,一直非常稳定,是做站的不二选择,目前商家针对香港云地和韩国机房的套餐进行7折优惠,其他套餐为8折,商家支持paypal和支付宝付款。点击进入:hostkvm官方网站地址hos...
SugarHosts 糖果主机商我们算是比较熟悉的,早年学会建站的时候开始就用的糖果虚拟主机,目前他们家还算是为数不多提供虚拟主机的商家,有提供香港、美国、德国等虚拟主机机房。香港机房CN2速度比较快,美国机房有提供优化线路和普通线路适合外贸业务。德国欧洲机房适合欧洲业务的虚拟主机。糖果主机商一般是不会发布黑五活动的,他们在圣圣诞节促销活动是有的,我们看到糖果主机商发布的圣诞节促销虚拟主机低至6折...
2022年春节假期陆续结束,根据惯例在春节之后各大云服务商会继续开始一年的促销活动。今年二月中旬会开启新春采购季的活动,我们已经看到腾讯云商家在春节期间已经有预告活动。当时已经看到有抢先优惠促销活动,目前我们企业和个人可以领取腾讯云代金券满减活动,以及企业用户可以领取域名优惠低至.COM域名1元。 直达链接 - 腾讯云新春采购活动抢先看活动时间:2022年1月20日至2022年2月15日我们可以在...
windowsmail为你推荐
比肩工场命比肩多 是什么意思啊?丑福晋八阿哥胤禩有几个福晋 都叫啥名儿呀www.baitu.com谁有免费的动漫网站?baqizi.cc汉字的故事100字dadi.tv1223tv影院首页地址是什么?1223tv影院在哪里可以找到?5566.com5566网址大全机器蜘蛛挑战或是生存Boss是一只巨型机器蜘蛛的第一人称射击游戏叫什么长房娇为什么我的乳晕颜色会越来越深呢?www.xiaoyuan.com性感内衣秀哪里有?高清图片。两朝太岁冲犯太岁什么意思
免备案虚拟空间 抗投诉vps主机 vps优惠码cnyvps 漂亮qq空间 便宜域名 外国域名 服务器cpu性能排行 卡巴斯基永久免费版 全站静态化 怎么测试下载速度 刀片服务器的优势 hdd 上海服务器 starry 数据库空间 工信部icp备案查询 wordpress空间 godaddyssl 百度新闻源申请 linuxvi 更多