IE8 Horizontal Cursor lost when HorizontalAlign is Right

13 replies. Last post: September 29, 2010 11:18 PM by Glenn Layaar
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

When I set the TextBoxStyle-Normal-HorizontalAlign="Right", I can not see the Cursor when focus is put to the control and nothing is in the Textbox or the Cursor is positioned all the way to the right.  It seems it is under the border.

I can see it with FireFox, Chrome and Safari.

Is there a way to add more spacing between the TextBox and the Border to reveal the Cursor?

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="_Test_InterSoft_WebInput_Default3" %>

<%@ Register Assembly="ISNet.WebUI.WebInput" Namespace="ISNet.WebUI.WebControls" TagPrefix="ISWebInput" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title></title>
</head>
<body>
	<form id="form1" runat="server">
	<div>

		<ISWebInput:WebInput
			ID="WebInput1"
			runat="server"
			MaxLength="5"
			Width="40px"
			NumericInput="True"
		>
			<CultureInfo CultureName="en-US"></CultureInfo>
			<DisplayFormat
				ErrorMessage="Enter a Valid Quantity"
				ErrorText="Enter a Valid Quantity"
				IsEnabled="True"
				Type="Number"
				Format="#,###.0"
			>
			</DisplayFormat>
			<TextBoxStyle>
				<Normal
					Font-Names="Times New Roman"
					Font-Size="10pt"
					HorizontalAlign="Right"
				>
				</Normal>
				<Over BaseStyle="Normal" />
				<Active BaseStyle="Normal" >
				</Active>
			</TextBoxStyle>
		</ISWebInput:WebInput>

	</div>
	</form>
</body>
</html>
All times are GMT -5. The time now is 4:35 AM.
Previous Next