Jump to content

Reg Edit

Members
  • Posts

    411
  • Joined

  • Last visited

Posts posted by Reg Edit

  1. Just a couple of things wrong as shown in red below:

    1. Take out the second opening <form> tag
    2. Add the missing closing quote to value="Submit"

    <form method="get" action="Simple.asp"><form><input type="text" name="Fname"><br><input type="text" name="Lname"><br><input type="Submit" name="submit" value="Submit><br></form>

  2. I am not a programmer so apologies if this is a stupid question. I have been tasked
    I am not a car driver so apologies if this is a stupid question. I have been tasked with driving this car.When I pressed that thing on the floor, the car went fast instead of slow. Do I wiggle that thing in the middle instead?
  3. the parser works only with a small amount
    How does the "not working" manifest itself? Please give specific information. For instance:- Blank page- Page with stuff missing (what is missing?)- Error message (what is the message?)Then hopefully someone can help. :)
  4. If you use VS 2002 then you are likely to get this problem as it will not understand solution files from newer versions. If you only have VS2002 then I suggest you create a new, blank solution and then add the required files to it. You probably have to create new project file(s) in VS2002 too. But the actual source files should be OK.

  5. function show(){	var tbl = document.getElementById('default');	//tbl.style.visibility = visible;	tbl.style.display = 'block';}function hide(){	var tbl = document.getElementById('default');	//tbl.style.visibility = collapse;	tbl.style.display = 'none';}

  6. Other ppl won't see the password if method="post"
    Oh yes they will! The OP is talking about View Source, not the querystring. There is a desire to hard-code the pwd in the javascript :) (perhaps you missed that in the earlier posts?). It has been stated that this is a bad idea (I agree) but the OP wants to do it this way.
  7. You could place two images in a div:

    <div class="alt_baslik">	<div class="kucuk_kutucuk">		<img src="sablon1.gif" width="40" height="40">		<img src="sablon1.gif" width="40" height="40">	</div>	<div class="kucuk_kutucuk">		<img src="sablon1.gif" width="40" height="40">		<img src="sablon1.gif" width="40" height="40">	</div></div>

  8. Your answer is in the first reply to your original post!!!

    If the button is submit type (type="submit") and the user did not focus outside the form fields, the Enter key should work.
    The button input type has to be "submit"! :)
  9. Works fine for me - looks just the same in IE and FF (nice image by the way!). The background appears in the same place in both browsers, and remains still during both vertical or horizontal scrolling.What body contents are you using? This is what I used:

    	<body>		<table cellpadding="100">			<tr>				<td>table cell</td>				<td>table cell</td>				<td>table cell</td>				<td>table cell</td>			</tr>			<tr>				<td>table cell</td>				<td>table cell</td>				<td>table cell</td>				<td>table cell</td>			</tr>		</table>		<br>		<div align="left">div text</div>		<div align="center">div text</div>		<div align="right">div text</div>	</body>

  10. Yes, it does misbehave in IE when I view it.Seems to be caused by nesting a form within a table.Moving the form outside the outer table fixes it:

    	<body>		<form action="" ID="Form1">			<table width="750" border="0" class="main" cellpadding="0" cellspacing="0">

  11. It's just a bit further down the same page (http://www.w3schools.com/schema/schema_howto.asp).Here is the snippet:

    This XML document has a reference to an XML Schema:<?xml version="1.0"?><notexmlns="http://www.w3schools.com"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://www.w3schools.com note.xsd"><to>Tove</to><from>Jani</from><heading>Reminder</heading><body>Don't forget me this weekend!</body></note>

  12. we want to find "nth maximum salary of an employee"
    Not 100% sure what you mean, but this will find the top n salaries if that's what you want:
    SELECT TOP n salFROM empGROUP BY salORDER BY sal DESC;

    Hope this helps.

  13. What seems to be happening is that IE and FF use different rules about taking margins and padding into account, when applying the 100% width. As a result, FF ends up with a width that goes off the page.You can demonstrate this in either of two ways:

    • Set margin and padding to 0px in your body style, or
    • Set width to 98% in your footer style.

    Either of these makes the weirdness go away.Over to you for the best workaround for your page...

  14. Looks like a pretty good approach to me. (Seem to need a BR before the span though?? What browser are you using?)You could also consider whether it would help in this case to make the styles less dependent on the image/caption sizes. For instance:

    img.hspace1 {	padding: 0px 30px; 	border: none; 	width: 100px;}.caption { 		padding: 0px 30px; 	color: #00CC00; 	font-size: small; 	font-weight: lighter;	text-align: center;	width: 100px;}

×
×
  • Create New...