@@ -182,21 +182,21 @@ jQuery(function($) {
182182});
183183</script>
184184<style>
185- .foswikiGrid. test1 {
185+ .test1 .foswikiGrid {
186186 text-align: center;
187187 background-color: #eee;
188188 line-height:3em;
189189}
190- .foswikiGrid. test1 .foswikiRow {
190+ .test1 .foswikiGrid .foswikiRow {
191191 margin-top:0;
192192}
193- .foswikiGrid. test1 .foswikiRow div {
193+ .test1 .foswikiGrid .foswikiRow div {
194194 background-color: #FFC0CB;
195195}
196- .foswikiGrid. test1 .foswikiRow .odd {
196+ .test1 .foswikiGrid .foswikiRow .odd {
197197 background-color: #ADD8E6;
198198}
199- .foswikiGrid. test2 {
199+ .test2 .foswikiGrid {
200200 text-align:justify;
201201}
202202.gutterSelector {
@@ -209,15 +209,17 @@ jQuery(function($) {
209209 background-color:#fff;
210210}
211211.gridLayoutPluginNotInstalled .gutterSelector,
212- .gridLayoutPluginNotInstalled .foswikiGrid,
212+ .gridLayoutPluginNotInstalled .test1,
213+ .gridLayoutPluginNotInstalled .test2,
213214.gridLayoutPluginInstalled .screenshot {
214215 display:none;
215216}
216217</style>
217218</literal>
218219
219220<img class="screenshot" src="%ATTACHURLPATH%/GridLayoutPluginSnap1.png" width="819" height="252" />
220- %BEGINGRID{class="test1"}%
221+ <div class="test1">
222+ %BEGINGRID%
221223%BEGINCOL{"1"}%
2222241/12
223225%BEGINCOL{"1"}%
@@ -275,11 +277,13 @@ jQuery(function($) {
275277%BEGINCOL{"12"}%
27627812/12
277279%ENDGRID%
280+ </div>
278281
279282---+++ Example 4: mixed columns
280283
281284<img class="screenshot" src="%ATTACHURLPATH%/GridLayoutPluginSnap2.png" width="819" height="672" />
282- %BEGINGRID{class="test1"}%
285+ <div class="test1">
286+ %BEGINGRID%
283287%BEGINCOL{"7"}%
2842887/12
285289%BEGINCOL{"5"}%
@@ -309,8 +313,10 @@ jQuery(function($) {
309313%BEGINCOL{"1"}%
3103141/12
311315%ENDGRID%
316+ </div>
312317
313- %BEGINGRID{class="test1"}%
318+ <div class="test1">
319+ %BEGINGRID%
314320%BEGINCOL{"8"}%
3153218/12
316322%BEGINCOL{"4"}%
@@ -344,8 +350,10 @@ jQuery(function($) {
344350%BEGINCOL{"1"}%
3453511/12
346352%ENDGRID%
353+ </div>
347354
348- %BEGINGRID{class="test1"}%
355+ <div class="test1">
356+ %BEGINGRID%
349357%BEGINCOL{"9"}%
3503589/12
351359%BEGINCOL{"3"}%
@@ -377,11 +385,13 @@ jQuery(function($) {
377385%BEGINCOL{"1"}%
3783861/12
379387%ENDGRID%
388+ </div>
380389
381390---+++ Example 5: text & borders
382391
383392<img class="screenshot" src="%ATTACHURLPATH%/GridLayoutPluginSnap3.png" width="819" height="767" />
384- %BEGINGRID{class="test2" border="on"}%
393+ <div class="test2">
394+ %BEGINGRID{border="on"}%
385395%BEGINCOL{"6"}%
386396 Ac velit, eu, cras, amet, elementum scelerisque nisi purus ac turpis integer purus porta adipiscing? Penatibus,
387397 habitasse tristique est nunc ac sit sociis turpis! Dignissim sociis odio augue turpis cursus, tristique tincidunt?
@@ -429,6 +439,7 @@ jQuery(function($) {
429439 augue porta, cursus, a eu.
430440%ENDGRID%
431441</div>
442+ </div>
432443
433444---++ Installation Instructions
434445
0 commit comments