What tags would be needed to adjust page for Internet Explorer 7 and beyond?

Michael Barrera's Avatar

Michael Barrera

22 Jan, 2013 10:41 PM

I am attaching a screen shot of a site that I am viewing in IE7. There is an image not showing up and there are three blue and purple borders appearing on the navigation images.

  1. 1 Posted by Ryan Griffith on 23 Jan, 2013 01:12 PM

    Ryan Griffith's Avatar

    Hi Michael,

    The images not showing are almost always caused by broken images (ie the src attribute for the <img> tag points to an image that does not exist on the web server). Can you confirm the image(s) have been published and the paths are correct?

    For the borders around the images, this occurs within Internet Explorer when you surround an <img> tag with a link. IE applies the link's styles by adding a border around the image (the purple border is for a visited link). Try adding something like the following to your CSS:

    a img { border: none; }
    

    Please let me know if you have any questions.

    Thanks

  2. 2 Posted by Michael Barrera on 23 Jan, 2013 02:16 PM

    Michael Barrera's Avatar

    The following is the active link for the image and yes it does appear in Firefox.

    http://www.tamusa.tamus.edu/uploadFile/folders/mbarrera/Image/Image...

  3. 3 Posted by Michael Barrera on 23 Jan, 2013 02:25 PM

    Michael Barrera's Avatar

    Do I add that tag in the embedded style/css in my HTML?

  4. 4 Posted by Ryan Griffith on 23 Jan, 2013 03:44 PM

    Ryan Griffith's Avatar

    Hi Michael,

    You can add these styles to either your <style> tag or any CSS file you are loading with a <link> tag.

    If you are looking to add them to the <style> tag you provided, I would probably put the CSS I provided above below your a styles towards the bottom so you can keep them together and organized.

    Please let me know if you have any questions.

    Thanks

  5. 5 Posted by Michael Barrera on 23 Jan, 2013 05:14 PM

    Michael Barrera's Avatar

    Hey Ryan thanks for your help it seems all is working now.

  6. 6 Posted by Ryan Griffith on 23 Jan, 2013 07:51 PM

    Ryan Griffith's Avatar

    Thank you for the follow up, Michael. Glad to hear that did the trick.

    Have a great day!

  7. Ryan Griffith closed this discussion on 23 Jan, 2013 07:51 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac