HTML & WEB-Design

Moderators: Jonathan
Number of threads: 1253
Number of posts: 3360

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
transparent images Posted by ixz on 26 Jan 2002 at 6:23 AM
how can i make an image shaped like this
|--------/
|-------/
|------/
|-----/
|----/
|---/ (triangle)
|--/
|-/
|/

to be halfly visible
i mean that the whole image is a square but the browser shows only a half (triangle) of it
i don't know if that was clear enough but if you get what i mean then please help!


<br>Ixz
Report
Re: transparent images Posted by Jonathan on 26 Jan 2002 at 10:46 AM
Hi,

You need the image to be saved in the .gif format and also need to use some kind of GIF editing software that is able to create transparent areas, e.g. Animation Shop (comes with Paint Shop Pro).

Hope this helps!

Jonathan

------------------------------------------
Count downloads from your site for free!
http://www.downloadcounter.com/

Report
thats not what i ment Posted by ixz on 26 Jan 2002 at 5:04 PM
: Hi,
:
: You need the image to be saved in the .gif format and also need to use some kind of GIF editing software that is able to create transparent areas, e.g. Animation Shop (comes with Paint Shop Pro)





i want the transparent parts to be so that i can put some text or pictures or other elements on it
Ixz

Report
Re: thats not what i ment Posted by Secret_Doom on 30 Jan 2002 at 6:46 PM
Hi. Let me see if I've got what you meant:

You have an image in shape of retangle (or square), but ypu want to make half of it invisible (in the shape of a triangle), is that it?

Well, that could be kinda difficult... I think we could do in the following shape:

|-----------|
|----------|
|---------|
|--------|
|-------|
|------|
|-----|
|----|
|---|
|--|
|-|
||

Using multiple DIVs with the background color as the page's background, that's possible. By reducing the DIVs spacement, we could "raise the resolution" of that shape.

But I already said, it could be difficult...

IF we could put a div in the diagon position it would be easy, but I don't know how to do that (don't even know it that's possible!)

-- Secret_Doom - Leonardo Pignataro --

secret_doom@hotmail.com
www.batch.hpg.com.br



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.