Click here to Skip to main content
15,441,434 members

Comments by Adekolurejo (Top 3 by date)

Adekolurejo 28-Dec-14 19:45pm View     CRLF
child page code. since i cannot align with css then i use table. I dont want to use table <%@ Page Title="Register User" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="MoneyTransfer.Pages.Register" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"> <style type="text/css"> .style7 { width: 450px; border: 1px solid #E1E1E1; } .style8 { } .style9 { width: 213px; } .style10 { width: 124px; } </style> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> <div id="registerusers"> <table class="style7"> <tr> <td class="style10"> Title</td> <td class="style9"> <asp:DropDownList ID="DropDownList1" runat="server"> </td> </tr> <tr> <td class="style10"> First Name:</td> <td class="style9"> <asp:TextBox ID="TextBox1" runat="server"> </td> </tr> <tr> <td class="style10"> Middle Name:</td> <td class="style9"> <asp:TextBox ID="TextBox2" runat="server"> </td> </tr> <tr> <td class="style10"> Last Name:</td> <td class="style9"> <asp:TextBox ID="TextBox3" runat="server"> </td> </tr> <tr> <td class="style10"> Nationality:</td> <td class="style9"> <asp:TextBox ID="TextBox4" runat="server"> </td> </tr> <tr> <td class="style10"> Date Of Birth:</td> <td class="style9"> <asp:TextBox ID="TextBox5" runat="server"> </td> </tr> <tr> <td class="style10"> Home Phone:</td> <td class="style9"> <asp:TextBox ID="TextBox6" runat="server"> </td> </tr> <tr> <td class="style10"> Mobile Phone:</td> <td class="style9"> <asp:TextBox ID="TextBox7" runat="server"> </td> </tr> <tr> <td class="style10"> Email:</td> <td class="style9"> <asp:TextBox ID="TextBox8" runat="server"> </td> </tr> <tr> <td class="style10"> Address Line1:</td> <td class="style9"> <asp:TextBox ID="TextBox9" runat="server"> </td> </tr> <tr> <td class="style10"> Address Line2:</td> <td class="style9"> <asp:TextBox ID="TextBox10" runat="server"> </td> </tr> <tr> <td class="style10"> City:</td> <td class="style9"> <asp:TextBox ID="TextBox11" runat="
Adekolurejo 24-Dec-14 18:18pm View    
Yes but I have got my css file in a folder called Style. Still cant align Labels and and textboxes in my forms which is in a child pages. All pages inherit from the master page.
Adekolurejo 23-Dec-14 15:53pm View     CRLF
Hi Praveen and thanks for your response. I have got css file created in web developer in a style folder and i link it to the master page which is working on master page but just cant get it to work on other aspx pages. I just want to style my page with css. Regards, Ade.