display:inline resets height and width

Inline objects don’t have heights or widths. Why are you setting them inline to begin with? You probably want to either float them or use display: inline-block.

Leave a Comment