Simple Question...Please Help...

G

Guest

Hi,

I am havinf difficulty achieving what I'm trying to achieve. My basic idea
is to load an image on to an asp.net page, on a fixed size of the page so
that, if it is quite big, I can scroll through it. I want the rest of the
page for some more contols.

All I am able to do presently is to display the image, but it takes the
whole page size without giving me the facility of viewing the rest of the
controls at the same time.

So in short I want a way of displaying an image on the page, on a fixed size
of the page, so that I can scroll through the rest of the image. That gives
me enough space on the page to put the rest of the controls.

I'll be glad if anyone of you can provide me with examples of help me out
here.

Will appreciate it,

Thanks,

I.A
 
K

Karl Seguin

Irfan:
Have you tried simply wrapping it in a div with the overflow style set to
scroll?

<div style="overflow:scroll;width:200;height:200;"><img
src="SOMETHING.jpg"></div>

you must specify the height/width of the div....and it'll scroll the rest..

Karl
 
K

Kevin Spencer

Use a div, and set scrolling on it with CSS.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Troubles with Fullpage / please help 0
Help please 8
Code help please 4
Please Help? 0
Please help 7
Malicious Coding Help Please 5
Help with my navigation, please 0
Help 1

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,147
Latest member
CarenSchni
Top