Click here to Skip to main content
15,894,291 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want devide my page in three parts

left part should be menu control with some menu opetions

right part for some ad pages.
and in the middle content page content..
how should i write a css file
can anyone support me.

thanq
Posted

My suggestion would be to design the page in a tabular layout(using tables or CSS absolute positioning) and use master page for the fixed part of the page. the variable part of the page can be put in the content pages. Refer this article to know how it can be done:

Beginner's Tutorial on Master Pages in ASP.NET[^]
 
Share this answer
 
If you were to design the site using CSS, as you want to divide the page up in three sections you can use ID's.

E.g:
CSS
#leftpart
{
 // Design code here
}
#rightpart
{
 // Design code here
}
#content
{
 // Design code here
}


Then in HTML use the 'id' attribute in a div.
HTML
<div id="leftpart"></div>

I'm not best at CSS, but I believe you can find something more helpful on Google, or YouTube.
So, best of luck.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900