Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Image stretching

Image stretching

Scheduled Pinned Locked Moved ASP.NET
help
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mcgann
    wrote on last edited by
    #1

    I have a table in a webform and the background image has been set to an image i created. What I want to do is stretch this image anytime the table goes beyond the image size i.e the image size is 800 x 577, but when I load the webform it might be 800 x 700. The only thing that should stretch is the height. Anyone one who can help it's much appreciated.

    I D 2 Replies Last reply
    0
    • M mcgann

      I have a table in a webform and the background image has been set to an image i created. What I want to do is stretch this image anytime the table goes beyond the image size i.e the image size is 800 x 577, but when I load the webform it might be 800 x 700. The only thing that should stretch is the height. Anyone one who can help it's much appreciated.

      I Offline
      I Offline
      Ista
      wrote on last edited by
      #2

      you can sink an event and put an image element underneath the table There might be another way , tho 1 line of code equals many bugs. So don't write any!!

      1 Reply Last reply
      0
      • M mcgann

        I have a table in a webform and the background image has been set to an image i created. What I want to do is stretch this image anytime the table goes beyond the image size i.e the image size is 800 x 577, but when I load the webform it might be 800 x 700. The only thing that should stretch is the height. Anyone one who can help it's much appreciated.

        D Offline
        D Offline
        DotNetDominator
        wrote on last edited by
        #3

        Hi, I had the same problem when i wanted to give background image. But, I could not find any way to stretch image. Only thing can be done is to repeate image in 'x' or 'y' direction. Or if you use Style sheet then it will be lot easier.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups