Web Page Positioning

G

GaryDean

In my old 1.1 apps the default was MS_POSITIONING="GridLayout" and Textboxes
and labels and such always had POSITION: absolute;
and I never had any distortion when the page was rendered. Life was good.

now in 2.0 I'm using the default placeholder and putting a table in the
placeholder and putting controls in the cells in the table. "the way it is
supposed to be done"

I have a textbox in a table that is defined as follows...
<td style="width: 400px; height: 15px">
<asp:TextBox ID="txtTemplateStations" runat="server" Width="390px"
TextMode="MultiLine" Height="50px" TabIndex="6"></asp:TextBox></td>

But when it renders it has been changed as follows...
<textarea name="ctl00$_ContentPlaceHolder$txtTemplateStations" rows="2"
cols="20" id="ctl00__ContentPlaceHolder_txtTemplateStations" tabindex="6"
class="text" style="height:50px;width:200px;"></textarea></td>

As you can see the width has been [arbitrarly] changed from 390 to 200.

This is happening to all of my textboxes making the page look really bad.
I've tried putting divs in to force the table columns to stay wide but
nothing has worked so far. The table column stays at 400 but the textboxes
in side the colums all get set to 200 regardless of their design-time
specified length.

Is there anyway to keep textboxes, etc, the same size as I specify or am I
going to have to go back to MS_POSITIONING="GridLayout"?

Regards,
Gary
 
W

Walter Wang [MSFT]

Hi Gary,

Thank you for your post.

After reviewing your post about the issue, I'm not clear about some points.
What do you mean "using the default placeholder"? Does that mean use a
PlaceHolder control or use the default webform content?

I've done some test using your code snippet and the html page renders
correctly with "height:50px;width:390px". Could you please posting a repro
project with the webform that has this issue? Thank you for your effort on
this. I'm looing forward to your reply.

Regards,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
G

GaryDean

ok, I didn't mean to throw you off by mentioning placeholder - all 2.0 aspx
pages begin with...
<asp:Content ID="_ContentCompetitorSpend" runat="Server"
ContentPlaceHolderID="_ContentPlaceHolder">
so never mind the placeholder thing...

If you go back and read my original message you will see that I defined a
textbox to be 390 pixels wide.

It got rendered as 200 pixels wide.

My textbox width got changed from 390 to 200. all of my other textboxes
also got changed to 200. some of them were only 50 pixels wide.

I'm trying to ask why it got changed.

I don't think I'm supposed to have attachements on this forum so I am
pasting below first the aspx html and then the same page as it's rendered.
You will notice that the page has been badly disfigured.

Hopefully you can make sense of this and tell my why my page is being
distorted.
--
Regards,
Gary Blakely

the html.....................................................
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" StylesheetTheme="TargetTheme"
Theme="TargetTheme" CodeFile="ReportTraffic.aspx.cs"
Inherits="ReportTraffic" Title="Traffic Report" %>

<asp:Content ID="Content1" ContentPlaceHolderID="_ContentPlaceHolder"
Runat="Server">
<asp:Label ID="lblError" runat="server" Width="550px"
ForeColor="Red"></asp:Label>
<table class="TopLevelLabel">
<tr>
<td class="TopLevelLabel">
Traffic Report Selection</td>
</tr>
</table>
<table>
<tr>
<td style="width: 150px; height: 7px">
Traffic Report Type</td>
<td style="width: 400px; height: 7px">
<asp:RadioButtonList ID="rblTCR" runat="server"
RepeatDirection="Horizontal" TabIndex="1">
<asp:ListItem Selected="True">T</asp:ListItem>
<asp:ListItem>C</asp:ListItem>
<asp:ListItem>R</asp:ListItem>
</asp:RadioButtonList></td>
<td style="width: 100px; height: 15px">
<asp:Button ID="btnPrintOldReport" runat="server"
Text="Select Existing Report" Width="100px"
OnClick="btnPrintOldReport_Click" TabIndex="14" /></td>

</tr>
<tr>
<td style="width: 150px; height: 15px">
Advertiser (optional)</td>
<td style="width: 400px; height: 15px">
<asp:DropDownList ID="ddlAdvertisers" runat="server"
AutoPostBack="True"
OnSelectedIndexChanged="ddlAdvertisers_SelectedIndexChanged"
ToolTip="Selection here will constrain the Campaign selection below"
TabIndex="2">
</asp:DropDownList></td>
<td style="width: 100px; height: 15px">
</td>

</tr>
<tr>
<td style="width: 150px; height: 15px">
Campaign</td>
<td style="width: 400px; height: 15px">
<asp:DropDownList ID="ddlCampaigns" runat="server"
OnSelectedIndexChanged="ddlCampaigns_SelectedIndexChanged"
AutoPostBack="True" TabIndex="3">
</asp:DropDownList></td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
Campaign Budget Plan</td>
<td style="width: 400px; height: 15px">
<asp:DropDownList ID="ddlCamVersion" runat="server"
TabIndex="4" AutoPostBack="True"
OnSelectedIndexChanged="ddlCamVersion_SelectedIndexChanged">
</asp:DropDownList></td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
Campaign Version Week</td>
<td style="width: 400px; height: 15px">
<asp:DropDownList ID="ddlCVWeek" runat="server"
AutoPostBack="True" OnSelectedIndexChanged="ddlCVWeek_SelectedIndexChanged"
Width="390px">
</asp:DropDownList></td>
<td style="width: 100px; height: 15px"></td>
</tr>

