Why can't I set width or height on an inline element?
Inline elements ignore width and height because they flow inside text lines and size to content. Use inline-block or block to control size.
💡 If you want to control size but keep inline flow, use inline-block.
Why does my block element always start on a new line?
Block elements always break lines before and after, stacking vertically. This is their default behavior.
💡 Block = new line before and after.
Why does inline-block let me set width but still stay on the same line?
Inline-block combines inline flow with block box sizing, so it respects width/height but does not force line breaks.
💡 Inline-block = inline flow + block sizing.