Template:Team:Cambridge/CAM 2012 TEMPLATE HEAD PROJECT1
From 2012.igem.org
(Difference between revisions)
Pdmallaband (Talk | contribs) |
Pdmallaband (Talk | contribs) |
||
Line 54: | Line 54: | ||
p:first-child { display: none;} | p:first-child { display: none;} | ||
/* Wiki Hacks - END */ | /* Wiki Hacks - END */ | ||
+ | |||
+ | /* required to avoid jumping */ | ||
+ | #camLeftWrapper { | ||
+ | left: 450px; | ||
+ | position: absolute; | ||
+ | margin-left: 35px; | ||
+ | width: 280px; | ||
+ | } | ||
+ | |||
+ | #cam_left { | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | /* just used to show how to include the margin in the effect */ | ||
+ | margin-top: 20px; | ||
+ | border-top: 1px solid purple; | ||
+ | padding-top: 19px; | ||
+ | } | ||
+ | |||
+ | #cam_left.fixed { | ||
+ | position: fixed; | ||
+ | top: 0; | ||
+ | } | ||
+ | |||
</style> | </style> | ||
Line 161: | Line 184: | ||
<div id='cam_page'> | <div id='cam_page'> | ||
+ | <div id = 'camLeftWrapper'> | ||
<div id='cam_left'> | <div id='cam_left'> | ||
<a href='https://2012.igem.org/Team:Cambridge' title='Team:Cambridge'> | <a href='https://2012.igem.org/Team:Cambridge' title='Team:Cambridge'> | ||
Line 259: | Line 283: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | </div> | ||
+ | |||
</div> | </div> | ||
Revision as of 14:32, 20 September 2012