<tr>
<td style="width: 150px; height: 15px">
</td>
<td style="width: 400px; height: 15px">
Template Stations . . .</td>
<td style="width: 100px; height: 15px">
</td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
Modify Stations.. .</td>
<td style="width: 400px; height: 15px">
<asp:TextBox ID="txtTemplateStations" runat="server"
Width="390px" TextMode="MultiLine" Height="50px"
TabIndex="6"></asp:TextBox></td>
<td style="width: 100px; height: 15px">
</td>
</tr>
<tr>
<td style="width: 150px; height: 15px" valign="middle">
Modify Titles . . .</td>
<td style="width: 400px; height: 15px">
&nbsp;Title &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;&nbsp;
Tape No &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; Rotation &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;
Location&nbsp;
<div style="width: 400px; height: 100px" id="DIVTITLES">
<asp:TextBox ID="txtTitle" runat="server" Width="150px"
Height="75px" TextMode="MultiLine" TabIndex="7"></asp:TextBox>
<asp:TextBox ID="txtTapeNo" runat="server" Height="75px"
TextMode="MultiLine" Width="60px" TabIndex="8"></asp:TextBox>
<asp:TextBox ID="txtRotation" runat="server"
Height="75px" TextMode="MultiLine" Width="60px" TabIndex="9"></asp:TextBox>
<asp:TextBox ID="txtLocation" runat="server"
Height="75px" TextMode="MultiLine" Width="93px"></asp:TextBox></div>
</td>
<td style="width: 100px; height: 15px">
</td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
Scheduled End date . . .</td>
<td style="width: 400px; height: 15px">
<asp:TextBox ID="txtEndDate" runat="server" Width="390px"
TabIndex="10">Until Further Notice</asp:TextBox></td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
Additional Instructions . . .</td>
<td style="width: 400px; height: 15px">
<asp:TextBox ID="txtAddlInst" runat="server" Height="75px"
TabIndex="11" TextMode="MultiLine"
Width="390px"></asp:TextBox></td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
Special Instructions . . .</td>
<td style="width: 400px; height: 15px">
<asp:TextBox ID="txtSpecialInst" runat="server"
Height="75px" TabIndex="12" TextMode="MultiLine"
Width="390px"></asp:TextBox></td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
</td>
<td style="width: 400px; height: 15px">
</td>
<td style="width: 100px; height: 15px"></td>
</tr>

<tr>
<td style="width: 150px; height: 15px">
<asp:Button ID="btnPrintNewReport" runat="server"
Text="Print New Report" Width="149px" OnClick="btnPrintNewReport_Click"
TabIndex="13" Enabled="False" /></td>
<td style="width: 120px; height: 15px">
</td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
</td>
<td style="width: 400px; height: 15px">
</td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
</td>
<td style="width: 400px; height: 15px">
</td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
</td>
<td style="width: 400px; height: 15px">
</td>
<td style="width: 100px; height: 15px"></td>
</tr>
</table>

</asp:Content>

Now the page as
rendered..............................................................

<!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 id="ctl00_Head1"><link href="App_Themes/TargetTheme/Target.css"
type="text/css" rel="stylesheet" /><title>
Traffic Report
</title><link href="App_Themes/TargetTheme/Target.css" type="text/css"
rel="stylesheet" /><style type="text/css">
.ctl00__TreeViewSiteMap_0 { text-decoration:none; }
.ctl00__TreeViewSiteMap_1 { border-width:0px;height:12px;padding:0px 0px
0px 0px; }
.ctl00__TreeViewSiteMap_2 { padding:0px 0px 0px 0px; }
.ctl00__TreeViewSiteMap_3 { padding:0px 0px 0px 0px; }

</style></head>
<body id="ctl00_Body1">
<form name="aspnetForm" method="post" action="ReportTraffic.aspx"
id="aspnetForm">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="ctl00__TreeViewSiteMap_ExpandState"
id="ctl00__TreeViewSiteMap_ExpandState" value="eccc" />
<input type="hidden" name="ctl00__TreeViewSiteMap_SelectedNode"
id="ctl00__TreeViewSiteMap_SelectedNode" value="" />
<input type="hidden" name="ctl00__TreeViewSiteMap_PopulateLog"
id="ctl00__TreeViewSiteMap_PopulateLog" value="" />
<input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
value="/wEPDwULLTE2ODc3MzA3ODgPZBYCZg9kFgICAw9kFgICAQ9kFgQCBw88KwAJAgAPFggeDFNlbGVjdGVkTm9kZWQeDU5ldmVyRXhwYW5kZWRkHgtfIURhdGFCb3VuZGceCUxhc3RJbmRleAIEZAgUKwACBQMwOjAUKwACFhAeBFRleHQFCUhvbWUgUGFnZR4FVmFsdWUFCUhvbWUgUGFnZR4LTmF2aWdhdGVVcmwFIC9DYW1wYWlnbk1hbmFnZW1lbnQvRGVmYXVsdC5hc3B4HghEYXRhUGF0aAUgL2NhbXBhaWdubWFuYWdlbWVudC9kZWZhdWx0LmFzcHgeCURhdGFCb3VuZGceEFBvcHVsYXRlT25EZW1hbmRoHghFeHBhbmRlZGceCVBvcHVsYXRlZGcUKwAEBQswOjAsMDoxLDA6MhQrAAIWEB8EBQ5BZG1pbmlzdHJhdGlvbh8FBQ5BZG1pbmlzdHJhdGlvbh4HVG9vbFRpcAVBQWxsb3dzIGZvciBjb25maWd1cmF0aW9uIGFuZCBhZG1pbmlzdHJhdGlvbiBvZiB0aGUgc2l0ZSBhbmQgdXNlcnMeDFNlbGVjdEFjdGlvbgsqLlN5c3RlbS5XZWIuVUkuV2ViQ29udHJvbHMuVHJlZU5vZGVTZWxlY3RBY3Rpb24DHwcFJGZkZDBmZmJkLTkxOTItNDU0Yy04MjU3LWUwZGI4ZmJhMTk3Zh8IZx8JZx8KaGQUKwACFhAfBAUPQnVkZ2V0IFBsYW5uaW5nHwUFD0J1ZGdldCBQbGFubmluZx8MBRxCdWRnZXQgVHJhY2tpbmcgYW5kIFBsYW5uaW5nHw0LKwQDHwcFJGU0MjM4ZWIwLTdhZTAtNDQ5MC04ZjQzLWI5Nzk3Y2UwYWI4ZR8IZx8JZx8KaGQUKwACFhAfBAUJUmVwb3J0aW5nHwUFCVJlcG9ydGluZx8MBRFSZXBvcnQgR2VuZXJhdGlvbh8NCysEAx8HBSQxM2U5MWE4My00ZjU3LTQwNzItYjU0Yy0yNTllMzQyYjllMjMfCGcfCWcfCmhkZAIJD2QWDAIBDw8WAh8EZWRkAgcPEA8WBh4ORGF0YVZhbHVlRmllbGQFDGFkdmVydGlzZXJJRB4NRGF0YVRleHRGaWVsZAUOYWR2ZXJ0aXNlck5hbWUfAmdkEBUCF1NlbGVjdCBBZHZlcnRpc2VyIC4gLiAuA0lhbhUCF1NlbGVjdCBBZHZlcnRpc2VyIC4gLiAuATMUKwMCZ2cWAWZkAgkPEA8WBh8OBQpjYW1wYWlnbklEHw8FDGNhbXBhaWduTmFtZR8CZ2QQFQQVU2VsZWN0IENhbXBhaWduIC4gLiAuGUFjdGl2ZSBQb2xpdGljYWwgQ2FtcGFpZ24dQWN0aXZlIE5vbi1Qb2xpdGljYWwgQ2FtcGFpZ24LSWFuIGluIDIwMDYVBBVTZWxlY3QgQ2FtcGFpZ24gLiAuIC4BMQEyATQUKwMEZ2dnZxYBAgNkAgsPEA8WAh8OBRFDYW1wYWlnblZlcnNpb25JRGQQFQoeTm93IFNlbGVjdCBhIEJ1ZGdldCBQbGFuIC4gLiAuCUlBTjAxLTAwNAlJQU4wMS0wMDUJSUFOMDEtMDA2CUlBTjAxLTAwNwlJQU4wMS0wMDgJSUFOMDEtMDA5CUlBTjAxLTAxMAlJQU4wMS0wMTEJSUFOMDEtMDEyFQoeTm93IFNlbGVjdCBhIEJ1ZGdldCBQbGFuIC4gLiAuATQBNQE2ATcBOAE5AjEwAjExAjEyFCsDCmdnZ2dnZ2dnZ2cWAQIBZAINDxAPFgYfDgUIbWFya2V0SUQfDwUJc3RhcnREYXRlHwJnZBAVAxNOb3cgU2VsZWN0IFdlZWsgLiAuFTcvMTcvMjAwNiAxMjowMDowMCBBTRU3LzI0LzIwMDYgMTI6MDA6MDAgQU0VAxNOb3cgU2VsZWN0IFdlZWsgLiAuATEBMRQrAwNnZ2cWAQIBZAIfDw8WAh4HRW5hYmxlZGdkZBgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAwUYY3RsMDAkX0xvZ2luU3RhdHVzJGN0bDAxBRhjdGwwMCRfTG9naW5TdGF0dXMkY3RsMDMFFmN0bDAwJF9UcmVlVmlld1NpdGVNYXBWYGZkLzJqnvfLg3EELvzZPRLoXQ=="
/>
</div>

