Im trying to change the width of my white background that is behind my image. But for some reason when I change the width it moves the whole thing to the left. How do I change the size of the background color without moving it to the left
Edit: I solved it by changing the margin instead
FIRST: Try fixing this:
The # is missing from the id #img in the CSS: SECOND: Iām seeing the image breaking out of the box to the right.
This can be corrected by:
max-width: 100%;
height:400px
#img { border-radius: 50%; border-style: solid; border-width: 3px; max-width:100%; }
SO, WE END UP WITH THIS:
Thank you! That really helped my 'img 'fill out nice.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.