Advertisement
ambosdavid

caesar

Mar 15th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Julius Caesar</title>
  6. <style type="text/css">
  7. body {
  8. background-color: rgba(33,3,4,1);
  9. background-image: url(images.jfif);
  10. background-repeat: repeat-x;
  11. }
  12. body,td,th {
  13. color: rgba(255,255,255,1);
  14. }
  15. div {
  16. text-align:center;
  17. }
  18. </style>
  19. </head>
  20.  
  21. <body>
  22. <h1 align="center">Julius Caesar</h1>
  23. <h3 align="center">( Press a button to Learn About Something ) </h3>
  24. <hr>
  25. <div><button style="border: 3px solid blue; background-color: white; border-radius: 10px; color: black; padding: 5px; font-size: 16px;" onClick="resize(); document.getElementById(&quot;iframe&quot;).src = &quot;../juliusCaesar/information.html&quot;;">Click Here to Learn About Julius Caesar</button>
  26. <button style="border: 3px solid blue; background-color: white; border-radius: 10px; color: black; padding: 5px; font-size: 16px;" onClick="resize(); document.getElementById(&quot;iframe&quot;).src = &quot;../juliusCaesar/information2.html&quot;;">Click Here to Learn About Yourself</button>
  27. <br>
  28. <iframe id="iframe" style="position: fixed; left: 75px; top: 175px;"></iframe>
  29. </div>
  30. <script>
  31. function resize() {
  32. document.getElementById("iframe").width = (window.innerWidth - 175) + "px";
  33. document.getElementById("iframe").height = (window.innerHeight - 225) + "px";
  34. }
  35. </script>
  36. </body>
  37. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement