Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. cappmgr

    fieldset legend css ff

    Thank you Vragabond, What I did was wrap the calender in the label. That did it. I believe it is the same thing you said since label is a float. Thank you very much. I'll be asking more in the near future, I have learned much already. Thanks again, Marty
  2. cappmgr

    fieldset legend css ff

    here you are http://mysite.verizon.net/cappmgr/html/InputFormNoTable.html It wraps in in both ie and ff. Thank you for your help, Marty
  3. cappmgr

    fieldset legend css ff

    Ther must be enought real estate because if i put Sex and Case Couny before Name and DOB it fits fine. Marty
  4. cappmgr

    fieldset legend css ff

    1 and 2 complete. I used http://validator.w3.org/check and it is good. I cannot get the radio and dropdown on the same line with the two other inputs. Any input appreciated Marty <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML> <HEAD>...
  5. cappmgr

    fieldset legend css ff

    This looks ok in IE but FF lengthens out the field set and legend. Also the Case County label seems to be a bit of a hack. I am in a new shop where all input forms are tables, tr, td and would like to use css. Any help or are most comments welcome. Marty <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML...
  6. cappmgr

    Checking if same values

    stefanwagner, My I miss read it, my bad. Marty
  7. cappmgr

    Checking if same values

    another way import java.util.Arrays; public class ArrayTesting { public static void main(String[] args) { String[] arr1 = new String[]{"one", "two", "three"}; String[] arr2 = new String[] {"one", "two", "three"}; if (Arrays.equals(arr1, arr2)) { System.out.println("arrays are...
  8. cappmgr

    Reading inputstream is not finding end of file

    from http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html If b is null, a NullPointerException is thrown. If the length of b is zero, then no bytes are read and 0 is returned; otherwise, there is an attempt to read at least one byte. If no byte is available because the stream is at...
  9. cappmgr

    Abstract methods in abstract classes

    I am wrong, thank you. http://msdn2.microsoft.com/en-us/library/ms173150(VS.80).aspx Marty
  10. cappmgr

    Abstract methods in abstract classes

    public abstract override void SomeMethod(); You can not use the modifier override in an abstract method declaration. Marty
  11. cappmgr

    White space &quot;trim&quot;

    Using two regex's is one way. If you want to remove a leading space you can trim but I was thinking about indentation. using System; using System.Text.RegularExpressions; class RegexTest { static void Main(string[] args) { string myString = @" Hello World ."...
  12. cappmgr

    program design: the right way to go?

    I second JurkMonkeys opinion. In good OO designs you do not see switch statements you see polymorphism. Reflection is an expensive operation. I would not want to maintain what you are thinking about doing. Marty
  13. cappmgr

    Projectile Motion

    Have not done physics in a long time. I think the angle be > 0 and < 180 also the launch time is just a format issue Marty
  14. cappmgr

    String to bool conversion

    Just a typo try if(userInput == "") Marty
  15. cappmgr

    interest rate

    public static double InterestCalculator(double amount, double interestRate) remove static: public double InterestCalculator(double amount, double interestRate) create an instance of Interest and reference the instance: Interest interest = new Interest()...
  16. cappmgr

    How to convert a string with mathematical expression into decimal

    I like earthandfire's idea. code from http://www.gotdotnet.com/community/messageboard/Thread.aspx?id=212303&Page=1#212576 using System; namespace Eval { class Program { static void Main(string[] args) { string strcomp; object obresult; double result...
  17. cappmgr

    Parsing text ?

    elhaix, You posted the same question thread732-1333925 and and we answered it with the code. If you do not like Dictionary<string><string> use a Hashtable as JurkMonkey suggests. Marty
  18. cappmgr

    Regular expression TO finding text between two phrase

    here is one way using System; using System.Text.RegularExpressions; class TestRegexMatch { public static void Main(string[] args) { string s1 = @"Test1/this is just a test" + System.Environment.NewLine; string s2 = @"Test2/abc da da da Test Phase/sssss"; string pattern =...
  19. cappmgr

    Regex for 2007-02-12

    You could put the regex in this program into your validator, just remove the option and whitespace. earthandfire explained how they work so you should be able to read it. using System; using System.Text; using System.Text.RegularExpressions; namespace RegexTesting { class Program {...
  20. cappmgr

    Parsing this string - url

    In 1.1 I believe you could use a Hashtable with the method Item. That does not work with 2.0. reference: http://www.thescripts.com/forum/thread486322.html Here is one way, using System; using System.Collections.Generic; using System.Collections; using System.Text; class SplitQueryString {...

Part and Inventory Search

Back
Top