WordPress.org

Ready to get started?Download WordPress

Forums

Toolbox
Toolbox vs images in IE8 (1 post)

  1. Peter Wooster
    Member
    Posted 2 years ago #

    The following code:

    /*
    Resize images to fit the main content area.
    - Applies only to images uploaded via WordPress by targeting size-* classes.
    - Other images will be left alone. Use "size-auto" class to apply to other images.
    */
    img.size-auto,
    img.size-full,
    img.size-large,
    img.size-medium,
    .attachment img,
    .widget-area img,
    .wp-caption {
    	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
    	height: auto; /* Override height to match resized width for correct aspect ratio. */
    }

    in version 1.4 of the toolbox theme causes images in IE8 to be distorted. It works properly in IE9, Safari, Chrome and Firefox.

    /peter

    http://wordpress.org/extend/plugins/toolbox/

    http://wordpress.org/extend/themes/toolbox/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags