Having an image go outside window in HTML?

MokotheMonkey

New member
I have made an image map, and it looks great! I was so happy with it untill I realised if you zoom in or don't have the internet on fullscreen all the images get squished togerther and mixed up, because the wont go outside the window. How can I make it so the images are allowed to be outside the window (On the right side, so you would have to have a scrolling bar at the bottom)

If I am confusing you just let me know.
 
Put the image in a div and style it like this:

<div class="imagemap">
<img src=" " alt=" " />
</div>

div.imagemap
{
width: 800px /*or how ever wide your image is */
overflow: hidden /* change hidden to scroll if you want a scrollbar */
}
 
Back
Top