<script type="text/javascript">
<!--
var theForm = document.forms['aspnetForm'];
if (!theForm) {
theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
// -->
</script>


<script
src="/CampaignManagement/WebResource.axd?d=fHxiSWxkixCYVbn0Qge0gA2&amp;t=632822721245781250"
type="text/javascript"></script>


<script
src="/CampaignManagement/WebResource.axd?d=5vieOirVRSsN30yjhpsaGw2&amp;t=632822721245781250"
type="text/javascript"></script>
<script>
<!--
function TreeView_PopulateNodeDoCallBack(context,param) {
WebForm_DoCallback(context.data.treeViewID,param,TreeView_ProcessNodeData,context,TreeView_ProcessNodeData,false);
}
// -->
</script>


<div>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0"
style="background-color: white; min-height: 600px;" width="80%">
<tr>
<td colspan="2">
<img alt="Target Enterprises"
height="85px" src="/CampaignManagement/Images/TargetLogo.jpg" />
</td>
</tr>
<tr style="height: 12px; background-image:
url(/CampaignManagement/App_Themes/TargetTheme/bg-topnav.gif);">
<td colspan="2">
<table border="0" cellpadding="0"
cellspacing="0" width="100%">
<tr>
<td align="left">
<span
id="ctl00__SiteMapPath"><a href="#ctl00__SiteMapPath_SkipLink"><img
alt="Skip Navigation Links" height="0" width="0"
src="/CampaignManagement/WebResource.axd?d=HMY6zvKw9gDyNp4jsbi_0Q2&amp;t=632822721245781250"
style="border-width:0px;" /></a><span><a
href="/CampaignManagement/Default.aspx"
style="color:Black;font-weight:bold;text-decoration:none;">Home
Page</a></span><span> &gt; </span><span><a title="Report Generation"
style="color:DarkGray;font-weight:bold;text-decoration:none;">Reporting</a></span><span>
&gt; </span><span
style="color:DarkGray;font-weight:bold;text-decoration:none;">Traffic
Report</span><a id="ctl00__SiteMapPath_SkipLink"></a></span>
</td>
<td align="right">
<a id="ctl00__LoginStatus"
href="javascript:__doPostBack('ctl00$_LoginStatus$ctl00','')"
style="text-decoration:none;">Logout</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="content-left" align="left"
style="border-right-style: solid; border-right-color: black;
width: 150px; background-color:
gainsboro;" valign="top">
<a
href="#ctl00__TreeViewSiteMap_SkipLink"><img alt="Skip Navigation Links."
src="/CampaignManagement/WebResource.axd?d=HMY6zvKw9gDyNp4jsbi_0Q2&amp;t=632822721245781250"
width="0" height="0" style="border-width:0px;" /></a><div
id="ctl00__TreeViewSiteMap" class="#mainnav-container" style="width:150px;">
<table cellpadding="0" cellspacing="0" style="border-width:0;">
<tr>
<td><a id="ctl00__TreeViewSiteMapn0"
href="javascript:TreeView_ToggleNode(ctl00__TreeViewSiteMap_Data,0,ctl00__TreeViewSiteMapn0,'-',ctl00__TreeViewSiteMapn0Nodes)"><img
src="/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DAxiL1mw2bymmRsXVb4xT-tXuVGUjKr2sGzpkBiEDwgi0&amp;t=632822721245781250"
alt="Collapse Home Page" style="border-width:0;" /></a></td><td
class="ctl00__TreeViewSiteMap_1 ctl00__TreeViewSiteMap_2"
style="white-space:nowrap;"><a class="ctl00__TreeViewSiteMap_0"
href="/CampaignManagement/Default.aspx" id="ctl00__TreeViewSiteMapt0">Home
Page</a></td>
</tr><tr style="height:0px;">
<td></td>
</tr>
</table><div id="ctl00__TreeViewSiteMapn0Nodes" style="display:block;">
<table height="0px">
<tr>
<td></td>
</tr>
</table><table cellpadding="0" cellspacing="0" style="border-width:0;">
<tr style="height:0px;">
<td></td>
</tr><tr>
<td><div style="width:20px;height:1px"></div></td><td><a
id="ctl00__TreeViewSiteMapn1"
href="javascript:TreeView_PopulateNode(ctl00__TreeViewSiteMap_Data,1,ctl00__TreeViewSiteMapn1,ctl00__TreeViewSiteMapt1,null,'t','Administration','Home
Page\\Administration','t','fdd0ffbd-9192-454c-8257-e0db8fba197f','tf')"><img
src="/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DDqdUM4LLJcQyytgzbsiP6s1&amp;t=632822721245781250"
alt="Expand Administration" style="border-width:0;" /></a></td><td
class="ctl00__TreeViewSiteMap_1 ctl00__TreeViewSiteMap_3"
style="white-space:nowrap;"><span class="ctl00__TreeViewSiteMap_0"
title="Allows for configuration and administration of the site and users"
id="ctl00__TreeViewSiteMapt1">Administration</span></td>
</tr><tr style="height:0px;">
<td></td>
</tr>
</table><table cellpadding="0" cellspacing="0" style="border-width:0;">
<tr style="height:0px;">
<td></td>
</tr><tr>
<td><div style="width:20px;height:1px"></div></td><td><a
id="ctl00__TreeViewSiteMapn2"
href="javascript:TreeView_PopulateNode(ctl00__TreeViewSiteMap_Data,2,ctl00__TreeViewSiteMapn2,ctl00__TreeViewSiteMapt2,null,'t','Budget
Planning','Home Page\\Budget
Planning','t','e4238eb0-7ae0-4490-8f43-b9797ce0ab8e','tf')"><img
src="/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DDqdUM4LLJcQyytgzbsiP6s1&amp;t=632822721245781250"
alt="Expand Budget Planning" style="border-width:0;" /></a></td><td
class="ctl00__TreeViewSiteMap_1 ctl00__TreeViewSiteMap_3"
style="white-space:nowrap;"><span class="ctl00__TreeViewSiteMap_0"
title="Budget Tracking and Planning" id="ctl00__TreeViewSiteMapt2">Budget
Planning</span></td>
</tr><tr style="height:0px;">
<td></td>
</tr>
</table><table cellpadding="0" cellspacing="0" style="border-width:0;">
<tr style="height:0px;">
<td></td>
</tr><tr>
<td><div style="width:20px;height:1px"></div></td><td><a
id="ctl00__TreeViewSiteMapn3"
href="javascript:TreeView_PopulateNode(ctl00__TreeViewSiteMap_Data,3,ctl00__TreeViewSiteMapn3,ctl00__TreeViewSiteMapt3,null,'l','Reporting','Home
Page\\Reporting','t','13e91a83-4f57-4072-b54c-259e342b9e23','tt')"><img
src="/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DCtVGVWWYQ54GBfoXELVNXQ1&amp;t=632822721245781250"
alt="Expand Reporting" style="border-width:0;" /></a></td><td
class="ctl00__TreeViewSiteMap_1 ctl00__TreeViewSiteMap_3"
style="white-space:nowrap;"><span class="ctl00__TreeViewSiteMap_0"
title="Report Generation"
id="ctl00__TreeViewSiteMapt3">Reporting</span></td>
</tr><tr style="height:0px;">
<td></td>
</tr>
</table>
</div>
</div><a id="ctl00__TreeViewSiteMap_SkipLink"></a>
</td>
<td align="left" style="min-height: 600px;
height: 600px;padding-left: 5px;"
valign="top">

<span id="ctl00__ContentPlaceHolder_lblError" class="Label"
style="display:inline-block;color:Red;width:550px;"></span>
<table class="TopLevelLabel">
<tr>
<td class="TopLevelLabel">
Traffic Report Selection</td>
</tr>
</table>
<table>
<tr>
<td style="width: 150px; height: 7px">
Traffic Report Type</td>
<td style="width: 400px; height: 7px">
<table id="ctl00__ContentPlaceHolder_rblTCR" border="0">
<tr>
<td><input id="ctl00__ContentPlaceHolder_rblTCR_0" type="radio"
name="ctl00$_ContentPlaceHolder$rblTCR" value="T" checked="checked"
tabindex="1" /><label
for="ctl00__ContentPlaceHolder_rblTCR_0">T</label></td><td><input
id="ctl00__ContentPlaceHolder_rblTCR_1" type="radio"
name="ctl00$_ContentPlaceHolder$rblTCR" value="C" tabindex="1" /><label
for="ctl00__ContentPlaceHolder_rblTCR_1">C</label></td><td><input
id="ctl00__ContentPlaceHolder_rblTCR_2" type="radio"
name="ctl00$_ContentPlaceHolder$rblTCR" value="R" tabindex="1" /><label
for="ctl00__ContentPlaceHolder_rblTCR_2">R</label></td>
</tr>
</table></td>
<td style="width: 100px; height: 15px">
<input type="submit"
name="ctl00$_ContentPlaceHolder$btnPrintOldReport" value="Select Existing
Report" id="ctl00__ContentPlaceHolder_btnPrintOldReport" tabindex="14"
class="button-search" style="width:100px;" /></td>

</tr>
<tr>
<td style="width: 150px; height: 15px">
Advertiser (optional)</td>
<td style="width: 400px; height: 15px">
<select name="ctl00$_ContentPlaceHolder$ddlAdvertisers"
onchange="javascript:setTimeout('__doPostBack(\'ctl00$_ContentPlaceHolder$ddlAdvertisers\',\'\')',
0)" id="ctl00__ContentPlaceHolder_ddlAdvertisers" tabindex="2"
title="Selection here will constrain the Campaign selection below"
class="select" style="width:205px;">
<option selected="selected" value="Select Advertiser . . .">Select
Advertiser . . .</option>
<option value="3">Ian</option>

