Jump to content

Images distorted after refesh button


Guest Gloria

Recommended Posts

I have a website that contains several images. The problem is that when first visiting the page, the images look fine but if I hit the "refresh" button on the browser, the images are squashed. The width remains but with increased height. This only happens on IE not FF. Why is this happening?Here is the CSS.imgFloatRight{ float: right; width: 220px; margin: 0 0 0 5px; text-align: center; color: purple;}div.imgFloatRight img{ width: 200px;}Here is the code<%@ Page Language="VB" MasterPageFile="~/English.master" AutoEventWireup="false" CodeFile="Luminaria.aspx.vb" Inherits="English_Broodmares_Luminaria" Title="Luminaria" %><asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server"> <div class="imgTop"> <h1> Luminaria</h1> <img alt="Luminaria summer 2003" src="../../Images/Broodmares/Luminaria/Luminaria Summer 2003.jpg" /> </div></asp:Content>

Link to comment
Share on other sites

You might try changing the spaces in the filenames to %20. Luminaria%20Summer%202003.jpgBut, if IE is getting the exact same code and doing two different things with it, it sounds like an IE bug. I know IE has some bugs with the CSS float, this might be one of them.

Link to comment
Share on other sites

Everyone talks about IE bugs, but why are there so many?
IE6 came out with XP around 2001 (i think :) ) since then it has been abandoned.I've heard there are still problems with IE7 but i'll stick to Opera :)
Link to comment
Share on other sites

I don't think that's true, Scott. IE 6 came out before that---I have a cd labled 2000. :)
:blink: yeah i wasn't sure, even more shocking how long it's taken for IE7 to get a release :) but i guess that's for the browser discussion topic!cheers choco :)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...