Hi
I don''t know any Forum about HTML so I''ll try it here.
I have the following problem:
How to dispay an image so that it''t upperleft is at x=0 && y=0 cordinates of a frame/page?
Thanks
May the force be with you
If its in a table make sure that cellspacing=0 and cellpadding=0 in the TABLE tag.
If its in a frame makesure in your frame definition marginwidth=0 and marginheight=0 in the FRAME tag.
An image right? Make sure border=0 in the IMG tag; also put hspace=0 vspace=0. This works for my site, at least. In netscape there is still a small border around it which i havent been able to get rid of.. grr...
/home/./~jumble
---------------
If its in a frame makesure in your frame definition marginwidth=0 and marginheight=0 in the FRAME tag.
An image right? Make sure border=0 in the IMG tag; also put hspace=0 vspace=0. This works for my site, at least. In netscape there is still a small border around it which i havent been able to get rid of.. grr...
/home/./~jumble
---------------
jumble-----------
In IE you have to add the leftmargin=0 and topmargin=0 too in order to work correctly...
Netscape uses margins defined with marginheight and width, but Explorer uses left and topmargin.
Netscape uses margins defined with marginheight and width, but Explorer uses left and topmargin.
Now I know what I'm made of, and I'm afraid of it...
go to HTML Goodies and find under the "cascading style sheets" section an image section. there is a command there that allows you to put an image to the pixel (x and y) instead of where the html formatting puts it...
hope this helped a little...
hope this helped a little...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement