web commit by http://smcv.pseudorandom.co.uk/: suggest solution
parent
a6b4d94e0c
commit
4ad9680d52
|
@ -15,3 +15,13 @@ adding this `clear: both`?
|
||||||
> before the modification date. So all of them have to clear both above and
|
> 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.
|
> below. I'm sure there are better ways for the CSS to handle that.
|
||||||
> --[[Joey]]
|
> --[[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]]
|
||||||
|
|
Loading…
Reference in New Issue