Question:
Dear Dr. Website:
I have two forms on the page (one for a tag board and one for a paypal donate button) I am wondering why the forms create a sort of buffer zone around them so that the images next to them do not show up right next to them like the other images on the pages (ie the wishlist icons i have on my page)
How can I get rid of this buffer zone?
Thanks,
Answer:
The best way to deal with the spacing issue is to place a form field in one table data cell, and place the image in a data cell next to the data cell with the form field. So it'd be something like this:
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>
<TR>
<TD><INPUT TYPE=TEXT></TD><TD><IMG SRC="myimage.gif"></TD>
</TR>
<TR>
<TD><INPUT TYPE=TEXT></TD><TD><IMG SRC="myimage.gif"></TD>
</TR>
</TABLE>
Thanks,
--Dr.Website
Question:
Dear Dr. Website:
I would like to know how do I create a transparent background using my own color? Is there a special software or is there any kind of tools I need to do that?
Thanks
Answer:
I would use some sort of image editor, like Ulead PhotoImpact. Although most image editors will do what you ask.
--Dr.Website
Question:
Dear Dr. Website:
Please advise me on how to store a Jpeg image file
in a SQL Server database and how to retrieve the image.
Thanks
Answer:
Your in luck I have found an article that will show you how to: Copy Text or
Image into or out of SQL Server :
http://www.databasejournal.com/features/mssql/article.php/1443521
--Dr.Website
Question:
Dear Dr. Website:
I have made a site with a table set to 100% relative size attributes. When you first go to the page, it aligns to the edges. But, when I hit the refresh button or go to another page and return, it leaves a margin on the right hand side. I set the margins at 0 but it didn't fix the problem.
Any suggestions?
Answer:
If you add the following to your site's Style Sheet, you should get the
effect you're after:
BODY {
margin-top: -8px;
margin-left: -8px;
margin-right: 0px;
margin-bottom: 0px;
padding-top: 0;
padding-left: 0;
padding-right: 0;
padding-bottom: 0;
}
Thanks,
--Dr.Website
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~