PDA

View Full Version : no border around image?, image on image?, select part of image for button?


oneeyebrow
01-19-2006, 06:47 PM
A few helps needed....

How can I take away the border around an image? The image is 1000 x 768 pixels and I want it to be all that can be seen but there is a white border around it?

Is there a way to select a part of an image so I can use that selected part as a button?

Can i position an image on an image?

_Aerospace_Eng_
01-19-2006, 07:05 PM
<style type="text/css">
html, body {
margin:0;
padding:0;
border:0;
}
a img {
border:0;
}
</style>
Add that in between your head tags. Yes you can use a certain part of the image as a link. Search around for the term "image map". To position an image over an image you will need to use absolute positioning and z-index.

mlseim
01-19-2006, 07:35 PM
Your image could also be made "the background" and anything placed
on the web page would go over the image.

You didn't mention if that white border is actually a part of the image itself.

If it is, you'll need to crop it off using a photo editor program.

If you give us a link to the page you're working on, it would really help us out.