Jump to content

capg

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by capg

  1. Sreenivas,Your code is really helpful, but according to Vijay's question he says each item should be in different color I did tried that, but color is same for all items, so is it possible to get each item different color?Thanks,Capi

    yes u can do it example: <select size="1" name="D" tabindex="1" STYLE="color: #ffffff; font-family:Arial,Helvetica,sans-serif; font-weight: lighter; font-size: 12px; background-color: #72A4D2;">                      <option value="" > blue  colored back ground    </option>                    <option value="" >  colored back ground    </option>                                  </select>

  2. kansasprog,Thanks you very much your code and it worked for me.Capi

    I'm new to VB Scripting, Here I'm trying write add some values to an array and then display those values in a table.My question is how can I format the contents of the table like applying font, size etc.,Thanks in Advance. capimy text is like this<HTML><HEAD><FONT FACE="ARIAL" SIZE=2 COLOR="#13428E"><script type="text/vbscript">dim aa=Array("MONITORs", _"CPUs", _"KEYBOARDs", _"MOUSE", _"USB", _"HARDDRIVE", _"MP3Players", _"-")document.write("<FONT SIZE=2 COLOR=BLUE> <table border=1>")document.write("<tr><td>" & a(0) & "</td></tr>")document.write("<tr><td>" & a(1) & "</td></tr>")document.write("<tr><td>" & a(2) & "</td></tr>")document.write("<tr><td>" & a(3) & "</td></tr>")document.write("<tr><td>" & a(4) & "</td></tr>")document.write("<tr><td>" & a(5) & "</td></tr>")document.write("<tr><td>" & a(6) & "</td></tr>")document.write("<tr><td>" & a(7) & "</td></tr>")DOCUMENT.WRITE("</table></FONT>")</script></HEAD></HTML>

  3. I'm new to VB Scripting, Here I'm trying write add some values to an array and then display those values in a table.My question is how can I format the contents of the table like applying font, size etc.,Thanks in Advance. capimy text is like this<HTML><HEAD><FONT FACE="ARIAL" SIZE=2 COLOR="#13428E"><script type="text/vbscript">dim aa=Array("MONITORs", _"CPUs", _"KEYBOARDs", _"MOUSE", _"USB", _"HARDDRIVE", _"MP3Players", _"-")document.write("<FONT SIZE=2 COLOR=BLUE> <table border=1>")document.write("<tr><td>" & a(0) & "</td></tr>")document.write("<tr><td>" & a(1) & "</td></tr>")document.write("<tr><td>" & a(2) & "</td></tr>")document.write("<tr><td>" & a(3) & "</td></tr>")document.write("<tr><td>" & a(4) & "</td></tr>")document.write("<tr><td>" & a(5) & "</td></tr>")document.write("<tr><td>" & a(6) & "</td></tr>")document.write("<tr><td>" & a(7) & "</td></tr>")DOCUMENT.WRITE("</table></FONT>")</script></HEAD></HTML>

×
×
  • Create New...