Opera CSS Issue


I have a rather strange problem on my website only occurring on Opera.

Contact Us

When the page first loads, the margin at the top of "reason for contact" disappears. If I type anything in the message text box, the margin above the email message disappears. This is the undeable problem.

I noticed that this javascript code is related to the problem:

Code: function charCheck(myLabel, myTxtArea, charCount) { var charsRemainingLabel = document.getElementById(myLabel); var myTextArea = document.getElementById(myTxtArea); var charsLeft = charCount - myTextArea.value.length; if (charsLeft < 0) { alert("You can only enter up to "+charCount+" characters for this text field."); myTextArea.value = myTextArea.value.substring(0, charCount); charsRemainingLabel.innerHTML = "0 characters remaining"; } else if (charsLeft == 1) { charsRemainingLabel.innerHTML = charsLeft + " character remaining"; } else { charsRemainingLabel.innerHTML = charsLeft + " characters remaining"; } } Just wondering why this is happening and how I can fix it

Posted On: Wednesday 7th of November 2012 10:44:48 AM Total Views:  345
View Complete with Replies