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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

masking an image

Status
Not open for further replies.

alexxxis

Programmer
Sep 21, 2006
38
RO
hello.i wan`t to do something, i think i saw it done somewhere, but i don`t know how.
i have an image, from a traffic counting website. that needs to be there. but i want to hide it. can i place a mask over it or something ? something like a white backgrond <area shape> ?
could anyone please give me some suggestions ? thanks
 
You could put [tt]visibility: hidden;[/tt] to it. I guess you could even try [tt]display: none;[/tt], but then maybe it won't even do what it is supposed to do. The difference between method one and two is that with the first one, the space occupied by the image will be there, it will just be invisible. Second approach leaves no marks.

In addition to the first approach, you could add [tt]position: absolute;[/tt] to it. This way it would be taken out of the flow of the document and be invisible and not bother anything.
 
thanks guys. i just tried the visibility thing thingy and it worked. thank you for all the suggestions
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top