Solved

Caret / Cursor appears above textfields

Posted on 2012-03-29
3
288 Views
Last Modified: 2012-04-02
On our site http://bit.ly/H1lqCy the cursor/caret appears above and to the left of the text field (and text areas). This only occurs in Internet Explorer (tested in IE8).
When text is typed it displays correctly in the textfield.
Any help is much appreciated.
0
Comment
Question by:peroski
  • 2
3 Comments
 
LVL 30

Expert Comment

by:LZ1
ID: 37786983
I don't see anything in the CSS that would do that.  However, you do have a webform.js call.  Try disabling that.  

If that doesn't work, then let's start disabling each script 1 by 1 to see if it's a JS thing.
0
 

Author Comment

by:peroski
ID: 37792087
Thanks LZ1 - I disabled Javascript but the issue was still there. I then deleted all the css and it went away (along with all my styles) I started deleting chunks of css and narrowed it down to this

#main-content {
      filter:
      progid:DXImageTransform.Microsoft.Shadow(color='#B9B9B9', Direction=45, Strength=6)
      progid:DXImageTransform.Microsoft.Shadow(color='#B9B9B9', Direction=315, Strength=6);

If I delete the filter the text fields appear correctly however the shadows disappear and the major problem is that Firefox and Chrome break completely!
0
 
LVL 30

Accepted Solution

by:
LZ1 earned 500 total points
ID: 37796063
I'm not sure why, but it seems that the filter is what's misaligning the cursor.  And unfortunately I don't know what you should do to try and fix it. The only thing I would suggest is to make the shadow a background image from Photoshop or something and apply it that way. Generally you'd want to do that anyways.

If I removed the filters from the #sidebar-right .block it worked fine in all browsers.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question