- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › I’m trying to put a background in each of my list items doesn’t seem to be working…
This is the site. I’m trying to put the background which is in images/cloud.png
I check chrome dev tool and shows that it recognizes the image.
http://www.meetlawngirl.com/testing/
It’s because the image is way too large for that small LI/A area; the anchors in the LI’s are only 23 pixels high, but the image you’re using is much larger than that.
You could try and add this to the #menu a anchor:
background-size: 100% 100%;
Thank you that makes sense, I did try setting a height and width but that didn’t work.
The clouds gets cut off (on the left side) when I do this. I’m trying to put the text in the center of the cloud image background.
I can’t find the cloud image in your images folder…have you removed it?
Found out actually it was a padding and margin issue.