Difference between revisions of "Code Documentation"
Line 56: | Line 56: | ||
<h3> Creating a Page</h3> | <h3> Creating a Page</h3> | ||
− | + | </html> | |
<p> {{2015CSS}}<br> | <p> {{2015CSS}}<br> | ||
< html ><br> | < html ><br> | ||
Line 75: | Line 75: | ||
</p> | </p> | ||
− | + | <html> | |
<div class="clear"></div> | <div class="clear"></div> | ||
Revision as of 21:01, 30 January 2015
This page documents and explains the CSS and HTML used in the 2015 site.
General wrapping div of the page
/* General wrap for the page*/
#contentWrap {
width: 980px;
height: auto;
margin-left: 20px;
float:left;
margin-right: auto;
background-color: #ffffff;
}
Creating a Page
< html >
< !-- change the page title -- >
< div id = " pageTitle " >
< h2 > 2015 DNA Distribution < / h2 >
< / div >< / div >< br > < div id = " grayLine_Clear ">< / div >
< div id = " fullWidth " >
< div id = " alertMessage " > < p > Please note that all information on this page is in a draft version.
Please check back often for details. < / p >< / div >
< !-- start of content ---------------------------------------- >
Buttons
CSS button
/* Button class*/
.button {
width: 130px;
border: 1px solid #cccccc;
background-color: fff;
height: 30px;
text-align: center;
border-radius: 5px;
padding: 10px 5px 0px 5px;
margin: auto;
}
.button:hover {
background-color: #c1dfa6;
}
Creating a button
< div class="button" > < a href="your link" >