-
Posts
1,009 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Err
-
-
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
-
Technically we are still helping. Moreover, what he wants to use the scripts for -- that I don't know.
-
or the HTML strict valid way:
<div style="text-align:center; margin-left:auto; margin-right:auto;"> </div>
-
I would use the PrtSc (Print Screen) button and get it anyways.really easy way:put the images in swf's you could make a flash gallery or something -
You can try and look in this topic here: http://w3schools.invisionzone.com/index.php?showtopic=3770
-
<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.
-
Use CSS.
<style type="text/css">html, body { font-family: Arial; font-size: 24px;}</style>
Stick that in between the <head> and </head> tags of your page. You can change the size and font to whatever you want.
-
<style type="text/css">div { margin-left: 10px;}div div { margin-left: 5px;}div div div { margin-left: 0px;}</style>
-
http://www.yzzerdd.com/ has a good script like that.
-
-
Place the <meta> tag in between your <head> and </head> tags in your page.
-
I'm in there now if anyone wants to chat.
-
I don't understand your question...You shouldn't upgrade just to fix the look on your page. What about the other people that still use IE 6?
-
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.
-
Merry Christmas everyone!This shouldn't be closed, well not yet at least, until after Christmas.
-
Like [removed]You can view it fine in IE 6 & 7, Firefox 1.5 & 2.0 and in Opera.
-
Your file manager should look like this: [removed]Find the "File Upload" section, and upload your file.
-
Is the night_fight.jpeg image uploaded to your main directory? In your case it would be: /home/www/leemariegriswold.awardspace.com/Make sure that it's there, and check it again.http://leemariegriswold.awardspace.com/night_fight.jpeg
-
<input type="button" value="Click!" onclick="javascript:disabled=1;this.form.submit(); this.style.color='blue';" />
-
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>
-
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">
-
Cheater. You up'ed your post count.For me it's way in the past... -
So that would make your site: http://leemariegriswold.awardspace.com/page.htmRight? It's working for me.
-
Edit: Err... apparently I didn't read that right. My bad. Well, I offer you free site trackers. http://awstats.sourceforge.net/ for real paid websites (that don't have it for some reason), or http://www.whatcounter.com/ for free sites that allow JavaScript.
catching empty values in text boxes
in .NET
Posted
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.