Announcement

Collapse
No announcement yet.

Easy asp columns and rows

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Easy asp columns and rows

    Is there an easy way to do columns and rows for graphic Icons. Here is a sample of what I'm doing.
    It's a LOCAL Infrared control page.
    <TD align=middle>
    <form method="post">
    <input border="0" src="volumeup.jpg" name="" type="image" height=63 width=60>
    <input type="hidden" name="run_event" value="TV_VolumeUP"></form></TD>

    <TD align=middle>
    <form method="post">
    <input border="0" src="poweron.jpg" name="" type="image" height=63 width=60>
    <input type="hidden" name="run_event" value="TV_VolumeUP"></form></TD>


    <TD align=middle>
    <form method="post">
    <input border="0" src="volumedown.jpg" name="" type="image" height=63 width=60>
    <input type="hidden" name="run_event" value="TV_VolumeUP"></form></TD>

    <TD align=middle>
    <form method="post">
    <input border="0" src="poweroff.jpg" name="" type="image" height=63 width=60>
    <input type="hidden" name="run_event" value="TV_VolumeUP"></form></TD>

    I want to put the first two side by side, likewise on the second two. I am sure this is easy. I'm just stuck. Guess I need a break...JG
    3.0.0.548: HS3PRO - 3.0.5.10: AIAlert - 2.1.1.0: APIWeather - 2.0.64.0: BLBackup - 2.0.45.0: BLLAN - 2.0.37.0: BLRoombaWifi - 1.0.0.3: DevLog - 1.2.5.15: KeyPad - 3.0.2.25: NetCAM - 0.0.0.52: Pushover 3P - 3.0.0.5: SendVFD - 1.0.0.3: Tiles - 3.0.11.0: Z-Wave

    #2
    Try this... set border=0 to get rid of the cell borders if you like. I usually just leave it at 1 while I am laying things out.

    <TABLE cellSpacing="1" cellPadding="1" width="100%" border="1">
    <TR>
    <TD align=middle>
    <form method="post" id=form1 name=form1>
    <input border="0" src="volumeup.jpg" name="" type="image" height=63 width=60>
    <input type="hidden" name="run_event" value="TV_VolumeUP">
    </form>
    </TD>
    <TD align=middle>
    <form method="post">
    <input border="0" src="poweron.jpg" name="" type="image" height=63 width=60>
    <input type="hidden" name="run_event" value="TV_VolumeUP">
    </form>
    </TD>
    </TR>
    <TR>
    <TD align=middle>
    <form method="post">
    <input border="0" src="volumedown.jpg" name="" type="image" height=63 width=60>
    <input type="hidden" name="run_event" value="TV_VolumeUP">
    </form>
    </TD>

    <TD align=middle>
    <form method="post">
    <input border="0" src="poweroff.jpg" name="" type="image" height=63 width=60>
    <input type="hidden" name="run_event" value="TV_VolumeUP">
    </form>
    </TD>

    </TR>
    </TABLE>

    Comment


      #3
      Thats what I came up with after my head cleared and I got out an old copy of HomeSite. It was so easy I'm ashamed.... [img]/infopop/emoticons/icon_redface.gif[/img] Thanks!.............JG
      3.0.0.548: HS3PRO - 3.0.5.10: AIAlert - 2.1.1.0: APIWeather - 2.0.64.0: BLBackup - 2.0.45.0: BLLAN - 2.0.37.0: BLRoombaWifi - 1.0.0.3: DevLog - 1.2.5.15: KeyPad - 3.0.2.25: NetCAM - 0.0.0.52: Pushover 3P - 3.0.0.5: SendVFD - 1.0.0.3: Tiles - 3.0.11.0: Z-Wave

      Comment

      Working...
      X