MediaWiki:Common.css
From Species File Help
(Difference between revisions)
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
+ | |||
+ | |||
+ | #foo { | ||
+ | background-image: url(http://help.speciesfile.org/images/c/c0/Diversity_Image.png); | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
/* even-flow styles | /* even-flow styles | ||
Line 7: | Line 13: | ||
If it's not working try removing whitespace between spans/divs. | If it's not working try removing whitespace between spans/divs. | ||
− | + | */ | |
.even_flow_container { | .even_flow_container { |
Revision as of 15:51, 17 May 2012
/* CSS placed here will be applied to all skins */ #foo { background-image: url(http://help.speciesfile.org/images/c/c0/Diversity_Image.png); background-repeat: no-repeat; } /* even-flow styles This is the code that floats the divs on the homepage. See http://stackoverflow.com/questions/6865194/fluid-width-with-equally-spaced-divs. If it's not working try removing whitespace between spans/divs. */ .even_flow_container { padding:1em; border:1px solid blue; height:125px; text-align:justify; -ms-text-justify:distribute-all-lines; text-justify:distribute-all-lines; } .even_flow_box { margin-left:100px; text-align:center; border:1px solid green; height:125px; vertical-align:top; display:inline-block; *display:inline;zoom:1; width:150px; } .even_flow_stretch { width:100%; display:inline-block; font-size:0; line-height:0; }