By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,987 Members | 1,552 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,987 IT Pros & Developers. It's quick & easy.

Masterpage Content Controls Throwing Off Content

P: n/a
How do I keep a content control from throwing off the size of my pages?
When I drop a content control in my header it resizes the cell to a
larger size and when I publish the page it is now sized to the height
of the content control. I've tried embedding the content control in a
sized div and sized cell with no affect on height. This is so
frustrating the way they are throwing off all my cells. I understand
they are supposed to resize to the container but I cannot get it to
work. What am I missing? Thanks

Oct 26 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a

Barkster wrote:
How do I keep a content control from throwing off the size of my pages?
When I drop a content control in my header it resizes the cell to a
larger size and when I publish the page it is now sized to the height
of the content control. I've tried embedding the content control in a
sized div and sized cell with no affect on height. This is so
frustrating the way they are throwing off all my cells. I understand
they are supposed to resize to the container but I cannot get it to
work. What am I missing? Thanks
Barkster,

in the master page:

<div style="width:700px; height:15px; overflow:none;">
<asp:contentplaceholder id="myPlaceHolder"
runat="server"></asp:contentplaceholder>
</div>

Then in the child page that uses the master page anything that is
larger than the size of the div will not show and will not resize your
output window.

Regards,
Steve

Oct 27 '06 #2

P: n/a
Thanks, I'll give it a shot

Jester98x wrote:
Barkster wrote:
How do I keep a content control from throwing off the size of my pages?
When I drop a content control in my header it resizes the cell to a
larger size and when I publish the page it is now sized to the height
of the content control. I've tried embedding the content control in a
sized div and sized cell with no affect on height. This is so
frustrating the way they are throwing off all my cells. I understand
they are supposed to resize to the container but I cannot get it to
work. What am I missing? Thanks

Barkster,

in the master page:

<div style="width:700px; height:15px; overflow:none;">
<asp:contentplaceholder id="myPlaceHolder"
runat="server"></asp:contentplaceholder>
</div>

Then in the child page that uses the master page anything that is
larger than the size of the div will not show and will not resize your
output window.

Regards,
Steve
Oct 27 '06 #3

P: n/a
Well tried it, I created a blank master page and stuck this on it

<div style="width:72px; height:57px; overflow:none;" id="DIV1">
<asp:contentplaceholder id="myPlaceHolder"
runat="server"></asp:contentplaceholder>
</div>

The actual size of the content place holder was actually 230px instead
of 57px high? It seems like it will recognize the width but not the
height which is what I ran into previously.

Any ideas?

Thanks

Barkster wrote:
Thanks, I'll give it a shot

Jester98x wrote:
Barkster wrote:
How do I keep a content control from throwing off the size of my pages?
When I drop a content control in my header it resizes the cell to a
larger size and when I publish the page it is now sized to the height
of the content control. I've tried embedding the content control in a
sized div and sized cell with no affect on height. This is so
frustrating the way they are throwing off all my cells. I understand
they are supposed to resize to the container but I cannot get it to
work. What am I missing? Thanks
Barkster,

in the master page:

<div style="width:700px; height:15px; overflow:none;">
<asp:contentplaceholder id="myPlaceHolder"
runat="server"></asp:contentplaceholder>
</div>

Then in the child page that uses the master page anything that is
larger than the size of the div will not show and will not resize your
output window.

Regards,
Steve
Oct 27 '06 #4

P: n/a

Barkster wrote:
Well tried it, I created a blank master page and stuck this on it

<div style="width:72px; height:57px; overflow:none;" id="DIV1">
<asp:contentplaceholder id="myPlaceHolder"
runat="server"></asp:contentplaceholder>
</div>

The actual size of the content place holder was actually 230px instead
of 57px high? It seems like it will recognize the width but not the
height which is what I ran into previously.

Any ideas?

Thanks
My mistake, the style overflow:none; should be overflow:hidden;
Steve

Oct 28 '06 #5

P: n/a
Thanks, that did it, I overlooked that too. Appreciate the help

Jester98x wrote:
Barkster wrote:
Well tried it, I created a blank master page and stuck this on it

<div style="width:72px; height:57px; overflow:none;" id="DIV1">
<asp:contentplaceholder id="myPlaceHolder"
runat="server"></asp:contentplaceholder>
</div>

The actual size of the content place holder was actually 230px instead
of 57px high? It seems like it will recognize the width but not the
height which is what I ran into previously.

Any ideas?

Thanks

My mistake, the style overflow:none; should be overflow:hidden;
Steve
Oct 30 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.