Hi,
I want to use content panes in master pages , i want one content pane towards the left of the page which can hold icons, and a content pane towards its rigth
which can be used by other pages to create a custom content, but I am not able to move the content panes or adjust it,Please provide me with a solution.
Thanks in Advance,
A.Durga Prasad
Loading
harika mPosted Nov 20, 2008, 1:07 AM
hi buddy,
use table format. u wil definetly get. Jst set the attributes like height and width properties for the table
Scott LyslePosted Nov 16, 2008, 12:41 AM
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>title>
<asp:ContentPlaceHolder id="head" runat="server">
asp:ContentPlaceHolder>
<style type="text/css">
.style1
{
width: 100%;
height: 350px;
}
.style2
{
height: 89px;
}
.style3
{
width: 187px;
}
style>
head>
<body>
<form id="form1" runat="server">
<table class="style1">
<tr>
<td class="style2" colspan="2">
td>
tr>
<tr>
<td align="center" class="style3" valign="top">
<asp:ContentPlaceHolder ID="cphSideBar" runat="server">
asp:ContentPlaceHolder>
td>
<td align="left" valign="top">
<asp:ContentPlaceHolder ID="cphMainContent" runat="server">
asp:ContentPlaceHolder>
td>
tr>
table>
form>
body>
html>