473,480 Members | 1,805 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Web Page Positioning

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$txtTemplateStation s" 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

Jun 26 '06 #1
7 2384
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 (wa****@online.microsoft.com, 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.

Jun 26 '06 #2
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_SelectedInd exChanged"
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_SelectedIndex Changed"
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_SelectedInde xChanged">
</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_SelectedIndexCha nged"
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="/wEPDwULLTE2ODc3MzA3ODgPZBYCZg9kFgICAw9kFgICAQ9kFgQ CBw88KwAJAgAPFggeDFNlbGVjdGVkTm9kZWQeDU5ldmVyRXhwY W5kZWRkHgtfIURhdGFCb3VuZGceCUxhc3RJbmRleAIEZAgUKwA CBQMwOjAUKwACFhAeBFRleHQFCUhvbWUgUGFnZR4FVmFsdWUFC UhvbWUgUGFnZR4LTmF2aWdhdGVVcmwFIC9DYW1wYWlnbk1hbmF nZW1lbnQvRGVmYXVsdC5hc3B4HghEYXRhUGF0aAUgL2NhbXBha WdubWFuYWdlbWVudC9kZWZhdWx0LmFzcHgeCURhdGFCb3VuZGc eEFBvcHVsYXRlT25EZW1hbmRoHghFeHBhbmRlZGceCVBvcHVsY XRlZGcUKwAEBQswOjAsMDoxLDA6MhQrAAIWEB8EBQ5BZG1pbml zdHJhdGlvbh8FBQ5BZG1pbmlzdHJhdGlvbh4HVG9vbFRpcAVBQ Wxsb3dzIGZvciBjb25maWd1cmF0aW9uIGFuZCBhZG1pbmlzdHJ hdGlvbiBvZiB0aGUgc2l0ZSBhbmQgdXNlcnMeDFNlbGVjdEFjd GlvbgsqLlN5c3RlbS5XZWIuVUkuV2ViQ29udHJvbHMuVHJlZU5 vZGVTZWxlY3RBY3Rpb24DHwcFJGZkZDBmZmJkLTkxOTItNDU0Y y04MjU3LWUwZGI4ZmJhMTk3Zh8IZx8JZx8KaGQUKwACFhAfBAU PQnVkZ2V0IFBsYW5uaW5nHwUFD0J1ZGdldCBQbGFubmluZx8MB RxCdWRnZXQgVHJhY2tpbmcgYW5kIFBsYW5uaW5nHw0LKwQDHwc FJGU0MjM4ZWIwLTdhZTAtNDQ5MC04ZjQzLWI5Nzk3Y2UwYWI4Z R8IZx8JZx8KaGQUKwACFhAfBAUJUmVwb3J0aW5nHwUFCVJlcG9 ydGluZx8MBRFSZXBvcnQgR2VuZXJhdGlvbh8NCysEAx8HBSQxM 2U5MWE4My00ZjU3LTQwNzItYjU0Yy0yNTllMzQyYjllMjMfCGc fCWcfCmhkZAIJD2QWDAIBDw8WAh8EZWRkAgcPEA8WBh4ORGF0Y VZhbHVlRmllbGQFDGFkdmVydGlzZXJJRB4NRGF0YVRleHRGaWV sZAUOYWR2ZXJ0aXNlck5hbWUfAmdkEBUCF1NlbGVjdCBBZHZlc nRpc2VyIC4gLiAuA0lhbhUCF1NlbGVjdCBBZHZlcnRpc2VyIC4 gLiAuATMUKwMCZ2cWAWZkAgkPEA8WBh8OBQpjYW1wYWlnbklEH w8FDGNhbXBhaWduTmFtZR8CZ2QQFQQVU2VsZWN0IENhbXBhaWd uIC4gLiAuGUFjdGl2ZSBQb2xpdGljYWwgQ2FtcGFpZ24dQWN0a XZlIE5vbi1Qb2xpdGljYWwgQ2FtcGFpZ24LSWFuIGluIDIwMDY VBBVTZWxlY3QgQ2FtcGFpZ24gLiAuIC4BMQEyATQUKwMEZ2dnZ xYBAgNkAgsPEA8WAh8OBRFDYW1wYWlnblZlcnNpb25JRGQQFQo eTm93IFNlbGVjdCBhIEJ1ZGdldCBQbGFuIC4gLiAuCUlBTjAxL TAwNAlJQU4wMS0wMDUJSUFOMDEtMDA2CUlBTjAxLTAwNwlJQU4 wMS0wMDgJSUFOMDEtMDA5CUlBTjAxLTAxMAlJQU4wMS0wMTEJS UFOMDEtMDEyFQoeTm93IFNlbGVjdCBhIEJ1ZGdldCBQbGFuIC4 gLiAuATQBNQE2ATcBOAE5AjEwAjExAjEyFCsDCmdnZ2dnZ2dnZ 2cWAQIBZAINDxAPFgYfDgUIbWFya2V0SUQfDwUJc3RhcnREYXR lHwJnZBAVAxNOb3cgU2VsZWN0IFdlZWsgLiAuFTcvMTcvMjAwN iAxMjowMDowMCBBTRU3LzI0LzIwMDYgMTI6MDA6MDAgQU0VAxN Ob3cgU2VsZWN0IFdlZWsgLiAuATEBMRQrAwNnZ2cWAQIBZAIfD w8WAh4HRW5hYmxlZGdkZBgBBR5fX0NvbnRyb2xzUmVxdWlyZVB vc3RCYWNrS2V5X18WAwUYY3RsMDAkX0xvZ2luU3RhdHVzJGN0b DAxBRhjdGwwMCRfTG9naW5TdGF0dXMkY3RsMDMFFmN0bDAwJF9 UcmVlVmlld1NpdGVNYXBWYGZkLzJqnvfLg3EELvzZPRLoXQ=="
/>
</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=63 2822721245781250"
type="text/javascript"></script>
<script
src="/CampaignManagement/WebResource.axd?d=5vieOirVRSsN30yjhpsaGw2&amp;t=63 2822721245781250"
type="text/javascript"></script>
<script>
<!--
function TreeView_PopulateNodeDoCallBack(context,param) {
WebForm_DoCallback(context.data.treeViewID,param,T reeView_ProcessNodeData,context,TreeView_ProcessNo deData,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=63 2822721245781250"
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=63 2822721245781250"
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__TreeVi ewSiteMap_Data,0,ctl00__TreeViewSiteMapn0,'-',ctl00__TreeViewSiteMapn0Nodes)"><img
src="/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DAxiL1mw2bym mRsXVb4xT-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__Tree ViewSiteMap_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_U952ys9DDqdUM4LLJcQ yytgzbsiP6s1&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__Tree ViewSiteMap_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_U952ys9DDqdUM4LLJcQ yytgzbsiP6s1&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__Tree ViewSiteMap_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_U952ys9DCtVGVWWYQ54 GBfoXELVNXQ1&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(\'ct l00$_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(\'ct l00$_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(\'ct l00$_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(\'ct l00$_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$txtTemplateStation s" 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_U952ys9DBuYw98YEEzK dG76d1SGXD81&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DKxpsyfu50_8 ZKZgnpEmHmA1&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DIQZKx_Rz68o ljexUhxcpHY1&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DO5wHPhzyPSc IomiccHTsWE1&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DITkbrGgtHSj crKdIADOcz01&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DOtkpiOPgBKu aRxy-knm9LA1&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DEjLHFTONBpD _FGsGdXgQAU0kejRh6zxD4QIeUcjrMcW0&t=63282272124578 1250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DA7P4xp9lse8 _M4VEHViU101&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DDqdUM4LLJcQ yytgzbsiP6s1&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DNC3rDLdG1Qp y3oxLkeFNrpNTTYebCfR4ImmJRJn0OZV0&t=63282272124578 1250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DLhPe_vWZ1fj isXT20MTAV81&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DCtVGVWWYQ54 GBfoXELVNXQ1&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DEF42BM_B-R1BrGSmAvDlCgeGlnpMyQEP62lhN_txmxo0&t=632822721245 781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DMDOb1twxH_h a5oZGmfTwv01&t=632822721245781250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DKurnkyzND37 QIVQfMNB45Vq1aS2flGvzZ6Zw_NQzie30&t=63282272124578 1250',
'/CampaignManagement/WebResource.axd?d=6jsXtkMfR86T_U952ys9DAxiL1mw2bym mRsXVb4xT-tXuVGUjKr2sGzpkBiEDwgi0&t=632822721245781250');
// -->
</script>

<div>

<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION"
value="/wEWKgLQ7OpVAqfKt6EKArGNs4EJAqmCzvEEAvDt/boDAufKyd4HAtbKyd4HAuXKyd4HAoul47ALAvfpxeUEAvL+2M0 NAuXvzcUNAv+R8qMBAqCd9YsCAv3r5skBAq/y3+UOAq7y3+UOAqzy3+UOAoSz4eIHAseZnpwNAojcy4wLAo/cy4wLAo7cy4wLAo3cy4wLApzcy4wLApPcy4wLAovci48LAovch 48LAovcg48LAtvMq5cLArqgopwKAtSjgfkHAtSjgfkHArfi5Po DApCr4O8HAsSunuwPAtXjiIkNAtXj/K4HAsn5lPoEAtj9h58JArjT7PYBAoG7zcgJlD+y0bCK8bXfo5g eEShT1TIgJ3A="
/>
</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[i].length > 0)
preLoad.src = ctl00__TreeViewSiteMap_ImageArray[i];
}
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>




