Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder Kevin_M_Schafer's Avatar
    Join Date
    Apr 2011
    Location
    Fairfax, Minnesota, U.S.A.
    Posts
    482
    Thanks
    97
    Thanked 17 Times in 17 Posts

    Can a second image be added to the right in CSS?

    Can I add a second small image to the right with the following CSS?

    background-image:url('http://.com/index_files/fb.gif');

    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.

  • #2
    Banned
    Join Date
    Feb 2011
    Posts
    2,699
    Thanks
    13
    Thanked 395 Times in 395 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •