Answer the question
In order to leave comments, you need to log in
What is a bug in Chrome?
Greetings! I found a bug in Chrome, but I still don’t understand what’s wrong!
Here is the code (simple)
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<title>sss</title>
</head>
<body>
<span style="font-size: 100px;white-space: nowrap">Рейтинг: <span style="background-color: black; color: white">8.9</span></span>
<span style="font-size: 100px;white-space: nowrap">Режиссер: <span style="background-color: black; color: white">Кристофер Нолан</span></span>
</body>
</html>
Answer the question
In order to leave comments, you need to log in
Let's properties need not inline elements, but block ones:
<div style="font-size: 100px;white-space: nowrap">
<span>Рейтинг: <span style="background-color: black; color: white">8.9</span></span>
</div>
<div style="font-size: 100px;white-space: nowrap">
<span>Режиссер: <span style="background-color: black; color: white">Кристофер Нолан</span></span>
</div>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question