Tuesday, November 16, 2010

How do I get rid of space around my picture in HTML?

Hey, I am just plain having an awful time trying to get rid of this white space on the top and side of a picture. I am using frames and I have a picture for the links set to the same size as the frame it is going in, but no matter what I do, there is space around it. I have changed the picture size, changed the hspace to 0, set the border to 0, and tons of other stuff.





The weird part is that the white space is not all the way around the image, only on one side. If I set Align=right to the image, it goes on the left and there is not space on the left, and vice versa.





Any suggestions? Here is my HTML for the page:





%26lt;html%26gt;


%26lt;head%26gt;


%26lt;/head%26gt;


%26lt;body bgcolor = ';ffffff';%26gt;








%26lt;img src=';leftnew.png'; usemap=';#morelinks'; style=';border-width: 0'; ALIGN=';left'; hspace=';0'; /%26gt;


%26lt;map name=';morelinks'; id=';morelinks';%26gt;


%26lt;area shape=';rect'; coords=';1,160,150,183'; href=';home.htm'; target=';index'; alt=';home'; /%26gt;


%26lt;area shape=';rect'; coords=';1,214,150,263'; href=';pastor.htm'; target=';index'; alt=';media'; /%26gt;


%26lt;area shape=';rect'; coords=';1,287,150,310'; href=';calendar.htm'; target=';index'; /%26gt;


%26lt;area shape=';rect'; coords=';1,335,150,356'; href=';education.htm'; target=';index'; /%26gt;


%26lt;area shape=';rect'; coords=';1,383,150,408'; href=';contact.htm'; target=';index'; /%26gt;


%26lt;/map%26gt;








%26lt;/body%26gt;


%26lt;/html%26gt;How do I get rid of space around my picture in HTML?
you might have to set the style on the frame: margin:0px; padding:0px;How do I get rid of space around my picture in HTML?
%26lt;img border=0%26gt;





border=0
  • loan
  • cash
  • No comments:

    Post a Comment