</select></td>
<td style="width: 100px; height: 15px">
</td>

</tr>
<tr>
<td style="width: 150px; height: 15px">
Campaign</td>
<td style="width: 400px; height: 15px">
<select name="ctl00$_ContentPlaceHolder$ddlCampaigns"
onchange="javascript:setTimeout('__doPostBack(\'ctl00$_ContentPlaceHolder$ddlCampaigns\',\'\')',
0)" id="ctl00__ContentPlaceHolder_ddlCampaigns" tabindex="3" class="select"
style="width:205px;">
<option value="Select Campaign . . .">Select Campaign . . .</option>
<option value="1">Active Political Campaign</option>
<option value="2">Active Non-Political Campaign</option>
<option selected="selected" value="4">Ian in 2006</option>

</select></td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
Campaign Budget Plan</td>
<td style="width: 400px; height: 15px">
<select name="ctl00$_ContentPlaceHolder$ddlCamVersion"
onchange="javascript:setTimeout('__doPostBack(\'ctl00$_ContentPlaceHolder$ddlCamVersion\',\'\')',
0)" id="ctl00__ContentPlaceHolder_ddlCamVersion" tabindex="4" class="select"
style="width:205px;">
<option value="Now Select a Budget Plan . . .">Now Select a Budget Plan . .
..</option>
<option selected="selected" value="4">IAN01-004</option>
<option value="5">IAN01-005</option>
<option value="6">IAN01-006</option>
<option value="7">IAN01-007</option>
<option value="8">IAN01-008</option>
<option value="9">IAN01-009</option>
<option value="10">IAN01-010</option>
<option value="11">IAN01-011</option>
<option value="12">IAN01-012</option>

