Template:Team:Edinburgh/Code

From 2013.igem.org

(Difference between revisions)
Line 476: Line 476:
var notebookEntries = document.getElementsByClassName("notebookEntry");
var notebookEntries = document.getElementsByClassName("notebookEntry");
for (var i = 0; i < notebookEntries.length; i++ ) {
for (var i = 0; i < notebookEntries.length; i++ ) {
-
notebookEntries[i].innerHTML += "<a style='text-align: right' href='#top'>Back to top</a>"
+
notebookEntries[i].innerHTML += "<p style='text-align: right' ><a href='#top'>Back to top</a></p>"
   }
   }
});
});

Revision as of 09:24, 30 September 2013