Fossil SCM

solved ticket [1b41304d8b]: moved style clear: both from code for content div to footer css, needs redefinition of div.footer in the css configuration!

Ratte 2010-09-28 08:29 wolfgangFormat2CSS_2
Commit 15b3ad250914a22d1fa3ee4b9dab6b794ffef20b
1 file changed +1 -1
+1 -1
--- src/style.c
+++ src/style.c
@@ -142,11 +142,10 @@
142142
143143
/* Put the footer at the bottom of the page.
144144
** the additional clear/both is needed to extend the content
145145
** part to the end of an optional sidebox.
146146
*/
147
- @ <div style="clear: both;"></div>
148147
@ </div>
149148
zFooter = db_get("footer", (char*)zDefaultFooter);
150149
if( g.thTrace ) Th_Trace("BEGIN_FOOTER<br />\n", -1);
151150
Th_Render(zFooter);
152151
if( g.thTrace ) Th_Trace("END_FOOTER<br />\n", -1);
@@ -360,10 +359,11 @@
360359
@ white-space: nowrap;
361360
@ }
362361
@
363362
@ /* The footer at the very bottom of the page */
364363
@ div.footer {
364
+@ clear: both;
365365
@ font-size: 0.8em;
366366
@ margin-top: 12px;
367367
@ padding: 5px 10px 5px 10px;
368368
@ text-align: right;
369369
@ background-color: #558195;
370370
--- src/style.c
+++ src/style.c
@@ -142,11 +142,10 @@
142
143 /* Put the footer at the bottom of the page.
144 ** the additional clear/both is needed to extend the content
145 ** part to the end of an optional sidebox.
146 */
147 @ <div style="clear: both;"></div>
148 @ </div>
149 zFooter = db_get("footer", (char*)zDefaultFooter);
150 if( g.thTrace ) Th_Trace("BEGIN_FOOTER<br />\n", -1);
151 Th_Render(zFooter);
152 if( g.thTrace ) Th_Trace("END_FOOTER<br />\n", -1);
@@ -360,10 +359,11 @@
360 @ white-space: nowrap;
361 @ }
362 @
363 @ /* The footer at the very bottom of the page */
364 @ div.footer {
 
365 @ font-size: 0.8em;
366 @ margin-top: 12px;
367 @ padding: 5px 10px 5px 10px;
368 @ text-align: right;
369 @ background-color: #558195;
370
--- src/style.c
+++ src/style.c
@@ -142,11 +142,10 @@
142
143 /* Put the footer at the bottom of the page.
144 ** the additional clear/both is needed to extend the content
145 ** part to the end of an optional sidebox.
146 */
 
147 @ </div>
148 zFooter = db_get("footer", (char*)zDefaultFooter);
149 if( g.thTrace ) Th_Trace("BEGIN_FOOTER<br />\n", -1);
150 Th_Render(zFooter);
151 if( g.thTrace ) Th_Trace("END_FOOTER<br />\n", -1);
@@ -360,10 +359,11 @@
359 @ white-space: nowrap;
360 @ }
361 @
362 @ /* The footer at the very bottom of the page */
363 @ div.footer {
364 @ clear: both;
365 @ font-size: 0.8em;
366 @ margin-top: 12px;
367 @ padding: 5px 10px 5px 10px;
368 @ text-align: right;
369 @ background-color: #558195;
370

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button