|
-
November 11th, 2008, 06:32 AM
#1
Content does not resize
I have a master and content page.
When I add some text to the content page in the maincontent, the content's height is as high as the text that is in it.
But when I add a gridview to the maincontent, de content keeps the same size, with as consequence that the gridview is for more then 50% outside the content (and it's border), so this doesn't look really nice.
Is there anyway to solve this?
-
November 11th, 2008, 06:40 AM
#2
Re: Content does not resize
hav u tried running ur program..??
i think u r facing this problem during design mode..
-
November 11th, 2008, 08:08 AM
#3
Re: Content does not resize
The problem was not really the content, but the <div> the content was in. The content is placed is several DIV whicj had a background image, for making a nice border. To solve the problem I placed the content in a table and it works fine now..
Code:
......
<div class="topRight">
<div class="bottomLeft">
<div class="bottomRight">
<table width="100%">
<tbody>
<tr>
<td>
<div class="content">
<div align="center">
<asp:ContentPlaceHolder ID="mainContent" runat="server">
</asp:ContentPlaceHolder>
</div>
......
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|