diff options
author | Joey Hess <joey@kitenet.net> | 2008-07-13 09:45:59 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2008-07-13 09:45:59 -0400 |
commit | 4ad9680d52b058aee9e81518dce5f00ff9e1bd44 (patch) | |
tree | 1073cabc91fd84a793f3da669d9294bed8e69d9c | |
parent | a6b4d94e0c40c633c4473d058e65a9f005aa6b8c (diff) |
web commit by http://smcv.pseudorandom.co.uk/: suggest solution
-rw-r--r-- | doc/bugs/__96____96__clear:_both__39____39___for___96__.page__42____39____63__.mdwn | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/bugs/__96____96__clear:_both__39____39___for___96__.page__42____39____63__.mdwn b/doc/bugs/__96____96__clear:_both__39____39___for___96__.page__42____39____63__.mdwn index e389ce3ed..b0a63ba3c 100644 --- a/doc/bugs/__96____96__clear:_both__39____39___for___96__.page__42____39____63__.mdwn +++ b/doc/bugs/__96____96__clear:_both__39____39___for___96__.page__42____39____63__.mdwn @@ -15,3 +15,13 @@ adding this `clear: both`? > before the modification date. So all of them have to clear both above and > below. I'm sure there are better ways for the CSS to handle that. > --[[Joey]] + +>> There is indeed a better way - all the optional things below the +>> content are wrapped in `<div id="footer">`, so to have the browser wait +>> until all floating boxes have finished before rendering the footer, it +>> would be sufficient to have `#footer { clear: both; }` and remove all +>> the other footer-related `clear` attributes. I'm not sure what you mean +>> by "clear above and below" - the clear attribute takes values none, left, +>> right or both, and its purpose is to stop floating boxes (sidebars, +>> mainly) from overlapping with footers. +>> --[[smcv]] |