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. back ground image

back ground image

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netgraphicshelpquestion
3 Posts 2 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.
  • B Offline
    B Offline
    bapu2889
    wrote on last edited by
    #1

    Hello new to asp.net and i am working on one assignment, I have one image which i want to use as a page background and it's size is 1158 x 777 bitmap image, I have set image as a background and it displays on the web page but from right side and bottom side is not display on web page so how can i put scroll bar to move image up and down and side ways as well waiting for your kind help

    A 1 Reply Last reply
    0
    • B bapu2889

      Hello new to asp.net and i am working on one assignment, I have one image which i want to use as a page background and it's size is 1158 x 777 bitmap image, I have set image as a background and it displays on the web page but from right side and bottom side is not display on web page so how can i put scroll bar to move image up and down and side ways as well waiting for your kind help

      A Offline
      A Offline
      Agrawalbs
      wrote on last edited by
      #2

      you are putting it as page BackGround,not as Image on the page. you cant put scroll bar just like that. scroll bar will come if any object exceeds the page width or height. So here is a workaround for this create

      then your page content comes here

      the page will show complete image in the background with scroll bars. Ashish Agrawal Web Developer, Aurigo Software Tchnologies,Inc

      B 1 Reply Last reply
      0
      • A Agrawalbs

        you are putting it as page BackGround,not as Image on the page. you cant put scroll bar just like that. scroll bar will come if any object exceeds the page width or height. So here is a workaround for this create

        then your page content comes here

        the page will show complete image in the background with scroll bars. Ashish Agrawal Web Developer, Aurigo Software Tchnologies,Inc

        B Offline
        B Offline
        bapu2889
        wrote on last edited by
        #3

        hello sir thanks for your rep. i have tried that but still it's not working here is the code i am using and i am not sure that is it the right

        <body background="homepage_notext.bmp" >
        <div height="1158" width="777">
        </div>
        </body>

        but under height and width it shows red line waiting for your kind rep.

        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