2 replies
  • WEB DESIGN
  • |
I need help I'm using this template (I can't post links but maybe I can pm someone and they can) to create a website
I'm trying to make it so I can put 4 pictures in the black box
I have edited the css so that the box is big enough
and so that its centered but my 4th image won't get
inline with the other 3
#css
  • Profile picture of the author lovenot
    Remove the paddings, remove the margins, check if your images have any blanks or transparency in them around the borders. Make all your images "display:block;" If they are of different sizes, make their margins different. or set width and height of the main div containing the images and "margin:auto;" it.

    Hope this helps.
    {{ DiscussionBoard.errors[4559139].message }}
  • Profile picture of the author mathman
    try using this

    whatever your class is {

    position: relative;
    top: xx px;
    bottom: xx px;
    left: xx px;
    right: xx px;

    }


    basically just play around with this result until your image is align. Another option is to use the float property but I highly recommend you try position: relative; first.
    Signature
    Sonos S5 Review ll Sonos ZP90 ll Sonos ZP120

    "I swear it upon Zeus the outstanding runner cannot be the equal of the average wrestler" - Socrates
    {{ DiscussionBoard.errors[4559144].message }}

Trending Topics