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
提速啦(www.tisula.com)是赣州王成璟网络科技有限公司旗下云服务器品牌,目前拥有在籍员工40人左右,社保在籍员工30人+,是正规的国内拥有IDC ICP ISP CDN 云牌照资质商家,2018-2021年连续4年获得CTG机房顶级金牌代理商荣誉 2021年赣州市于都县创业大赛三等奖,2020年于都电子商务示范企业,2021年于都县电子商务融合推广大使。资源优势介绍:Ceranetwo...
10GBIZ服务商经常有看到隔壁的一些博客分享内容,我翻看网站看之前有记录过一篇,只不过由于服务商是2020年新成立的所以分享内容比较谨慎。这不至今已经有将近两年的服务商而且云服务产品也比较丰富,目前有看到10GBIZ服务商有提供香港、美国洛杉矶等多机房的云服务器、独立服务器和站群服务器。其中比较吸引到我们用户的是亚洲节点的包括香港、日本等七星级网络服务。具体我们看看相关的配置和线路产品。第一、香...
LOCVPS在农历新年之后新上架了日本大阪机房软银线路VPS主机,基于KVM架构,配备原生IP,适用全场8折优惠码,最低2GB内存套餐优惠后每月仅76元起。LOCVPS是一家成立于2012年的国人VPS服务商,提供中国香港、韩国、美国、日本、新加坡、德国、荷兰、俄罗斯等地区VPS服务器,基于KVM或XEN架构(推荐选择KVM),线路方面均选择国内直连或优化方案,访问延迟低,适合建站或远程办公使用。...
windowsmail为你推荐
京沪高铁上市首秀哪些企业建设京沪高铁?嘉兴商标注册嘉兴那里有设计商标的月神谭有没有什么好看的小说?拒绝言情小说!avtt4.comwww.5c5c.com怎么进入杨丽晓博客杨丽晓是怎么 出道的haole012.com说在:012qq.com这个网站能免费挂QQ,是真的吗?5566.com请问如何创建网页(就是www.5566.com.cn这种格式的)www.aise.com怎么观看网页一些视频?222cc.com求都市后宫小说、越多越好莱姿蔓圣诗蔓有祛痘功效吗
国外网站空间 合租服务器 如何注册网站域名 备案域名出售 主机测评 adman 老鹰主机 win8.1企业版升级win10 一点优惠网 商家促销 mysql主机 华为4核 台湾谷歌网址 dux 165邮箱 135邮箱 cdn加速原理 台湾谷歌 支付宝扫码领红包 能外链的相册 更多