WordPress.org

Ready to get started?Download WordPress

Forums

Help! Inconsistancy between mozilla and IE. (6 posts)

  1. mycoo62
    Member
    Posted 8 years ago #

    Hi,

    I recently made a new header for my website, http://www.ieatpeople.com and everything looks fine while using mozilla, but when viewed in Internet Explorer, a goofy looking blue border pops up around the image/header. Does anyone know how I can get rid of this?

    Thanks,
    -Mike

  2. 400
    Member
    Posted 8 years ago #

    In your stylesheet alter the img tag to remove the border.

    If necessary create a seperate class for the banner image if you want to have that link border for the other images

    img {
    border: 0;
    }

  3. mycoo62
    Member
    Posted 8 years ago #

    Yea, I would like to keep the border around all of my other images. How would I go about creating another class? Also the borders for my pictures don't show up in IE, but they do in mozilla. Thanks.

  4. 400
    Member
    Posted 8 years ago #

    CSS
    img.banner{
    border: 0;
    }
    img{
    border: 1px solid;
    }
    HTML
    <img src="banner.jpg" alt="banner image" class="banner"/>

  5. mycoo62
    Member
    Posted 8 years ago #

    I tried that, but it still didn't work. Also, I have border code put in already for the images throughout the site and it works fine in mozilla, but for some reason doesnt show up in IE. Thanks for your suggestions so far.

    -Mike

  6. mycoo62
    Member
    Posted 8 years ago #

    *BUMP*

    OK, so I got everything to work in IE, but for some reason I can't get rid of the banner border in mozilla. Also, keep in mind that I would like to retain the borders around the pictures.

    -Mike

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.