Adding a picture to a form page

samhop used Ask the Experts™
I am trying to add a picture to a form page and this is what i get. What am I doing wrong?
thanks for your time.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Heya samhop,
     Seems to be a nested table issue. What appears to be happening is that you want the input form on the left hand side, and the image on the right.. so you would need a structure like this:

     <td align="top"><img src="whatever.jpg"></td>

instead of:

      <td><img src="whatever.jpg"></td>

Nested tables can help a designer out a *lot*. Hope this example helps. Here is a copy of your corrected code:

  <!-- Created with AOLpress/2.0 -->
  <TITLE>Free Polarized Lens</TITLE>
<BODY bgcolor="#FFFF00" text="#DE009C" link="#FFFF00" vlink="#FFFF00" alink="#FFFF00">
<FORM method=post action="" name="submit">
  <INPUT type="hidden" name="subject" value=" Free Polarized Lens">
  <INPUT type="hidden" name="to" value="">
  <INPUT type="hidden" name="cc" value=""> <FONT color="DE009C">
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
  &nbsp;<BIG><B>Activate an account with DYNOPTIC<BR>
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; and receive
  your free polarized lens.</B></BIG></FONT>
<table bgcolor="FFFF00">
  <TABLE bgcolor="FFFF00">
      <TD align="right"><STRONG><FONT color="DE009C"><BIG>Name</BIG>: &nbsp;&nbsp;
      &nbsp; &nbsp;</FONT></STRONG></TD>
      <TD valign="top">
      <INPUT type="text" size="30" maxlength="30" name="Name"></TD>
      <TD align="right"><STRONG><FONT color="DE009C"><BIG>&nbsp;
      <TD valign="top">
      <INPUT type="text" size="30" maxlength="30" name="Address"></TD>
      <TD align="right"><STRONG><FONT color="DE009C"><BIG>City: &nbsp;&nbsp; &nbsp;
      &nbsp; &nbsp;</BIG></FONT></STRONG></TD>
      <TD valign="top">
      <INPUT type="text" size="30" maxlength="30" name="City"></TD>
      <TD align="right"><STRONG><FONT color="DE009C"><BIG>State: &nbsp;&nbsp; &nbsp;
      <TD valign="top">
      <SELECT name="State" size="1">
      <OPTION selected value>
      <OPTION value="AL">AL Alabama
      <OPTION value="AK">AK Alaska
      <OPTION value="AZ">AZ Arizona
      <OPTION value="AR">AR Arkansas
      <OPTION value="CA">CA California
      <OPTION value="CO">CO Colorado
      <OPTION value="CT">CT Connecticut
      <OPTION value="DE">DE Delaware
      <OPTION value="DC">DC District of Columbia
      <OPTION value="FL">FL Florida
      <OPTION value="GA">GA Georgia
      <OPTION value="HI">HI Hawaii
      <OPTION value="ID">ID Idaho
      <OPTION value="IL">IL Illinois
      <OPTION value="IN">IN Indiana
      <OPTION value="IA">IA Iowa
      <OPTION value="KS">KS Kansas
      <OPTION value="KY">KY Kentucky
      <OPTION value="LA">LA Louisiana
      <OPTION value="ME">ME Maine
      <OPTION value="MD">MD Maryland
      <OPTION value="MA">MA Massachusetts
      <OPTION value="MI">MI Michigan
      <OPTION value="MN">MN Minnesota
      <OPTION value="MS">MS Mississippi
      <OPTION value="MO">MO Missouri
      <OPTION value="MT">MT Montana
      <OPTION value="NE">NE Nebraska
      <OPTION value="NV">NV Nevada
      <OPTION value="NF">NF Newfoundland
      <OPTION value="NH">NH New Hampshire
      <OPTION value="NJ">NJ New Jersey
      <OPTION value="NM">NM New Mexico
      <OPTION value="NY">NY New York
      <OPTION value="NC">NC North Carolina
      <OPTION value="ND">ND North Dakota
      <OPTION value="OH">OH Ohio
      <OPTION value="OK">OK Oklahoma
      <OPTION value="OR">OR Oregon
      <OPTION value="PW">PW Palau
      <OPTION value="PA">PA Pennsylvania
      <OPTION value="RI">RI Rhode Island
      <OPTION value="SC">SC South Carolina
      <OPTION value="SD">SD South Dakota
      <OPTION value="TN">TN Tennessee
      <OPTION value="TX">TX Texas
      <OPTION value="UT">UT Utah
      <OPTION value="VT">VT Vermont
      <OPTION value="VA">VA Virginia
      <OPTION value="WA">WA Washington
      <OPTION value="WV">WV West Virginia
      <OPTION value="WI">WI Wisconsin
      <OPTION value="WY">WY Wyoming </SELECT></TD>
      <TD align="right"><STRONG><FONT color="DE009C"><BIG>Zip: &nbsp;&nbsp; &nbsp;
      &nbsp; &nbsp;&nbsp;</BIG></FONT></STRONG></TD>
      <TD valign="top">
      <INPUT type="text" size="30" maxlength="30" name="Zip"></TD>
      <TD align="right"><STRONG><FONT color="DE009C"><BIG>Phone: &nbsp;
      <TD valign="top">
      <INPUT type="text" size="30" maxlength="30" name="Phone"></TD>
      <TD align="right"><STRONG><FONT color="DE009C"><BIG>Email</BIG></FONT></STRONG><BIG><B>:
      &nbsp; &nbsp; &nbsp;</B></BIG></TD>
      <TD valign="top">
      <INPUT type="text" size="30" maxlength="48" name="Email"></TD>
      <TD><IMG SRC="slgimages/golfer1.jpg" ALIGN="right"></TD>
    <TABLE align="left">
      <TD><A HREF=""><IMG SRC="slgimages/back.jpg"></A></TD>
        <INPUT SRC="slgimages/submit.jpg" NAME="Submit" TYPE="image" WIDTH="154"

Hope this helps!



Thank you so much for your quick response. It worked great!
Sweet! :)


Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial