- This topic is empty.
January 4, 2011 at 1:18 am #31149January 4, 2011 at 1:23 am #67739TheDocModerator
Yes… Sort of hard to explain because it’s quite basic.
To use an image as a background on a div, the CSS will go like this:
That is its most basic form, you can also position it, say if you’d like it to repeat or not, and even add a color behind the image.
background: url('path/to/image.jpg') top left no-repeat #fff;
}January 4, 2011 at 1:45 am #67666January 4, 2011 at 1:59 am #67667TheDocModerator
If you update the link to the site in question I can have a closer look at it.
Are you 100% sure that’s where the image is located?January 4, 2011 at 2:16 am #67668
so, i figured it out.
i put some padding to make the div box bigger then used a vertical align to push the social buttons to the bottom. from there.. i used the padding to move em to the right..
- The forum ‘CSS’ is closed to new topics and replies.