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!

Image in table Question?

Status
Not open for further replies.

rissac

Technical User
May 9, 2003
79
IN
I'm designing a page with a table. In that table I have an image placed within it. I have the table set to:

<body bgcolor=&quot;6D777A&quot; &quot;leftmargin=&quot;0&quot; topmargin=&quot;0&quot; marginwidth=&quot;0&quot;>

Form some reason the image is not flush. In other words how would you have the image placed against the side of the browser window because I get a slight gap between the browser window and the image? Any suggestions? For an example go to:
Thank you.
 
Have you adjusted the &quot;cellpadding&quot; attribute of the table?

&quot;cellspacing&quot; could also be an issue.
 
Cell padding and spacing are actually set to 0. Do you have any more suggestions?
 
You have a slight flaw in your body tag.
You have a &quot; placed in front of the leftmargin tag.

Change it to:
<body bgcolor=&quot;6D777A&quot; leftmargin=&quot;0&quot; topmargin=&quot;0&quot; marginwidth=&quot;0&quot;>

This should do the trick.
 
Thanks for your help, that did it.
 
Also, since you are using topmargin and marginwidth, you should prbably throw in marginheight.... topmargin and left margin are for one browser and marginwidth and margin height are for the other
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top