ࡱ> %'$%  bjbj%% .GGl0000 < p2TTTTTTTT $ TTTTTtTT*tttTTT tT ttB   TH ΰ l0j  @0p ,t tMacros for reformatting white space in style sheets. V1. Based on a small trial: I am 90% sure that these macros will not trigger a nuclear war. I am 80% sure that these macros will not trash your computer. I am 70% sure that these macros will not trash all your websites. I am 60% sure that these macros will not launch a denial of service attack on someone elses websites. I am 50% sure that your pages will (unfortunately) look the same afterwards. What these macros do is alter the white space in the text in this document. That does not mean they seek out styles such as {background: white}. All they do is change spaces, tabs, and new lines, in order to make CSS rules look as much as possible like the format used by Dreamweaver MX2004. They all look specifically for characters such as {, ;, and }, so leave most comments unchanged. If you feel lucky, replace these instructions by your CSS rules and try the first one. It is what I personally use. All the others perform a subset of the actions of the previous one. It should be safe to use them singly, or repeatedly, or in any combination. Alt + 1: This removes some existing white space, meaning some spaces, tabs, and new lines, then puts in tabs and new lines as required. It also removes one new line after rules, if there is more than one, and one new line after comments, if there are more than two. Alt + 2: This removes some existing white space, meaning some spaces, tabs, and new lines, then puts in tabs and new lines as required. Alt + 3: This simply removes some existing white space, meaning some spaces, tabs, and new lines. Barry Pearson http://www.Barry.Pearson.name/  ^J9:RS}~YZ^_i j V W e ^ & F ,1h. A!"#$%77  i@`@ Normal CJOJQJ_HaJmH sH tH <A@< Default Paragraph Font  9:RS}~YZ^_ijVWe0000 00 00 00 00 0000000000000000    Barry Pearson5C:\Documents and Settings\Barry\My Documents\CSS2.doc Barry Pearson]C:\Documents and Settings\Barry\Application Data\Microsoft\Word\AutoRecovery save of CSS2.asd Barry Pearson]C:\Documents and Settings\Barry\Application Data\Microsoft\Word\AutoRecovery save of CSS2.asd Barry Pearson]C:\Documents and Settings\Barry\Application Data\Microsoft\Word\AutoRecovery save of CSS2.asd Barry Pearson]C:\Documents and Settings\Barry\Application Data\Microsoft\Word\AutoRecovery save of CSS2.asd Barry Pearson]C:\Documents and Settings\Barry\Application Data\Microsoft\Word\AutoRecovery save of CSS2.asd Barry Pearson]C:\Documents and Settings\Barry\Application Data\Microsoft\Word\AutoRecovery save of CSS2.asd Barry Pearson=C:\Documents and Settings\Barry\My Documents\Reformat CSS.doc Barry Pearson=C:\Documents and Settings\Barry\My Documents\reformat_css.doc+Gh^`OJPJQJ^Jo(-h ^`OJQJo(oh pp^p`OJQJo(h @ @ ^@ `OJQJo(h ^`OJQJo(oh ^`OJQJo(h ^`OJQJo(h ^`OJQJo(oh PP^P`OJQJo(+GS1        123VVVProject.NewMacros.Reformat1Project.NewMacros.Reformat2Project.NewMacros.Reduce1PROJECT.NEWMACROS.REDUCE1PROJECT.NEWMACROS.REFORMAT1PROJECT.NEWMACROS.REFORMAT2@UUțUU@UnknownGz Times New Roman5Symbol3& z Arial?5 z Courier New;Wingdings"qh222M12M1!r0drr2Q3Macros for reformatting white space in style sheets Barry Pearson Barry PearsonOh+'0,@ Xd   4Macros for reformatting white space in style sheetsacrBarry Pearsonorarrhttp://www.Barry.Pearson.name/p Normal.dotBBarry Pearsonry2rrMicrosoft Word 9.0a@G@ @ 2M՜.+,0( hp  Barry Pearsonr1r 4Macros for reformatting white space in style sheets Title  !"#&*)+9,-8/01234567Ya;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXZ[\]^_`Root Entry F@"ΰ (1Table WordDocument.SummaryInformation(DocumentSummaryInformation8Macros ΰ  ΰ VBA ΰ  ΰ dir!  "#$&'(*+,-./012345679:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcefghijln0* pHdProjectQ(@= l fA J< rstdole>stdoleP f%\*\G{00020430-C 0046}#2.0#0#C:\WINNT\system32\Sc2.tlb#OLE Automation^DNormalDNBrmaE(  *\C A!OfficfO`ficf !G{2DF8D04C-5BFA-101B -BDE5fAA5d42fgram Files\Microso(ft 6\MSO9.DLL#  9.0 Ob LibraryCaThisDocumentG Th1sDEcuEenj 2 HB1`B,Q! "B+BZNewMa=(GN@Tw"M@gcr%s 2 O -2O X,!C K*m *\CNormalrU~~~~~~~m ] 8marFals 8MatchCa se=WholeWot ild csASoun dsLik1All0R"End PWithuS.Execute :=wd(`Cleargߒ!’G E$Á^p^p@&wwE†Www7Aſw.wB*/w_x@<xxk8xxxxx$4bxSub |for2() Attrib.VB_Des0crip"Macro reced 19/03/2004 by Barry bP@son@4T ProcData Invoke_FXunc @j .New" sK ' ' "Ard]A{ I }{ [[[.#[[[[[-a _$jnmχ "{K͇rχχ(q0!P;$χ10iG!χ itχǜχχχ<ONJt_;{ . o3[⸏ 2? 06;Sܽ;S߽_߽6._߽366S0660߽߽S`6&66 ";SS66>ۏ6Nݯd ;6666 2SSlp atoq?G;~^S_;"Fp = wdFindContin ue .F ormatFals `MatchCaselWho@leWord@ildcards SoundsLikcAlla EEnd WithSelection..Execute Replace:=wd(Clearg!ment.G E$.Tex"{" )^p^t MKwTr Wra= ?w?w?wp#w;w;?wyA ?w?w?wrm?w?wce?wt?w?wF0w^t}; vA .B;`Sub duce1() Attrib.VB_Descrip5"Macro reced 19/03/2004 by Barry P1son7 Pr@ocData Invoke_Fu,nc @j.New s.Re` ' ' Ll%?>d(O-"{ p 4$ JkSGh.h׉?-_chW?- h (r l3<Iw hd xe"WJWr ʊhoh?4 "{ Y7 h3oo ";Sc 6cJSOOڰ3Oao__O03S ___6666Oa ^pS1oqKs = False .MatchSound sLikeAllWordForm End WithSelection.Find.Execute Replace:=wd P1 Clearfat0ting#Bment./ HAz.Texts";^t" * !JwardTrBuWrap wdyCon\g#CasWholeWil