Mark Spritzler wrote: had had similar results before. First to guarantee that it is the far right I use float:right. However, you have to make sure that it is not in a div or section that isn't to the far right. Basically I had float:right for my login buttons, but they were within a div, and that div was not set to float:right, so it ended up to the right of my description in the header, the header was set to 60% width, so to the right of that was near the middle and that div was only about 15%, so even though I had float:right for the button is was to 75%, so I made the parent div take up 40% and now my buttons are to the very right of all screen resolutions.
Hope that helps.
Bear Bibeault wrote:Where's your code? Where and when do you want this to occur?
fred rosenberger wrote:you want "StringBuilder", not "String Builder".
Steve Luke wrote:This may be a good place to use RegEx with the String.replaceAll(regex, replacement) method.
Look into the Pattern API and see if you can't find a Pattern that would match:
"4 digits" dash "4 digits" dash "4 digits" dash "4 digits" coming after "cc"
If you aren't familiar with RegEx then your strategy may be:
Use a StringBuilder: Copy all the contents of the String before the indexOf("cc") [perhaps + 2 so "cc" appears in the output] into the StringBuilder Append the mask for the credit card number onto the StringBiolder Append all the contents of the String after indexOf("cc") + 2 + length of the credit card number into the StringBuilder Turn the StringBuilder into a String.
The API for String and StringBuilder should help.
Eric Pascarello wrote:Are they on a different netowrk than you? If so, have you tried to access the page when you are not directly connected to it?
Have you cleared your cache to make sure that you do not have a good version of the page stuck in your temp folders?
Are their browser settings different than yours? [They might have some things disabled]