Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter jobjansweijer

    (@jobjansweijer)

    I’ve now managed to center three images as I wanted using the code below (see http://www.jansweijer.nl/centered-images/). Is there any way I can combine the two, and make the centered images rollover images now?

    #parent {
        width: 100%;
        border: solid 1px;
        text-align: center;
        font-size: 20px;
        letter-spacing: 35px;
        white-space: nowrap;
        line-height: 12px;
        overflow: hidden;
    }  
    
    .child1 {
        width: 165px;
        height: 165px;
        border: none;
        display: inline-block;
        vertical-align: middle;
    }  
    
    .child2 {
        width: 165px;
        height: 165px;
        border: none;
        display: inline-block;
        vertical-align: middle;
    }  
    
    .child3 {
        width: 165px;
        height: 165px;
        border: none;
        display: inline-block;
        vertical-align: middle;
    }

    HTML:

    <div id="parent">
    <img class="child1" title="IDE" src="http://www.jansweijer.nl/wp-content/uploads/2012/09/IDE.jpg" alt="" width="164" height="162" />
    <img class="child2" title="Photography" src="http://www.jansweijer.nl/wp-content/uploads/2012/09/Photography.jpg" alt="" width="164" height="162" />
    <img class="child3" title="Graphic" src="http://www.jansweijer.nl/wp-content/uploads/2012/09/Graphic.jpg" alt="" width="164" height="162" />
    </div>

    [ Please do not bump, that’s not permitted here. ]

    Forum: Fixing WordPress
    In reply to: Rollover images
    Thread Starter jobjansweijer

    (@jobjansweijer)

    Jep, it helped! Thanks for your effort, I appreciate it!

    Forum: Fixing WordPress
    In reply to: Remove scrollbar
    Thread Starter jobjansweijer

    (@jobjansweijer)

    Hi Andrew,

    Thanks for your reply, it is fixed! 🙂
    For anybody with the same problem:
    Below you can find my original resets. I changed
    html {height: 101%;}
    to
    html {height: 100%;}

    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, font, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    b, u, i, center,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td {
    	margin: 0;
    	padding: 0;
    	border: 0;
    	vertical-align: baseline;
    	background: transparent;
    }
    
    html {height: 101%;}
    
    body {
    	line-height: 1;
    }
    h1, h2, h3, h4, h5, h6 {
    	clear: both;
    }
    ul {
    	list-style: none;
    }
    
    blockquote {
    	quotes: none;
    }
    blockquote:before, blockquote:after {
    	content: '';
    	content: none;
    }
    del {
    	text-decoration: line-through;
    }
    table {
    	border-collapse: collapse;
    	border-spacing: 0;
    }
    a img { border: none; }
    
    img { display: block; }
    
    input[type="submit"]::-moz-focus-inner {border:0;}
    input[type="submit"]::-webkit-focus-inner {border:0;}
    
    .project.main img,
    .post p img,
    .page p img,
    .postThumb,
    video,
    object,
    embed,
    div.wp-caption img {
    	max-width: 100% !important;
    	height: auto;
    }
    
    .wp-caption {
    	width: auto !important;
    }
    
    /**** Isotope filtering ****/
    
    .isotope-item {
      z-index: 2;
    }
    
    .isotope-hidden.isotope-item {
      pointer-events: none;
      z-index: 1;
    }
    
    .isotope-item { -webkit-transition-duration:0.8s; }
    
    /**** Video Embeds ****/
    
    .videoContainer {
    	position: relative;
    	padding-bottom: 56.25%;
    	padding-top: 0px;
    	height: 0;
    	overflow: hidden;
    }
    
    .videoContainer iframe,
    .videoContainer object,
    .videoContainer embed {
    	position: absolute;
    	top: 0;
    	left: 0;
    	width: 100%;
    	height: 100%;
    }
    Forum: Fixing WordPress
    In reply to: Rollover images
    Thread Starter jobjansweijer

    (@jobjansweijer)

    Whoops! That’s incorrect… All four links on the homepage are as they should be. There’s just no image appearing…

    Forum: Fixing WordPress
    In reply to: Rollover images
    Thread Starter jobjansweijer

    (@jobjansweijer)

    Hi Phil,

    Thanks for your reply.
    It’s supposed to be here:
    http://www.jansweijer.nl/

    The first three links are just placed as text, but the 4th link seems to appear as a result of the code:

    http://www.jansweijer.nl/wp-content/uploads/2012/09/Photomanipulation-Rollover.jpg
    http://www.jansweijer.nl/wp-content/uploads/2012/09/Photomanipulation.jpg
    http://www.jansweijer.nl/industrial-design
    http://www.jansweijer.nl/wp-content/uploads/2012/09/IDE_Test.jpg
    
    <div class="testrollover"><a href="http://www.jansweijer.nl/industrial-design"> </a></div>
Viewing 5 replies - 1 through 5 (of 5 total)