resizing contentplaceholder

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mil111
    New Member
    • Jan 2008
    • 9

    #1

    resizing contentplaceholder

    Hi,

    Can anybody help me? I created master page (in table) with header, footer, left column and in the right column is contentPlaceHol der. Content on contentPlaceHol der is longer than the left column is. If I run the page left column resizes according to content in contentPlaceHol der, and I don't want that. How I can set left column on fixed size so that only contentPlaceHol der resizes. I tried with <div> and <asp:panel> but it doesn't seems to work or I did something wrong?
    Thanks!
  • int08h
    New Member
    • Apr 2007
    • 28

    #2
    ContentPlacerHo lder itself does not render any html, so it may be sth wrong with your layout, I think the layout should be sth like this:

    <div id="head" class="head"></div>
    <div id="footer" class="footer"> </div>
    <div id="left" class="left"></div>
    <div id="main" class="main"><a sp:ContentPlace Holder ID="MyContent" runat="server" /></div>

    then you can add css to ensure your left div is fixed size

    Comment

    Working...