1
I am trying to put a DIV in the same line of text, when I run the HTML below, the DIV is at the bottom line of the text.
<html>
<head>
<style>
div {
width: 10px;
height: 10px;
border: 1px solid black;
padding: 2px;
margin: 10px;
}
</style>
</head>
<body>
<p>
posicionar essa div <div></div> na mesma linha
</p>
</body>
</html>
How do I get this DIV to stay on the same line as the text to form only one line?
Possible duplicate of How to make a div or span occupy only the size of its internal content?
– Icaro Martins