ironbull
Active Member
Hi,
I would like to know what is the best way to set up a responsive image with simple HTML/CSS code. Just now I can't find a person who is able to adapt PSD to Web format so my quick solution is just to upload the image and make it all clickable.
The code I am trying is this one:
but it is not working 100% right. I get a white border all around the image of about 10px.
Any coders here?
Thanks
I would like to know what is the best way to set up a responsive image with simple HTML/CSS code. Just now I can't find a person who is able to adapt PSD to Web format so my quick solution is just to upload the image and make it all clickable.
The code I am trying is this one:
HTML:
<!DOCTYPE html>
<html>
<body>
<title> Landing Page </title>
<a href="http://www.google.com">
<img src="http://example.com/img.png" style='width:100%;' border="0" alt="IMG">
</a>
</body>
</html>
but it is not working 100% right. I get a white border all around the image of about 10px.
Any coders here?
Thanks