Jump to content

Reg Edit

Members
  • Posts

    411
  • Joined

  • Last visited

Everything posted by Reg Edit

  1. Just a couple of things wrong as shown in red below: Take out the second opening <form> tag 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. Reg Edit

    XPATH

    Does it work in your browser when you try link such as http://www.w3schools.com/xpath/tryit.asp?f...t_cdnodes_first from the example page?If so, it should work on your local box. Try leaving IIS out of the picture to start with. Just place the .htm and .xml files in the same folder - any folder - and double-click the .htm file to open it in your browser. Does it work?
  3. I don't think you can do it. Quote from http://www.w3.org/TR/REC-CSS2/generate.html: Anyway, I don't think "before" and "after" work at all in IE: http://www.w3schools.com/css/css_pseudo_elements.asp
  4. 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?
  5. 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.
  6. 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.
  7. Well, if this is MS SQL Server you can say something like: SELECT * FROM User WHERE (Level BETWEEN 1 AND n) AND (Lastlogout BETWEEN '18 Aug 2006' AND '20 Aug 2006')
  8. 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';}
  9. Reg Edit

    CSS Tooltip

    Try this: http://www.communitymx.com/content/article.cfm?cid=4E2C0
  10. 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.
  11. Reg Edit

    CSS box problem

    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>
  12. Your answer is in the first reply to your original post!!! The button input type has to be "submit"!
  13. 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>
  14. 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">
  15. Perhaps the problem is created by the use of elements as opposed to attributes? Opinions vary about this of course, but I'd have thought this was a clear case of the min/max values being attributes of the width/height elements.
  16. 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>
  17. Reg Edit

    Explain asp..

    As an alternative to a rewrite in ASP, you may want to consider implementing a custom 404 error page on the server.There's a lot of info on the web about doing this but for starters try http://webdesign.about.com/od/http/a/aa031306.htm
  18. 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.
  19. Reg Edit

    I have some problems

    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...
  20. http://www.w3schools.com/xml/default.asphttp://www.w3schools.com/xsl/default.asp
  21. Does it work when you display the result from the tutorial link? http://www.w3schools.com/xsl/cdcatalog_with_xsl.xmlIf that works, then it should also work from your local files. Make sure you have both files (xml and xsl) in the same folder, and make sure the file names and file contents are correct.
  22. From your post it's very difficult to tell exactly what you're trying to do! But it sounds like a .NET dataset so hopefully this link will help: http://samples.gotdotnet.com/quickstart/ho...SetXMLData.aspxIt has an example of reading XML schema and data into a dataset, and then displaying the resulting data from the dataset.Hope this helps.
  23. 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...