Solved

Caret / Cursor appears above textfields

Posted on 2012-03-29
3
287 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
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.
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

813 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now