projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90417a2
)
Add styles to make content area grow to contain floated images.
author
Mike Taylor
<mike@indexdata.com>
Wed, 21 May 2014 12:07:50 +0000
(13:07 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 21 May 2014 12:07:50 +0000
(13:07 +0100)
See http://www.quirksmode.org/css/clearing.html
examples/htdocs/mkws-widget-credo.css
patch
|
blob
|
history
diff --git
a/examples/htdocs/mkws-widget-credo.css
b/examples/htdocs/mkws-widget-credo.css
index
5e4ffa2
..
2b8ef0d
100644
(file)
--- a/
examples/htdocs/mkws-widget-credo.css
+++ b/
examples/htdocs/mkws-widget-credo.css
@@
-43,6
+43,11
@@
.mkwsCredo div.content {
background: white;
padding: 0.5em 1em;
+
+ // Next two are needed to make this area grow to contain floated images.
+ // See http://www.quirksmode.org/css/clearing.html
+ overflow: auto;
+ width: 100%;
}
.mkwsReference h1 {