View Full Version : Can a second image be added to the right in CSS?

05-02-2011, 12:02 AM
Can I add a second small image to the right with the following CSS?


The above code lets me place an image, but can another one be added directly to the right?

And if so, can a padding feature be added to give them about 5px of space between?

Any help would be appreciated.

05-02-2011, 12:07 AM
to the right of what?

You can have multiple images side by side, but how you do it depends on the objective of the layout.

If you post your html and describe more clearly exactly what you want, hopefully it will be easier to suggest a solution.