CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Threaded View

  1. #1
    Join Date
    Dec 2009
    Posts
    1

    Increasing height of body div tag dynamically

    Hi
    I am java developer but i am strucked with css application. Actually i am using tiles concept in my application in which layout page using css tags to specify positions of header,menu ,body,footers.In this project my body content is getting dynamically from database when the content is more my body page is coming out of the footer pls help how to solve this problem my increasing the class "container" height dynamically this is my layout page.

    Code:
    <html>
    	<head>
    	<link href="./css/<&#37;=css%>.css" rel="stylesheet" type="text/css" /> 
    	</head>
    	<body>
    	<div class="container"> 
    	<table border="0" cellspacing="0" cellpadding="0" style="width:100%;height:100%">  
    	 
    	<tr>  
    	<td colspan="2" height="130">  
    	                    <tiles:insert attribute="header"/></td>   
    	</tr>  
    	<tr> 
    	<td width="190">  
    	                    <tiles:insert attribute="menu"/></td>  
    	<td width="710">   
    	                     <tiles:insert attribute="body"/></td> 
    	</tr>  
    	<tr>  
    	<td colspan="2" height="30"> 
    	                     <tiles:insert attribute="footer"/></td>  
    	</tr>  
    	
    	</table>  
    	
    	 </div>
    	
    	</body>  
    	</html>
    Last edited by PeejAvery; December 8th, 2009 at 11:12 AM. Reason: Added code tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured