Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

trouble with scroll-bars and images in Dreamweaver 3

Status
Not open for further replies.

JamesOtwo

Technical User
Nov 20, 2002
6
GB
This is the first time I have used Dreamweaver, I'm quite a way into building my site, but I'm having some difficulty creating a page on which I have a long, narrow horizontal image.

I'm able to set a 'scroll' function for the 'overflow' setting on the layer, but, the image is so long that it is wider than the screen width, so when previewing in my browser, I have a horizontal scroll-bar underneath the image layer, and a horizontal scroll-bar automatically appears at the bottom of the browser window, because, obviously, the size of the image exceeds the page width. This is a pretty messy combination.

You're forced to use both scroll-bars if you want to view the entire image.

I would like to know if it's possible, to reduce the size of the layer, so it will fit in the browser window, without cropping the image, and retaining the scroll bar for the layer, so I can fit it within the page dimensions.

Basically, I want to reduce the size of the layer in which the image is displayed, without compromising the image.
 
You don't want to reduce the image size using Dreamweaver. You can do it and end up with a smaller looking graphic, but it will still weigh the same (it will still be the same large file size).

Open the graphic in Fireworks or Photoshop and reduce it to the dimensions you need. If it is that large you should probably slice it also. Peace
BT
 
What I think you want is this

<iframe src=&quot;Your_image_file.html&quot; name=&quot;imageframe&quot; width=&quot;300&quot; height=&quot;400&quot;></iframe>

Create a html doc called whatever you want with the image in. Then set the height and width in the above code to what you require to be displayed, change &quot;Your_image_file.html&quot; to whatever you named the image doc and just put the code above into you existing document.

Cheech The secret of life is honesty and fair dealing. If you can fake that, you've got it made.
Groucho Marx (1895-1977)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top