Image and resize

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sunshine

    #1

    Image and resize

    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.g if" 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

  • Sunshine

    #2
    Re: Image and resize

    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

    Comment

    • Zifud

      #3
      Re: Image and resize

      Sunshine wrote:[color=blue]
      > 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.g if" 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!!!!
      >[/color]

      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><ti tle>Just an image</title>
      </head><body>
      <IMG alt="photo" src="Images\a.g if" height="70" width="70">
      </body></html>



      --
      Zif

      Comment

      • Richard

        #4
        Re: Image and resize

        On 27 Jan 2005 07:15:01 -0800 Sunshine wrote:
        [color=blue]
        > 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.[/color]
        [color=blue]
        > Sunshine[/color]


        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.


        Comment

        Working...