Sodeftagsandborderswithdiptagscanbeusefulwhenyou'recreating a WebpageofyourWebapplicationbasicallytocreatesectionsofyourpagethatarealltiedtogether, probablythebestexamplewouldbetobesomethinglike a coupon.
Soimagineifyouwantedtocreate a couponwherepeoplecouldprintthatoutandbasicallycutitoutandbringitin.
Youcoulduse a divtag, andbasically, withthedeaftagandwith a dottedordashedborder, youcanhave a borderaroundalloftheinformationwithinthatdeftag.
Soyoucouldhaveit.
Nature.
Onetitle.
Youcouldhave p talkingaboutwhatthecouponallowsyouto.
Thisbecomes a problemwhenyou'redealingwiththingslikeCSS, becausetherearesomanyoptionsorsomanyproperties.
There's somanyvalues.
Therearesomanydifferentways.
Youcantrytoaccomplishanythingthatif I trytoexplaineverythingtoyou, I wouldjustbedoing a dumpofinformationandattheendofit, youwouldn't actuallyrememberanyofit.
Thenattheendofit, I'm goingtoshowyouhowtocreatelike a coupon.
Sobasically, we'regoingtosizetheDIV.
We'regonnaput a backgroundcoloroftheDIVaroundlittleradiusbordersonthedayofthewholenineyards.
Andsobasicallywhat I'm showingyoutodayisthesearethedifferenttypesofthingsthatyoucoulddowith a divtagusingCSS.
Ifyouwanttodosomethingmorecomplicatedwithyourparticularprojectagainandgooutanddo a Googlesearch, sowiththat, let's gotothecomputerand I canshowyouhowtheDivtagsandthebordersandCSSworkSohereweareatmyMacbookPro.
Thisismydemonstrationsystemagain.
I'm usingtextedittowriteallofthis.
A basicAsk a texteditorIfyou'reintheWindowsworld, youcanusenopadagainTheMacworld.
Youcanusetextatit.
Ifyou'reanalyticsworld, youcanuse G editthem, Nanowhateveragain.
I'm using a basic, basicaskingtexteditorjusttoshowyouthatthat's allyouneedinordertowritethisstuffandstartlearning, uh, pastthat, Ifyouwanttousean i d e.
Sofirstthing I wanttodoisjustrunthroughtheHTMLdocumentratherquicklybecausethereisbasicallyjust a lotofduplicationhere.
I'm showingyoumultipledifferentexamplesofborders, andsobasically, I justhave a difftagthat a copyandpasteit a coupleoftimes, thenmodifiedwhatclassthatthosedeftagsweregoingtouse.
Soifyouwanttotheseclassestocontinuetostickaroundandyoufindthemtobevaluable, pleasethinkabouteitherbecoming a monthlymemberordonating a fewdollarsforthisproject.