TheMightySpud Posted June 29, 2009 Share Posted June 29, 2009 Hi all,I have a query and would be very grateful if someone knew a definate answer. :)Is it possible to take a PNG image, which has a transparency (for the sake of argument, let's say an image of a black triangle with transparency all around) is it possible to make the transparent areas of the image 'non-clickable' For example, using CSS to position say 3 triangles next to each other so that the sloped sides of the 3 triangle are almost touching is it possible to make these 3 triangles hyperlinks without each of them interfering with it's neighbour, due to the transparency when it is clicked?Not sure if that's explained very well, if you need clarification, please do not hesitate to ask.ThanksTheMightySpud Link to comment Share on other sites More sharing options...
Ingolme Posted June 29, 2009 Share Posted June 29, 2009 No, CSS wouldn't have control over that for two reasons: It does not know what information is inside the file The behaviour of a link is not something that can be styled with CSS You'd need to use image maps, which you can study about in the W3Schools Javascript tutorial Link to comment Share on other sites More sharing options...
TheMightySpud Posted June 30, 2009 Author Share Posted June 30, 2009 I figured as much but thought I'd ask anyway :)ThanksTheMightySpud No, CSS wouldn't have control over that for two reasons:It does not know what information is inside the file The behaviour of a link is not something that can be styled with CSS You'd need to use image maps, which you can study about in the W3Schools Javascript tutorial Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.