/    Sign up×
Community /Pin to ProfileBookmark

Cursor wrong placement in IE


Would you please try the following in IE:

[CODE]<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”
<script src=”http://code.jquery.com/jquery-latest.js”></script>
<script type=”text/javascript” src=”http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js”></script>
<style type=”text/css”>
* { font-family: Verdana; font-size: 96%; }
label { width: 10em; float: left; }
label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }
p { clear: both; }
.submit { margin-left: 12em; }
em { font-weight: bold; padding-right: 1em; vertical-align: top; }
if( this.value == this.defaultValue ) {


<form class=”cmxform” id=”commentForm” method=”get” action=””>
<legend>A simple comment form with submit validation and default messages</legend>
<input id=”cname” name=”name” size=”25″ class=”required” value=”Name” />
<input id=”cemail” name=”email” size=”25″ class=”required email” value=”Email” />
<input id=”curl” name=”url” size=”25″ class=”url” value=”URL” />
<textarea id=”ccomment” name=”comment” cols=”22″ class=”required”>Comment</textarea>
<input class=”submit” type=”submit” value=”Submit”/>

As you see the cursor goes back to the beginning of the field if you focus on the URL field. It works with no problem in other browsers. How can it be corrected?

Thanks for any help!

to post a comment

0Be the first to comment 😎



Help @Rain_Lover spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 11.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ

legal: ({
terms: of use,
privacy: policy
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
recent_tips: (
tipper: @bahaedd,
tipped: article
amount: 1000 SATS,

tipper: @Balmasexy,
tipped: article
amount: 1000 SATS,

tipper: @mbsaad,
tipped: article
amount: 1000 SATS,