Jump to content

Err

Members
  • Posts

    1,009
  • Joined

  • Last visited

Posts posted by Err

  1. Cool. I'll be sure to try that, I'm working on this at school since I still don't have the program for it. No it doesn't work with the above code I posted. I also tried putting all 3 boxes in separate If statements, but that didn't work either.

  2. How can I catch empty values on 3 text boxes that need values.I have three text boxes: txtGrade1, txtGrade2 and txtGrade3.and I have a label for any message.This is for a simple calculator that I'm working on, if you need more code on this, then please say so.

    If txtGrade1.Text = "" Or txtGrade2.Text = "" Or txtGrade3.Text = "" Then	  lblMsg.Text = "Numbers must be inputed to all 3 boxes."End If
  3. <HTML><HEAD><TITLE> test</TITLE><style type="text/css">html, body, #name {  font-family: Arial;  font-size: 40px;}</style><script type="text/javascript">var colors=new Array();colors[0]="blue";colors[1]="green";colors[2]="red";colors[3]="gray";colors[4]="orange";colors[5]="aqua";colors[6]="brown";colors[7]="black";colors[8]="purple";colors[9]="chocolate";colors[10]="magenta";colors[11]="violet";colors[12]="indigo";colors[13]="sienna";colors[14]="yellow";var i=0;function writemess(){if (i==15)i=0;document.getElementById('name').style.color=colors[i];i++;setTimeout('writemess()',200)}</script></HEAD><BODY onload="writemess()"><div id="name">test</div></BODY></HTML>

    Try this code.

  4. Well how big is your image? I mean, what's the file size of it? If it's more than 500KB, you will get an error and your image will not be uploaded. To check your image size, right-click on it, select "Properties", and it will tell you the size.You can't upload .html files and expect the image to upload with it. The image is a another file you have to upload also.

  5. Try this CSS:

     #tablecell {  background: url(#) no-repeat fixed center;  border: 0;  height: 800px;  width: 520px;}

    And try cleaning up all the scrambled up code you have on your page, it's probably contributing to your problem. I can view it fine on IE 7. Also I just wanted to let you know that you're actually using a <div> not a <td> table cell.

    <table><tr><td><div id="tablecell">....</div>
  6. That's because you don't have an image uploaded in your main directory that's called: night_fight.jpeg.It would be even better if you fixed your image code, you are missing the ending > (Greater than) symbol on your <img> tag. Here try this: <img src="night_fight.jpeg" width="731" height="541">

×
×
  • Create New...