Template:Sidebox: Difference between revisions
From Step Mods | Change The Game
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
}} | }} | ||
<div id="outer"> | <div id="outer"> | ||
<div id="header">headerText</div> | <div id="header">headerText</div> | ||
<div id="inner"> | <div id="inner"> | ||
<div id="sidebar">sidebarText</div> | <div id="sidebar">sidebarText</div> | ||
<div id="content">contentText</div> | <div id="content">contentText</div> | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 21:42, February 12, 2013
{{#CSS:
- outer {width:500px;margin:0 auto;}
- inner {overflow:hidden;}
- header {min-height:40px;background:#bbb}
- content {width:400px;min-height:250px;float:left;background:#ccc}
- sidebar{width:100px;min-height:250px;float:left;background:#ddd}
}}
headerText
contentText