473,409 Members | 1,935 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,409 software developers and data experts.

unexplained alignment of textbox ??

I have a content page with a bunch of controls. They are not under a
table. I add textboxes and they are won't align left justified like
other controls. In Designer they all seem left justified. I look at the
html rendered and can't explain this alignment ??? I'm running asp.net
2.0 and I.E. 6.0.
the control in question is : ctl00$ContentPlaceHolder1$DateFilter

snip..

<option selected="selected" value="AFG">AFG - US-&gt;AFG

</option>

</select>
<input type="submit"
name="ctl00$ContentPlaceHolder1$NewButton" value="New Route"
id="ctl00_ContentPlaceHolder1_NewButton"
style="color:White;background-color:#587E9C;border-color:#999999;" />

<br />
<br />
<input name="ctl00$ContentPlaceHolder1$DateFilter"
type="text" value="11/20/2006"
id="ctl00_ContentPlaceHolder1_DateFilter" />
<a
href="javascript:calendar_window=window.open('../tools/Calendar.aspx?formname=aspnetForm.ctl00_ContentPla ceHolder1_DateFilter','calendar_window','width=180 ,height=150,left=550,top=300');calendar_window.foc us()">
<img
src="../App_Themes/WinXP_Silver/Images/datepicker.gif" alt="Select
Date" /></a>
<input type="submit"
name="ctl00$ContentPlaceHolder1$SelectDates" value="Filter Dates"
id="ctl00_ContentPlaceHolder1_SelectDates"
style="color:White;background-color:#587E9C;border-color:#999999;" />
<br />
<br />
</div>
<!--
-->
<div id="ctl00_ContentPlaceHolder1_ResultPanel"
style="width:700px;">

Nov 15 '06 #1
1 1570
Hi
Alignment will be a problem in ASP.NET 2.0. U have to place controls
inside table for proper alignment
--Raghav
jobs wrote:
I have a content page with a bunch of controls. They are not under a
table. I add textboxes and they are won't align left justified like
other controls. In Designer they all seem left justified. I look at the
html rendered and can't explain this alignment ??? I'm running asp.net
2.0 and I.E. 6.0.
the control in question is : ctl00$ContentPlaceHolder1$DateFilter

snip..

<option selected="selected" value="AFG">AFG - US-&gt;AFG

</option>

</select>
<input type="submit"
name="ctl00$ContentPlaceHolder1$NewButton" value="New Route"
id="ctl00_ContentPlaceHolder1_NewButton"
style="color:White;background-color:#587E9C;border-color:#999999;" />

<br />
<br />
<input name="ctl00$ContentPlaceHolder1$DateFilter"
type="text" value="11/20/2006"
id="ctl00_ContentPlaceHolder1_DateFilter" />
<a
href="javascript:calendar_window=window.open('../tools/Calendar.aspx?formname=aspnetForm.ctl00_ContentPla ceHolder1_DateFilter','calendar_window','width=180 ,height=150,left=550,top=300');calendar_window.foc us()">
<img
src="../App_Themes/WinXP_Silver/Images/datepicker.gif" alt="Select
Date" /></a>
<input type="submit"
name="ctl00$ContentPlaceHolder1$SelectDates" value="Filter Dates"
id="ctl00_ContentPlaceHolder1_SelectDates"
style="color:White;background-color:#587E9C;border-color:#999999;" />
<br />
<br />
</div>
<!--
-->
<div id="ctl00_ContentPlaceHolder1_ResultPanel"
style="width:700px;">
Nov 16 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: JIM.H. | last post by:
how do you do Alignment in a textbox?
2
by: John Smith | last post by:
Hi all; Putting "Due" into the column header of a datagrid. Font is a proportional fort. When the alignment is left, there is some space between the column separator bar and the D in Due....
3
by: Simon Abolnar | last post by:
Is it possible to align headers and text in different way. Because with: dgts.GridColumnStyles(0).Alignment = HorizontalAlignment.Center alignment is set for all column (header and text). ...
2
by: Boni | last post by:
Dear all, on my form I have 2 textboxes: Name FilePath Near the textbox FilePath there is a browse button and textbox itself is readonly. So first user presses Browse and selects path, then...
7
by: Earl | last post by:
Any known fixes for the wacky right-alignment bug in the WinForms datagrid (VS2003)? I've tried Ken's workaround...
7
by: Doug Bell | last post by:
Hi Does anyone know (or point me where I can find) how to set the alignment of a DataGrid Column Header different to the alignment of the column. I am trying to show some Right aligned columns...
4
by: Nina | last post by:
Hi everyone, I try to a display a .txt file in window's textbox or rich textbox. The text file has contents line by line aligned perfectly when using NotePad to view and print it. But when I...
6
by: rn5a | last post by:
When the EditCommandColumn in a DataGrid is clicked, all the BoundColumns get replaced by TextBoxes so that users can alter the data. By default, the Text in the TextBoxes are left-aligned. Is...
2
by: priyadarshi123 | last post by:
Hi I am Priyadarshi I am facing some problem in alignment of textbox inside <TD>.These are not aligning properly.And when i am making the textbox as multilineand icrease the height of...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.