WordPress.org

Ready to get started?Download WordPress

Forums

Resizing Images Using CSS? (1 post)

  1. effulgency
    Member
    Posted 5 years ago #

    I want to use thumbnails of images on the home page. I did this by editing the widths and heights of the images in the CSS, as shown:

    #featured img {
    	margin: 0px;
    	padding: 0px;
    	width: 70%;
    	height: 70%;
    }
    
    #leftcol img {
    	display: none;
    }
    
    #rightcol img {
    	width: 40%;
    	height: 40%;
    }

    As you can see, I want the featured image to be 70% of its actual size, the right column images to be 40% of their actual size, and the left column images to be invisible.

    However, this only functions properly in FF and IE8. Is there any workaround for this?

    The site can be found here.

    Thanks in advance.

Topic Closed

This topic has been closed to new replies.

About this Topic