Sandbox2: Difference between revisions

From StarFleet Bureau of Information
mNo edit summary
No edit summary
Line 1: Line 1:
          <h1>SPACE THE FINAL FRONTIER</h1>
<!DOCTYPE html>
<html>
<html>
<div>
<head>
<style="position:absolute; top:-10px; left:-30px; width:80px; height:80px; border:none;>
<style>
  [[File:Sfjag wht 200.png|right|150px|SF Jag Badge]]
div {
  border: 1px solid black;
  margin-top: 100px;
  margin-bottom: 100px;
  margin-right: 150px;
  margin-left: 80px;
  background-color: lightblue;
}
</style>
</style>
</div>
</head>
<body>
 
<h2>Using individual margin properties</h2>
 
<div>[[img src="https://boi.alt-starfleet-rpg.com/images/8/8c/Sfjag_wht_200.png"]]</div>
 
</body>
</html>
</html>
<!--
<div style="position:relative; height:60px;">
[[img src="https://boi.alt-starfleet-rpg.com/images/8/8c/Sfjag_wht_200.png"
[[img src="https://boi.alt-starfleet-rpg.com/images/8/8c/Sfjag_wht_200.png"
   style="position:absolute; top:-10px; left:-30px; width:80px; height:80px; border:none;"
   style="position:absolute; top:-10px; left:-30px; width:80px; height:80px; border:none;"

Revision as of 18:41, 6 September 2023

<!DOCTYPE html> <html> <head> <style> div {

 border: 1px solid black;
 margin-top: 100px;
 margin-bottom: 100px;
 margin-right: 150px;
 margin-left: 80px;
 background-color: lightblue;

} </style> </head> <body>

Using individual margin properties

</body> </html> [[img src="https://boi.alt-starfleet-rpg.com/images/8/8c/Sfjag_wht_200.png"

  style="position:absolute; top:-10px; left:-30px; width:80px; height:80px; border:none;"
  alt="photo of SF JAG Badge"
  title="SF JAG Badge"]]

-->