Код: Выделить всё
The img element tells the browser, “Place an image here.” You’ve already gotten
a glimpse of it used to place banner graphics in the examples in Chapter
4, Creating a Simple Page. You can also place an image element right in the
flow of the text at the point where you want the image to appear, as in the
following example. Images stay in the flow of text, aligned with the baseline
of the text, and do not cause any line breaks (HTML5 calls this a phrasing
element), as shown in FIGURE 7-2:
Код: Выделить всё
#first {
background-color: blueviolet;
width:1200px;
}


Я не понимаю, почему Chrome Dev Tool сообщает примерно на 100 пикселей меньше, или что-то не так с моим пониманием пикселей?
Подробнее здесь: https://stackoverflow.com/questions/642 ... xels-value