Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I rid the gap between graphics and canvas edge?

Status
Not open for further replies.

CowboyFromHell

Programmer
Jun 16, 2005
9
US
I was wondering why when I preview in my browser or when I export html and slices do I have a gap that exists between my graphics and the edge of the page? For instance, I try to move the banner up to fill the gap but the result now shows my banner being cut off yet the gap still exists between the cut off edge and the edge of the canvas. Whatever canvas color I choose is the color that exists in that gap.

I guess my main question would be this: How do I bring my images (banners, graphics, pics, etc.) to any edge of the canvas without the annoying space in between? I have looked at every command, button, and help section but I have not seen so much as a mention of this.

I have scoured the faq section here to no avail as well. Any help would be much appreciated. I apologize if this question has been answered before, but I could not find it in the forum. Thank you in advance for taking the time to consider a solution to my question.
 
this is an html problem, you need to set the body tag borders to 0

<body rightmargin="0" leftmargin="0" bootommargin="0" topmargin="0">

----------------------------------------
Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..
 
Thank you very much for your help. I can't believe I didn't think of that. I have never coded using a program before, and my new boss insists that we use FWMX. Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top