</select></td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
Campaign Version Week</td>
<td style="width: 400px; height: 15px">
<select name="ctl00$_ContentPlaceHolder$ddlCVWeek"
onchange="javascript:setTimeout('__doPostBack(\'ctl00$_ContentPlaceHolder$ddlCVWeek\',\'\')',
0)" id="ctl00__ContentPlaceHolder_ddlCVWeek" class="select"
style="width:205px;">
<option value="Now Select Week . .">Now Select Week . .</option>
<option selected="selected" value="1">7/17/2006 12:00:00 AM</option>
<option value="1">7/24/2006 12:00:00 AM</option>

</select></td>
<td style="width: 100px; height: 15px"></td>
</tr>

<tr>
<td style="width: 150px; height: 15px">
</td>
<td style="width: 400px; height: 15px">
Template Stations . . .</td>
<td style="width: 100px; height: 15px">
</td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
Modify Stations.. .</td>
<td style="width: 400px; height: 15px">
<textarea
name="ctl00$_ContentPlaceHolder$txtTemplateStations" rows="2" cols="20"
id="ctl00__ContentPlaceHolder_txtTemplateStations" tabindex="6" class="text"
style="height:50px;width:200px;">KFWB
KTLA
</textarea></td>
<td style="width: 100px; height: 15px">
</td>
</tr>
<tr>
<td style="width: 150px; height: 15px" valign="middle">
Modify Titles . . .</td>
<td style="width: 400px; height: 15px">
&nbsp;Title &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;&nbsp;
Tape No &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; Rotation &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;
Location&nbsp;
<div style="width: 400px; height: 100px" id="DIVTITLES">
<textarea name="ctl00$_ContentPlaceHolder$txtTitle" rows="2"
cols="20" id="ctl00__ContentPlaceHolder_txtTitle" tabindex="7" class="text"
style="height:75px;width:200px;">Arnold For Pres
IANS PRODUCT
Negative Ad One
Positive Ad
</textarea>
<textarea name="ctl00$_ContentPlaceHolder$txtTapeNo"
rows="2" cols="20" id="ctl00__ContentPlaceHolder_txtTapeNo" tabindex="8"
class="text" style="height:75px;width:200px;">0045
0023
1245
7800
</textarea>
<textarea name="ctl00$_ContentPlaceHolder$txtRotation"
rows="2" cols="20" id="ctl00__ContentPlaceHolder_txtRotation" tabindex="9"
class="text" style="height:75px;width:200px;">100.0000
100.0000
99.0000
100.0000
</textarea>
<textarea name="ctl00$_ContentPlaceHolder$txtLocation"
rows="2" cols="20" id="ctl00__ContentPlaceHolder_txtLocation" class="text"
style="height:75px;width:200px;">Burbank
In route
Glendale
Fresno
</textarea></div>
</td>
<td style="width: 100px; height: 15px">
</td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
Scheduled End date . . .</td>
<td style="width: 400px; height: 15px">
<input name="ctl00$_ContentPlaceHolder$txtEndDate"
type="text" value="Until Further Notice"
id="ctl00__ContentPlaceHolder_txtEndDate" tabindex="10" class="text"
style="width:200px;" /></td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
Additional Instructions . . .</td>
<td style="width: 400px; height: 15px">
<textarea name="ctl00$_ContentPlaceHolder$txtAddlInst"
rows="2" cols="20" id="ctl00__ContentPlaceHolder_txtAddlInst" tabindex="11"
class="text" style="height:75px;width:200px;"></textarea></td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
Special Instructions . . .</td>
<td style="width: 400px; height: 15px">
<textarea name="ctl00$_ContentPlaceHolder$txtSpecialInst"
rows="2" cols="20" id="ctl00__ContentPlaceHolder_txtSpecialInst"
tabindex="12" class="text" style="height:75px;width:200px;"></textarea></td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
</td>
<td style="width: 400px; height: 15px">
</td>
<td style="width: 100px; height: 15px"></td>
</tr>

<tr>
<td style="width: 150px; height: 15px">
<input type="submit"
name="ctl00$_ContentPlaceHolder$btnPrintNewReport" value="Print New Report"
id="ctl00__ContentPlaceHolder_btnPrintNewReport" tabindex="13"
class="button-search" style="width:149px;" /></td>
<td style="width: 120px; height: 15px">
</td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
</td>
<td style="width: 400px; height: 15px">
</td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
</td>
<td style="width: 400px; height: 15px">
</td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
</td>
<td style="width: 400px; height: 15px">
</td>
<td style="width: 100px; height: 15px"></td>
</tr>
</table>


</td>
</tr>
<tr style="height: 10px;">
<td colspan="2" style="background-color:
gray; margin: 1px; text-align: center; background-image:
url(/CampaignManagement/App_Themes/TargetTheme/bg-photo-frame.jpg);
height: 8px;">
Target Enterprises<br />
123 Main Street<br />
Los Angeles, CA 92802</td>
</tr>
</table>
</td>
</tr>
</table>
</div>

