Set the width for a pseudo element with image-url content
103222
Can I change the height of an image in CSS :before/:after pseudo-elements?
30137
How do I retrieve an HTML element's actual width and height?
70696
How do I auto-resize an image to fit a 'div' container?
153125
How to change a span to look like a pre with CSS?
139144
Setting a width and height on an A tag
84175
CSS force image resize and keep aspect ratio
92748
Fit background image to div
95837
Setting width/height as percentage minus pixels
151746
Get rid of space underneath inline-block image
5835
How to set width of a div in percent in JavaScript?
21467
Can you add line breaks to the :after pseudo element?
55929
Insert ellipsis (...) into HTML tag if content too wide
98617
Full width image in beamer?
60879
How to match width of text to width of dynamically sized image/title?
7895
How can I make a div not larger than its contents?
36558
Set size on background image with CSS?
157095
How can I find the width of an image using PHP?