"Walter Wang [MSFT]" <wa****@online.microsoft.com> wrote in message
news:mo**************@TK2MSFTNGXA01.phx.gbl...
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 (wa****@online.microsoft.com, 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.

Jun 29 '06 #3
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$txtTemplateStation s" 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$txtTemplateStation s" 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 (wa****@online.microsoft.com, 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.

Jun 29 '06 #4
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(\'dd lAdvertisers\',\'\')', 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(\'dd lCampaigns\',\'\')', 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(\'dd lCamVersion\',\'\')', 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(\'dd lCVWeek\',\'\')', 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+DAKVqYHTCgLbj7ydAQKhuYKJBQLstooIAquUnN8LAuSZre cPAvnknLMEArWWuL8HApXp+pQBApXphuIBAsKGtEYC2KeZjgoC 3YaupgoCk6WpzAp3RBJfcNST2oka1Jb/M9QdMogOPA=="
/>
</div></form>
</body>
</html>


"Walter Wang [MSFT]" <wa****@online.microsoft.com> wrote in message
news:eo****************@TK2MSFTNGXA01.phx.gbl...
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$txtTemplateStation s" 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$txtTemplateStation s" 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 (wa****@online.microsoft.com, 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.

Jun 29 '06 #5
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 (wa****@online.microsoft.com, 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.

Jun 30 '06 #6
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
"Walter Wang [MSFT]" <wa****@online.microsoft.com> wrote in message
news:wr****************@TK2MSFTNGXA01.phx.gbl...
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 (wa****@online.microsoft.com, 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.

Jun 30 '06 #7
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 (wa****@online.microsoft.com, 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.

Jul 3 '06 #8

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

Similar topics

5
1766
by: Chris Anderson | last post by:
Hi All. I have an ASP page that has over 150 records listed. I would like to have an "Index" (A,B,C,D...) at the very top of the page. Once a letter is clicked, I need to: 1) Call a SQL string...
2
12006
by: Catherine Lynn Wood | last post by:
I need to know how to overlap DIV content within 'relative' associated rendering. I am building div layers in the middle of a page and when I set positioning to absolute in the CSS, it references...
2
4448
by: Tristan Miller | last post by:
Greetings. I have a two-column web layout, where the first column is just the regular body text with a "marign-right" of 16em, and the second column is an "absolute"-positioned div with a width...
7
13612
by: Thomas Elser | last post by:
Hi, I made a site using CSS absolute positioning for all my content on the page. Now I try to figure out if it is possible to center the pages without giving up the absolute positioning. Can...
16
2278
by: Pierre Jelenc | last post by:
I need to lay out a page with five main elements: A fixed div at the top containing a navigation bar, two side-by-side columns, a centered shopping cart at the bottom, and a full-window fixed div...
3
2638
by: JayB | last post by:
http://www.fape.org/idea/what_idea_is/discipline_overview1.htm When I try to print this page in IE, each word is on it's own line. When I try to print in Firefox, it only prints out one page. ...
1
1043
by: Dave | last post by:
Is it possible to relocate the positioning of a Web page in a C# webform that is similar to an HTML link like href="url.htm#locate"? My web page is fairly long and when I click on a button I want...
7
4151
by: ALI-R | last post by:
Hi All, I have two user controls (header and footer) ,,which I've placed in an HTML Table in a page.I set the **align="center"** in the table and the table still is on the left side of the page...
12
3966
by: WJ | last post by:
What controls needed to cause the entire page moves along with the "resizing" of the web browser (left/right)? Example: Click here http://www.google.com, when Google main page is displayed in...
4
1519
by: Dan | last post by:
Hi, I have an asp.net page i have made that creates an invoice based on the invoice id given. It works fine but the problem i have is i now want to loop through my database and grab all the...
0
7037
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
7080
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...
1
6735
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
6895
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5326
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
4476
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...
0
2992
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1296
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.