How to center these images?
-
Hello,
I was wondering (and after searching for it for an hour) how to center the images on this site: https://www.eeuwigweekend.nl
As you can see the top left of the images are displayed. I don’t want that, I want to display the center!! More logical, i think.
I’m guessing this is the piece of code in the stylesheet that does the trick, but I can’t solve the puzzle:
.home .featured img{max-width:500px;}
To give you an idea of the whole home page in code:
/* =home beginpagina */ .bigdate{color:#e3e5e7;font-size:2.4em;font-weight:bolder;left:-0.2em;position:absolute;text-transform:uppercase;top:-0.5em;} .home #footer{width:924px;} .home .post{background:#3b4e5d;display:inline;float:left;height:300px;margin:2px;overflow:hidden;position:relative;width:226px;} .home .post-content{-moz-opacity:0.10;background:#FFFFFF;bottom:0;filter:alpha(opacity=95);font-size:1.2em;font-weight:bolder;left:0;opacity:0.95;padding:1em;position:absolute;width:202px;} .home .post-content-excerpt{display:block;font-size:0.8em;font-weight:normal;} .home .post-content:hover{background-color:#5e7aa7;} .home a:hover{text-decoration:none;color:#FFFFFF} a:hover img{-moz-opacity:0.8px;filter:none(opacity=80);opacity:0.8px;} .home .featured{background:#999;height:300px;margin:2px;overflow:hidden;width:456px;} .home .featured .bigdate{color:#e3e5e7;font-size:4.8em;font-weight:bolder;left:-0.2em;position:absolute;text-transform:uppercase;top:-0.5em;} .home .featured .post-content{width:434px;} .home .featured img{max-width:500px;}
Help would be very appreciated!!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘How to center these images?’ is closed to new replies.