ASP 101 - Active Server Pages 101 - Web03
The Place ASP Developers Go!

Please visit our partners


Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates














ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash





Sample HTML Code generated by the ASP:
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
   <TR>
      <TD COLSPAN="3" ALIGN="center"><H2>Sensor Summary</H2></TD>
   </TR>
   <TR>
      <TD VALIGN="center"><B>N</B></TD>
      <TD VALIGN="top">
         <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
            <TR>
               <TD ROWSPAN="2"><IMG SRC="./images/spacer.gif" BORDER="0"
                  WIDTH="1" HEIGHT="300"></TD>
               <TD VALIGN="top" ALIGN="right">391 </TD>
            </TR>
            <TR>
               <TD VALIGN="bottom" ALIGN="right">0 </TD>
            </TR>
         </TABLE>
      </TD>
      <TD>
        <DIV STYLE="position:relative;left:0;top:0">
         <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0"
            STYLE="position:relative;left:0;top:0">
            <TR>
               <TD VALIGN="bottom"><IMG SRC="./images/spacer_black.gif"
                  BORDER="0" WIDTH="4"
                  HEIGHT="300"></TD>
               <TD VALIGN="bottom"><IMG SRC="./images/spacer.gif" BORDER="0"
                  WIDTH="2" HEIGHT="1"></TD>
               <TD VALIGN="bottom">
               <IMG SRC="./images/spacer_red.gif"
                  STYLE="position:absolute; Left:6;
                  bottom:-1; z-index:4" BORDER="0"
                  WIDTH="64" HEIGHT="24"
                  ALT="32	Critical">
               <IMG SRC="./images/spacer_blue.gif"
                  STYLE="position:absolute; Left:6;
                  bottom:-1; z-index:3" BORDER="0"
                  WIDTH="64" HEIGHT="28"
                  ALT="6	Serious">
               <IMG SRC="./images/spacer_yellow.gif"
                  STYLE="position:absolute; Left:6;
                  bottom:-1; z-index:2" BORDER="0"
                  WIDTH="64" HEIGHT="37"
                  ALT="13	Routine">
               <IMG SRC="./images/spacer_lime.gif"
                  STYLE="position:absolute; Left:6;
                  bottom:-1; z-index:1" BORDER="0"
                  WIDTH="64" HEIGHT="44"
                  ALT="10	Cleared">
               <TD VALIGN="bottom"><IMG SRC="./images/spacer.gif" BORDER="0"
                  WIDTH="2" HEIGHT="1"></TD>
               <TD VALIGN="bottom">
               <IMG SRC="./images/spacer_red.gif"
                  STYLE="position:absolute; Left:72;
                  bottom:-1; z-index:4" BORDER="0"
                  WIDTH="64" HEIGHT="85"
                  ALT="112	Critical">
               <IMG SRC="./images/spacer_blue.gif"
                  STYLE="position:absolute; Left:72;
                  bottom:-1; z-index:3" BORDER="0"
                  WIDTH="64" HEIGHT="98"
                  ALT="18	Serious">
               <IMG SRC="./images/spacer_yellow.gif"
                  STYLE="position:absolute; Left:72;
                  bottom:-1; z-index:2" BORDER="0"
                  WIDTH="64" HEIGHT="98"
                  ALT="0	Routine">
               <IMG SRC="./images/spacer_lime.gif"
                  STYLE="position:absolute; Left:72;
                  bottom:-1; z-index:1" BORDER="0"
                  WIDTH="64" HEIGHT="103"
                  ALT="7	Cleared">
               <TD VALIGN="bottom"><IMG SRC="./images/spacer.gif" BORDER="0"
                  WIDTH="2" HEIGHT="1"></TD>
               <TD VALIGN="bottom">
               <IMG SRC="./images/spacer_red.gif"
                  STYLE="position:absolute; Left:138;
                  bottom:-1; z-index:4" BORDER="0"
                  WIDTH="64" HEIGHT="4"
                  ALT="6	Critical">
               <IMG SRC="./images/spacer_blue.gif"
                  STYLE="position:absolute; Left:138;
                  bottom:-1; z-index:3" BORDER="0"
                  WIDTH="64" HEIGHT="7"
                  ALT="4	Serious">
               <IMG SRC="./images/spacer_yellow.gif"
                  STYLE="position:absolute; Left:138;
                  bottom:-1; z-index:2" BORDER="0"
                  WIDTH="64" HEIGHT="14"
                  ALT="10	Routine">
               <IMG SRC="./images/spacer_lime.gif"
                  STYLE="position:absolute; Left:138;
                  bottom:-1; z-index:1" BORDER="0"
                  WIDTH="64" HEIGHT="37"
                  ALT="30	Cleared">
               <TD VALIGN="bottom"><IMG SRC="./images/spacer.gif" BORDER="0"
                  WIDTH="2" HEIGHT="1"></TD>
               <TD VALIGN="bottom">
               <IMG SRC="./images/spacer_red.gif"
                  STYLE="position:absolute; Left:204;
                  bottom:-1; z-index:4" BORDER="0"
                  WIDTH="64" HEIGHT="8"
                  ALT="11	Critical">
               <IMG SRC="./images/spacer_blue.gif"
                  STYLE="position:absolute; Left:204;
                  bottom:-1; z-index:3" BORDER="0"
                  WIDTH="64" HEIGHT="18"
                  ALT="14	Serious">
               <IMG SRC="./images/spacer_yellow.gif"
                  STYLE="position:absolute; Left:204;
                  bottom:-1; z-index:2" BORDER="0"
                  WIDTH="64" HEIGHT="27"
                  ALT="13	Routine">
               <IMG SRC="./images/spacer_lime.gif"
                  STYLE="position:absolute; Left:204;
                  bottom:-1; z-index:1" BORDER="0"
                  WIDTH="64" HEIGHT="27"
                  ALT="0	Cleared">
               <TD VALIGN="bottom"><IMG SRC="./images/spacer.gif" BORDER="0"
                  WIDTH="2" HEIGHT="1"></TD>
               <TD VALIGN="bottom">
               <IMG SRC="./images/spacer_red.gif"
                  STYLE="position:absolute; Left:270;
                  bottom:-1; z-index:4" BORDER="0"
                  WIDTH="64" HEIGHT="7"
                  ALT="10	Critical">
               <IMG SRC="./images/spacer_blue.gif"
                  STYLE="position:absolute; Left:270;
                  bottom:-1; z-index:3" BORDER="0"
                  WIDTH="64" HEIGHT="22"
                  ALT="20	Serious">
               <IMG SRC="./images/spacer_yellow.gif"
                  STYLE="position:absolute; Left:270;
                  bottom:-1; z-index:2" BORDER="0"
                  WIDTH="64" HEIGHT="45"
                  ALT="30	Routine">
               <IMG SRC="./images/spacer_lime.gif"
                  STYLE="position:absolute; Left:270;
                  bottom:-1; z-index:1" BORDER="0"
                  WIDTH="64" HEIGHT="75"
                  ALT="40	Cleared">
               <TD VALIGN="bottom"><IMG SRC="./images/spacer.gif" BORDER="0"
                  WIDTH="2" HEIGHT="1"></TD>
               <TD VALIGN="bottom">
               <IMG SRC="./images/spacer_red.gif"
                  STYLE="position:absolute; Left:336;
                  bottom:-1; z-index:4" BORDER="0"
                  WIDTH="64" HEIGHT="131"
                  ALT="171	Critical">
               <IMG SRC="./images/spacer_blue.gif"
                  STYLE="position:absolute; Left:336;
                  bottom:-1; z-index:3" BORDER="0"
                  WIDTH="64" HEIGHT="178"
                  ALT="62	Serious">
               <IMG SRC="./images/spacer_yellow.gif"
                  STYLE="position:absolute; Left:336;
                  bottom:-1; z-index:2" BORDER="0"
                  WIDTH="64" HEIGHT="228"
                  ALT="66	Routine">
               <IMG SRC="./images/spacer_lime.gif"
                  STYLE="position:absolute; Left:336;
                  bottom:-1; z-index:1" BORDER="0"
                  WIDTH="64" HEIGHT="294"
                  ALT="87	Cleared">
            </TR>
            </TABLE>
         </DIV>
            <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
            <!-- I was using GRAPH_BORDER + GRAPH_WIDTH but it was
            moving the last x axis label -->
            <TR>
               <TD COLSPAN="6"><IMG SRC="./images/spacer_black.gif"
                  WIDTH="400"
                  HEIGHT="4" BORDER="0"></TD>
            </TR>
            <TR>
               <TD WIDTH="67" ALIGN="center"><FONT SIZE="2">S1</FONT></TD>
               <TD WIDTH="67" ALIGN="center"><FONT SIZE="2">S2</FONT></TD>
               <TD WIDTH="67" ALIGN="center"><FONT SIZE="2">S3</FONT></TD>
               <TD WIDTH="67" ALIGN="center"><FONT SIZE="2">S4</FONT></TD>
               <TD WIDTH="67" ALIGN="center"><FONT SIZE="2">S5</FONT></TD>
               <TD WIDTH="67" ALIGN="center"><FONT SIZE="2">Total</FONT></TD>
            </TR>
         </TABLE>
      </TD>
   </TR>
</TABLE>


Output

Samples
Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers