unexplained alignment of textbox ??

J

jobs

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_ContentPlaceHolder1_DateFilter','calendar_window','width=180,height=150,left=550,top=300');calendar_window.focus()">
<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;">
 
R

raghav

Hi
Alignment will be a problem in ASP.NET 2.0. U have to place controls
inside table for proper alignment
--Raghav
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top