<script type="text/javascript">
<!--
var ctl00__TreeViewSiteMap_ImageArray = new Array('', '', '',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DBuYw98YEEzKdG76d1SGXD81&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DKxpsyfu50_8ZKZgnpEmHmA1&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DIQZKx_Rz68oljexUhxcpHY1&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DO5wHPhzyPScIomiccHTsWE1&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DITkbrGgtHSjcrKdIADOcz01&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DOtkpiOPgBKuaRxy-knm9LA1&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DEjLHFTONBpD_FGsGdXgQAU0kejRh6zxD4QIeUcjrMcW0&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DA7P4xp9lse8_M4VEHViU101&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DDqdUM4LLJcQyytgzbsiP6s1&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DNC3rDLdG1Qpy3oxLkeFNrpNTTYebCfR4ImmJRJn0OZV0&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DLhPe_vWZ1fjisXT20MTAV81&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DCtVGVWWYQ54GBfoXELVNXQ1&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DEF42BM_B-R1BrGSmAvDlCgeGlnpMyQEP62lhN_txmxo0&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DMDOb1twxH_ha5oZGmfTwv01&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DKurnkyzND37QIVQfMNB45Vq1aS2flGvzZ6Zw_NQzie30&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DAxiL1mw2bymmRsXVb4xT-tXuVGUjKr2sGzpkBiEDwgi0&t=632822721245781250');
// -->
</script>

<div>

<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION"
value="/wEWKgLQ7OpVAqfKt6EKArGNs4EJAqmCzvEEAvDt/boDAufKyd4HAtbKyd4HAuXKyd4HAoul47ALAvfpxeUEAvL+2M0NAuXvzcUNAv+R8qMBAqCd9YsCAv3r5skBAq/y3+UOAq7y3+UOAqzy3+UOAoSz4eIHAseZnpwNAojcy4wLAo/cy4wLAo7cy4wLAo3cy4wLApzcy4wLApPcy4wLAovci48LAovch48LAovcg48LAtvMq5cLArqgopwKAtSjgfkHAtSjgfkHArfi5PoDApCr4O8HAsSunuwPAtXjiIkNAtXj/K4HAsn5lPoEAtj9h58JArjT7PYBAoG7zcgJlD+y0bCK8bXfo5geEShT1TIgJ3A="
/>
</div>

<script type="text/javascript">
<!--

WebForm_InitCallback();var ctl00__TreeViewSiteMap_Data = new Object();
ctl00__TreeViewSiteMap_Data.images = ctl00__TreeViewSiteMap_ImageArray;
ctl00__TreeViewSiteMap_Data.collapseToolTip = "Collapse {0}";
ctl00__TreeViewSiteMap_Data.expandToolTip = "Expand {0}";
ctl00__TreeViewSiteMap_Data.expandState =
theForm.elements['ctl00__TreeViewSiteMap_ExpandState'];
ctl00__TreeViewSiteMap_Data.selectedNodeID =
theForm.elements['ctl00__TreeViewSiteMap_SelectedNode'];
for (var i=0;i<19;i++) {
var preLoad = new Image();
if (ctl00__TreeViewSiteMap_ImageArray.length > 0)
preLoad.src = ctl00__TreeViewSiteMap_ImageArray;
}
ctl00__TreeViewSiteMap_Data.lastIndex = 4;
ctl00__TreeViewSiteMap_Data.populateLog =
theForm.elements['ctl00__TreeViewSiteMap_PopulateLog'];
ctl00__TreeViewSiteMap_Data.treeViewID = 'ctl00$_TreeViewSiteMap';
ctl00__TreeViewSiteMap_Data.name = 'ctl00__TreeViewSiteMap_Data';
// -->
</script>
</form>
</body>
</html>
 
W

Walter Wang [MSFT]

Hi Gary,

Thank you for your update.

I've done some test using your posted source code. Since you didn't provide
the Theme you're using and the master page, so I removed the theme settings
and used a default master page (also removed the event handler codes):

<%@ Master Language="C#" AutoEventWireup="true"
CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>

<!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>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:contentplaceholder id="_ContentPlaceHolder" runat="server">
</asp:contentplaceholder>
</div>
</form>
</body>
</html>

As you also posted in your last post about the generated html code, it has
following:

<td style="width: 400px; height: 15px">
<textarea
name="ctl00$_ContentPlaceHolder$txtTemplateStations" rows="2" cols="20"
id="ctl00__ContentPlaceHolder_txtTemplateStations" tabindex="6"
class="text"
style="height:50px;width:200px;">KFWB
KTLA
</textarea></td>


But my test still shows correct "390px":

<td style="width: 400px; height: 15px">
<textarea
name="ctl00$_ContentPlaceHolder$txtTemplateStations" rows="2" cols="20"
id="ctl00__ContentPlaceHolder_txtTemplateStations" tabindex="6"
style="height:50px;width:390px;"></textarea></td>
<td style="width: 100px; height: 15px">
</td>


So I think it might be related the theme you're using. You can test this by
removing the theme settings first. I'm looking forward to your findings.

By the way, you can send the attachment to me via email if you want. Thanks.




Regards,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
G

GaryDean

Walter,
I moved my html over to a new page that does not use the masterpage
placeholder nor the style sheet. The same thing happens - the layout is
distorted. It doesn't look like the style sheet is causing the distortion.

The page HTML is as
follows..........................................................................
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="RenderReport.aspx.cs" Inherits="RenderReport" %>

<!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>Untitled Page</title>

</head>

<body>

<form id="form1" runat="server">

<asp:Label ID="lblError" runat="server" Width="550px"
ForeColor="Red"></asp:Label>

<table class="TopLevelLabel">

<tr>

<td class="TopLevelLabel">

Traffic Report Selection</td>

</tr>

</table>

<table>

<tr>

<td style="width: 150px; height: 7px">

Traffic Report Type</td>

<td style="width: 400px; height: 7px">

<asp:RadioButtonList ID="rblTCR" runat="server" RepeatDirection="Horizontal"
TabIndex="1">

<asp:ListItem Selected="True">T</asp:ListItem>

<asp:ListItem>C</asp:ListItem>

<asp:ListItem>R</asp:ListItem>

</asp:RadioButtonList></td>

<td style="width: 100px; height: 15px">

<asp:Button ID="btnPrintOldReport" runat="server" Text="Select Existing
Report" Width="100px" TabIndex="14" /></td>

</tr>

<tr>

<td style="width: 150px; height: 15px">

Advertiser (optional)</td>

<td style="width: 400px; height: 15px">

<asp:DropDownList ID="ddlAdvertisers" runat="server" AutoPostBack="True"
ToolTip="Selection here will constrain the Campaign selection below"
TabIndex="2">

</asp:DropDownList></td>

<td style="width: 100px; height: 15px">

</td>

</tr>

<tr>

<td style="width: 150px; height: 15px">

Campaign</td>

<td style="width: 400px; height: 15px">

<asp:DropDownList ID="ddlCampaigns" runat="server" AutoPostBack="True"
TabIndex="3">

</asp:DropDownList></td>

<td style="width: 100px; height: 15px"></td>

</tr>

<tr>

<td style="width: 150px; height: 15px">

Campaign Budget Plan</td>

<td style="width: 400px; height: 15px">

<asp:DropDownList ID="ddlCamVersion" runat="server" TabIndex="4"
AutoPostBack="True" >

</asp:DropDownList></td>

<td style="width: 100px; height: 15px"></td>

</tr>

<tr>

<td style="width: 150px; height: 15px">

Campaign Version Week</td>

<td style="width: 400px; height: 15px">

<asp:DropDownList ID="ddlCVWeek" runat="server" AutoPostBack="True"
Width="390px">

</asp:DropDownList></td>

<td style="width: 100px; height: 15px"></td>

</tr>

<tr>

<td style="width: 150px; height: 15px">

</td>

<td style="width: 400px; height: 15px">

Template Stations . . .</td>

<td style="width: 100px; height: 15px">

</td>

</tr>

<tr>

<td style="width: 150px; height: 15px">

Modify Stations.. .</td>

<td style="width: 400px; height: 15px">

<asp:TextBox ID="txtTemplateStations" runat="server" Width="390px"
TextMode="MultiLine" Height="50px" TabIndex="6"></asp:TextBox></td>

<td style="width: 100px; height: 15px">

</td>

</tr>

<tr>

<td style="width: 150px; height: 15px" valign="middle">

Modify Titles . . .</td>

<td style="width: 400px; height: 15px">

&nbsp;Title &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;&nbsp;

Tape No &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; Rotation &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;

Location&nbsp;

<div style="width: 400px; height: 100px" id="DIVTITLES">

<asp:TextBox ID="txtTitle" runat="server" Width="150px" Height="75px"
TextMode="MultiLine" TabIndex="7"></asp:TextBox>

<asp:TextBox ID="txtTapeNo" runat="server" Height="75px"
TextMode="MultiLine" Width="60px" TabIndex="8"></asp:TextBox>

<asp:TextBox ID="txtRotation" runat="server" Height="75px"
TextMode="MultiLine" Width="60px" TabIndex="9"></asp:TextBox>

<asp:TextBox ID="txtLocation" runat="server" Height="75px"
TextMode="MultiLine" Width="93px"></asp:TextBox></div>

</td>

<td style="width: 100px; height: 15px">

</td>

</tr>

<tr>

<td style="width: 150px; height: 15px">

Scheduled End date . . .</td>

<td style="width: 400px; height: 15px">

<asp:TextBox ID="txtEndDate" runat="server" Width="390px"
TabIndex="10">Until Further Notice</asp:TextBox></td>

<td style="width: 100px; height: 15px"></td>

</tr>

<tr>

<td style="width: 150px; height: 15px">

Additional Instructions . . .</td>

<td style="width: 400px; height: 15px">

<asp:TextBox ID="txtAddlInst" runat="server" Height="75px" TabIndex="11"
TextMode="MultiLine"

Width="390px"></asp:TextBox></td>

<td style="width: 100px; height: 15px"></td>

</tr>

<tr>

<td style="width: 150px; height: 15px">

Special Instructions . . .</td>

<td style="width: 400px; height: 15px">

<asp:TextBox ID="txtSpecialInst" runat="server" Height="75px" TabIndex="12"
TextMode="MultiLine"

Width="390px"></asp:TextBox></td>

<td style="width: 100px; height: 15px"></td>

</tr>

<tr>

<td style="width: 150px; height: 15px">

</td>

<td style="width: 400px; height: 15px">

</td>

<td style="width: 100px; height: 15px"></td>

</tr>

<tr>

<td style="width: 150px; height: 15px">

<asp:Button ID="btnPrintNewReport" runat="server" Text="Print New Report"
Width="149px" TabIndex="13" Enabled="False" /></td>

<td style="width: 120px; height: 15px">

</td>

<td style="width: 100px; height: 15px"></td>

</tr>

<tr>

<td style="width: 150px; height: 15px">

</td>

<td style="width: 400px; height: 15px">

</td>

<td style="width: 100px; height: 15px"></td>

</tr>

<tr>

<td style="width: 150px; height: 15px">

</td>

<td style="width: 400px; height: 15px">

</td>

<td style="width: 100px; height: 15px"></td>

</tr>

<tr>

<td style="width: 150px; height: 15px">

</td>

<td style="width: 400px; height: 15px">

</td>

<td style="width: 100px; height: 15px"></td>

</tr>

</table>

</form>

</body>

</html>


The rendered HTML is as
follows.....................................................................

<!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><title>
Untitled Page
</title><link href="App_Themes/TargetTheme/Target.css" type="text/css"
rel="stylesheet" /></head>
<body>
<form name="form1" method="post" action="RenderReport.aspx" id="form1">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
value="/wEPDwUJNzQyNjQ5NDczZGSxQZMSEC6OxPdIkMK+FE1HD5VvPg==" />
</div>

<script type="text/javascript">
<!--
var theForm = document.forms['form1'];
if (!theForm) {
theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
// -->
</script>


<span id="lblError" class="Label"
style="display:inline-block;color:Red;width:550px;"></span>
<table class="TopLevelLabel">
<tr>
<td class="TopLevelLabel">
Traffic Report Selection</td>
</tr>
</table>
<table>
<tr>
<td style="width: 150px; height: 7px">
Traffic Report Type</td>
<td style="width: 400px; height: 7px">
<table id="rblTCR" border="0">
<tr>
<td><input id="rblTCR_0" type="radio" name="rblTCR" value="T"
checked="checked" tabindex="1" /><label
for="rblTCR_0">T</label></td><td><input id="rblTCR_1" type="radio"
name="rblTCR" value="C" tabindex="1" /><label
for="rblTCR_1">C</label></td><td><input id="rblTCR_2" type="radio"
name="rblTCR" value="R" tabindex="1" /><label for="rblTCR_2">R</label></td>
</tr>
</table></td>
<td style="width: 100px; height: 15px">
<input type="submit" name="btnPrintOldReport" value="Select
Existing Report" id="btnPrintOldReport" tabindex="14" class="button-search"
style="width:100px;" /></td>

</tr>
<tr>
<td style="width: 150px; height: 15px">
Advertiser (optional)</td>
<td style="width: 400px; height: 15px">
<select name="ddlAdvertisers"
onchange="javascript:setTimeout('__doPostBack(\'ddlAdvertisers\',\'\')', 0)"
id="ddlAdvertisers" tabindex="2" title="Selection here will constrain the
Campaign selection below" class="select" style="width:205px;">

</select></td>
<td style="width: 100px; height: 15px">
</td>

</tr>
<tr>
<td style="width: 150px; height: 15px">
Campaign</td>
<td style="width: 400px; height: 15px">
<select name="ddlCampaigns"
onchange="javascript:setTimeout('__doPostBack(\'ddlCampaigns\',\'\')', 0)"
id="ddlCampaigns" tabindex="3" class="select" style="width:205px;">

</select></td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
Campaign Budget Plan</td>
<td style="width: 400px; height: 15px">
<select name="ddlCamVersion"
onchange="javascript:setTimeout('__doPostBack(\'ddlCamVersion\',\'\')', 0)"
id="ddlCamVersion" tabindex="4" class="select" style="width:205px;">

</select></td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
Campaign Version Week</td>
<td style="width: 400px; height: 15px">
<select name="ddlCVWeek"
onchange="javascript:setTimeout('__doPostBack(\'ddlCVWeek\',\'\')', 0)"
id="ddlCVWeek" class="select" style="width:205px;">

</select></td>
<td style="width: 100px; height: 15px"></td>
</tr>

<tr>
<td style="width: 150px; height: 15px">
</td>
<td style="width: 400px; height: 15px">
Template Stations . . .</td>
<td style="width: 100px; height: 15px">
</td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
Modify Stations.. .</td>
<td style="width: 400px; height: 15px">
<textarea name="txtTemplateStations" rows="2" cols="20"
id="txtTemplateStations" tabindex="6" class="text"
style="height:50px;width:200px;"></textarea></td>
<td style="width: 100px; height: 15px">
</td>
</tr>
<tr>
<td style="width: 150px; height: 15px" valign="middle">
Modify Titles . . .</td>
<td style="width: 400px; height: 15px">
&nbsp;Title &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;&nbsp;
Tape No &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; Rotation &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;
Location&nbsp;
<div style="width: 400px; height: 100px" id="DIVTITLES">
<textarea name="txtTitle" rows="2" cols="20" id="txtTitle"
tabindex="7" class="text" style="height:75px;width:200px;"></textarea>
<textarea name="txtTapeNo" rows="2" cols="20"
id="txtTapeNo" tabindex="8" class="text"
style="height:75px;width:200px;"></textarea>
<textarea name="txtRotation" rows="2" cols="20"
id="txtRotation" tabindex="9" class="text"
style="height:75px;width:200px;"></textarea>
<textarea name="txtLocation" rows="2" cols="20"
id="txtLocation" class="text"
style="height:75px;width:200px;"></textarea></div>
</td>
<td style="width: 100px; height: 15px">
</td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
Scheduled End date . . .</td>
<td style="width: 400px; height: 15px">
<input name="txtEndDate" type="text" value="Until Further
Notice" id="txtEndDate" tabindex="10" class="text" style="width:200px;"
/></td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
Additional Instructions . . .</td>
<td style="width: 400px; height: 15px">
<textarea name="txtAddlInst" rows="2" cols="20"
id="txtAddlInst" tabindex="11" class="text"
style="height:75px;width:200px;"></textarea></td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
Special Instructions . . .</td>
<td style="width: 400px; height: 15px">
<textarea name="txtSpecialInst" rows="2" cols="20"
id="txtSpecialInst" tabindex="12" class="text"
style="height:75px;width:200px;"></textarea></td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
</td>
<td style="width: 400px; height: 15px">
</td>
<td style="width: 100px; height: 15px"></td>
</tr>

<tr>
<td style="width: 150px; height: 15px">
<input type="submit" name="btnPrintNewReport" value="Print
New Report" id="btnPrintNewReport" disabled="disabled" tabindex="13"
class="button-search" style="width:149px;" /></td>
<td style="width: 120px; height: 15px">
</td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
</td>
<td style="width: 400px; height: 15px">
</td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
</td>
<td style="width: 400px; height: 15px">
</td>
<td style="width: 100px; height: 15px"></td>
</tr>
<tr>
<td style="width: 150px; height: 15px">
</td>
<td style="width: 400px; height: 15px">
</td>
<td style="width: 100px; height: 15px"></td>
</tr>
</table>

<div>

<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION"
value="/wEWEwL3iOzpBgLTq+NQAuKr41AC0avjUAK/xMm+DAKVqYHTCgLbj7ydAQKhuYKJBQLstooIAquUnN8LAuSZrecPAvnknLMEArWWuL8HApXp+pQBApXphuIBAsKGtEYC2KeZjgoC3YaupgoCk6WpzAp3RBJfcNST2oka1Jb/M9QdMogOPA=="
/>
</div></form>
</body>
</html>
 
W

Walter Wang [MSFT]

Hi Gary,

Thank you for your update.

From the output of the html page source, I can see there's still a linked
stylesheet which I believe your web.config might defined a theme:

<head><title>
Untitled Page
</title><link href="App_Themes/TargetTheme/Target.css" type="text/css"
rel="stylesheet" /></head>

1) You can try to disable the theme setting from web.config temporary to
see if it helps.

2) You can create an empty website and use this webform to see if it helps.

Hope this helps. Please feel free to post here if anything is unclear.

Regards,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
G

GaryDean

Walter,
Yes. That was the case. The theme was being applied in the Web.Config.
Something in the theme is forcing all controls to be 200 pixels.
Thank you very much for your help.
Gary
 
W

Walter Wang [MSFT]

Hi Gary,

Appreciate your update and response. I am glad to hear that the problem has
been fixed. If you have any other questions or concerns, please do not
hesitate to contact us. It is always our pleasure to be of assistance.

Have a nice day!

Regards,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 

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

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top