Skip to content

Instantly share code, notes, and snippets.

@jmettraux
Created May 17, 2023 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmettraux/26ee6eaec0c100643ed565218ca0415e to your computer and use it in GitHub Desktop.
Save jmettraux/26ee6eaec0c100643ed565218ca0415e to your computer and use it in GitHub Desktop.
.right {
color: blue;
font-weight: bold;
}
table {
width: 60%;
margin: auto;
border: 1px solid black;
border-spacing: 1em;
}
td {
border: 1px solid blue;
text-align: center;
}
h1 > div {
font-size: 60%;
}
h1 div {
color: blue;
}
<html>
<head>
<title>Egawa</title>
<style>
.right {
text-align: right;
}
p {
text-align: right;
}
img {
width: 50%;
}
</style>
<link rel="stylesheet" type="text/css" href="site.css">
</head>
<body>
<h1>
Heading 1
<div>subtitle<div>foobar</div></div>
</h1>
Hello World
<p style="text-align: right;">migi</p>
<p class="right">migi</p>
<p>migi</p>
<table>
<tr>
<td>
<img src="bjj.webp" />
</td>
<td>
Moji tachi<br/>
Hello world
</td>
</tr>
<tr>
<td>
Moji tachi<br/>
Hello world
</td>
<td>
<img src="bjj.webp" />
</td>
</tr>
</table>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment