By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,945 Members | 1,648 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,945 IT Pros & Developers. It's quick & easy.

Image and resize

P: n/a
Ok - this is driving me crazy. I found a lot of threads about this
topic but nothing has helped me. I'm sorry if I'm posting this in the
the wrong place.

I have the following code in a .net page:
<IMG alt="photo" src="Images\a.gif" height="70" width="70">

When the page opens, the window is not maximized. So when I maximize
the window, the image disappears. If I restore down, the image is
still gone. All the darn coding on this page and I'm getting stuck on
HTML!!!!

Thanks,
Sunshine

Jul 23 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Figured it out. The image is inside a table with a set height. The
table height was too small for the image when the window was maximized.
I increased the table height and now it's fine.

Sunshine

Jul 23 '05 #2

P: n/a
Sunshine wrote:
Ok - this is driving me crazy. I found a lot of threads about this
topic but nothing has helped me. I'm sorry if I'm posting this in the
the wrong place.

I have the following code in a .net page:
<IMG alt="photo" src="Images\a.gif" height="70" width="70">

When the page opens, the window is not maximized. So when I maximize
the window, the image disappears. If I restore down, the image is
still gone. All the darn coding on this page and I'm getting stuck on
HTML!!!!


What does this have to do with JavaScript?

If you put your problematic line of code into a page by itself
and it works, then it is most likely some other code on your
page that is causing your errors.

A good place to start is the w3c HTML validator at:

<URL:http://www.w3.org>

In the meantime, try:

<html><head><title>Just an image</title>
</head><body>
<IMG alt="photo" src="Images\a.gif" height="70" width="70">
</body></html>

--
Zif
Jul 23 '05 #3

P: n/a
On 27 Jan 2005 07:15:01 -0800 Sunshine wrote:
Figured it out. The image is inside a table with a set height. The
table height was too small for the image when the window was maximized.
I increased the table height and now it's fine. Sunshine

You would be better off creating an image with that size instead of forcing
the server to resize it.
Which also takes less time to load the page.
Jul 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.