Difference between revisions of "Team:Cambridge-JIC/Wiki Design"
Simonhkswan (Talk | contribs) |
Simonhkswan (Talk | contribs) |
||
Line 18: | Line 18: | ||
<div style="width: 100%; padding:0% 10%; margin: 30px 0px;color:#fff"> | <div style="width: 100%; padding:0% 10%; margin: 30px 0px;color:#fff"> | ||
<h2> Using CSS and JS </h2> | <h2> Using CSS and JS </h2> | ||
− | As iGEM teams are unable to upload and refer to CSS and Javascript files, styling your webpages takes a different method to the standard way. Instead, we have uploaded pages that end in _CSS and _JS that are linked to in the html of our other pages. To use a page as a file, simply put the code in HTML and refer to the URL with <span style="background-color:#fff; color:#123a68"> ?action=raw </span> added. This takes the raw code that was entered. | + | As iGEM teams are unable to upload and refer to CSS and Javascript files, styling your webpages takes a different method to the standard way. Instead, we have uploaded pages that end in _CSS and _JS that are linked to in the html of our other pages. To use a page as a file, simply put the code in HTML and refer to the URL with <span style="background-color:#fff; color:#123a68"> ?action=raw</span> added. This takes the raw code that was entered. |
</div></div></section> | </div></div></section> |
Revision as of 16:49, 18 September 2015