Page Templating format

vthokienj

Newcomer
Joined
Dec 30, 2003
Messages
12
slowly i am learning about page templating. i can do stuff like create a table and then add that table to the page controls with Controls.Add(table);

how do you format a page though? i want the top to have a menu and the bottom to be a footer. do you create the layout in desing view using placeholders, then add the controls there?

i would think that doing it this way would create a site that is inconsistent across browsers. if the answer is to declare your placeholders in code, then how would you specify that the menu control gets loaded into a placeholder at the top of the page, and the footer placeholder is at the bottom?

also, if anyone knows how to add a custon control using Controls.Add that would help. i only seem to be able to add user controls.
 
u can create a user control and place it in an html table with width =100% and height =100%
create 3 rows in the table, 1st place in it the top control, the middle for the content of ur page and the buttom for the buttom control
 
Back
Top