List Info

Thread: css question




css question
user name
2007-01-31 12:34:19
For some reason, when trying to control the height of the
child page 
content height, the following works:

In the masterpage: 

<div id="content">
      <asp:contentplaceholder
id="ContentPlaceHolder1"      
runat="server">
      </asp:contentplaceholder>
</div>

In stylesheet:

#content
{
clear:both;
overflow:auto;
height:200px;
width:900px;
}


but if I try to set the height to a % (height:20%;) it
doesn't have 
any affect on the page content.	It just grows to the full
length of 
the content section.  Why can't I use % to set height?

Thanks,
Rut



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/join

    (Yahoo! ID required)

<*> To change settings via email:
    mailto:AspNetAnyQuestionIsOk-digest@yahoogroups.com 
   
mailto:AspNetAnyQuestionIsOk-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )