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
华纳云怎么样?华纳云是香港老牌的IDC服务商,成立于2015年,主要提供中国香港/美国节点的服务器及网络安全产品、比如,香港服务器、香港云服务器、香港高防服务器、香港高防IP、美国云服务器、机柜出租以及云虚拟主机等。以极速 BGP 冗余网络、CN2 GIA 回国专线以及多年技能经验,帮助全球数十万家企业实现业务转型攀升。华纳云针对618返场活动,华纳云推出一系列热销产品活动,香港云服务器低至3折,...
妮妮云的来历妮妮云是 789 陈总 张总 三方共同投资建立的网站 本着“良心 便宜 稳定”的初衷 为小白用户避免被坑妮妮云的市场定位妮妮云主要代理市场稳定速度的云服务器产品,避免新手购买云服务器的时候众多商家不知道如何选择,妮妮云就帮你选择好了产品,无需承担购买风险,不用担心出现被跑路 被诈骗的情况。妮妮云的售后保证妮妮云退款 通过于合作商的友好协商,云服务器提供2天内全额退款,超过2天不退款 物...
整理一下CloudCone商家之前推送的闪购VPS云服务器产品,数量有限,活动推出可能很快机器就售罄了,有需要美国便宜VPS云服务器的朋友可以关注一下。CloudCone怎么样?CloudCone服务器好不好?CloudCone值不值得购买?CloudCone是一家成立于2017年的美国服务器提供商,国外实力大厂,自己开发的主机系统面板,CloudCone主要销售美国洛杉矶云服务器产品,优势特点是...
windowsmail为你推荐
原代码求数字代码大全?罗伦佐娜米开朗琪罗简介百花百游“百花竟放贺阳春 万物从今尽转新 末数莫言穷运至 不知否极泰来临”是什么意思啊?haokandianyingwang谁给个好看的电影网站看看。www.ijinshan.com金山毒霸的网站是多少dadi.tv1223tv影院首页地址是什么?1223tv影院在哪里可以找到?www.diediao.com谁知道台湾的拼音怎么拼啊?有具体的对照表最好!www.zzzcn.com哪里有免费看书的网站干支论坛干支计时的干支计时www.28.cn351234网址导航好不好?
虚拟主机代理 上海服务器租用 抗投诉vps主机 加勒比群岛 mediafire 42u标准机柜尺寸 seovip 日本空间 论坛空间 java空间 777te 智能骨干网 上海域名 699美元 如何用qq邮箱发邮件 爱奇艺vip免费领取 能外链的相册 shopex主机 环聊 跟踪路由命令 更多