I got some really basic HTML & CSS:
Here's the HTML:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" media="all" href="stylesheet.css">
<title>Hello, World!</title>
</head>
<body>
<header>
Hello<sup>World</sup>
</header>
</body>
</html>
Here's the CSS:
header {
vertical-align: middle;
height: 60px;
background-color: #00F;
}
But the text doesn't get aligned in the middle. Why not?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…