Team:Newcastle University/Template:TechnoBox

From 2008.igem.org

(Difference between revisions)
 
(3 intermediate revisions not shown)
Line 19: Line 19:
#TechnoBox {
#TechnoBox {
-
 
-
margin: 14px 3px 14px;
 
background-color: #FFFFFF;
background-color: #FFFFFF;
 +
border-right: 4px solid #003366;
border-right: 4px solid #003366;
border-bottom: 4px solid #003366;
border-bottom: 4px solid #003366;
border-left: 1px solid #CC0033;
border-left: 1px solid #CC0033;
border-top: 1px solid #CC0033;
border-top: 1px solid #CC0033;
-
/*   background-color: #dff7d6;
+
 
-
  border-right: 4px solid #b8efb0;
+
font-size: 0.9em;
-
  border-bottom: 4px solid #b8efb0;
+
 
-
*/
+
-
  font-size: 0.9em;
+
-
  min-height: 100px;
+
-
        width: 600px;
+
}
}
.contentbox {
.contentbox {
-
    width: 580px;
 
    margin:1em;
    margin:1em;
}
}
Line 48: Line 42:
{{{image}}}
{{{image}}}
-
<html>
 
-
    <table style="background-color: #dff7d6;" width="560px" align="center" border="0" cellpadding="7px" cellspacing="5">
 
-
      <td valign="top" style="text-align:justify;">
 
-
</html>
 
{{{content}}}
{{{content}}}
-
([[{{{content-link}}}|more...]])
+
( {{{content-link}}} )
<html>
<html>
-
      </td>
+
  </div><!-- contentbox-->
-
    </table>
+
-
    </div><!-- contentbox-->
+
   </div>  <!-- technobox-->
   </div>  <!-- technobox-->
</html>
</html>

Latest revision as of 15:16, 20 June 2008

usage

Creates a box for information.

{{:Team:Newcastle University/Template:TechnoBox
|title=title
|image=image
|content=content
|content-link=contentlink }


{{{title}}}

{{{image}}}

{{{content}}} ( {{{content-link}}} )