aligmnet of text /div table
take a look here
http://www.gfln.org/Regsiteration.aspx
see the alignment of text "Would attend the conference" on page
i wanted to make the alignmnet of this text same as follwing text on page
"Would your spouse want to come with you"
means bit padding from left
now see the code which need to have changes
Code:
<div id=attend_div runat=server visible=false >
<asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode=conditional>
<ContentTemplate>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" align="left"><strong> Would attend the conference </strong></td>
<td width="50%" align="left"><strong></strong>
<asp:RadioButtonList EnableViewState=true RepeatDirection=Horizontal ID="spous_atend_Conference"
runat="server" AutoPostBack="True">
<asp:ListItem Value="0">Yes</asp:ListItem>
<asp:ListItem Selected="True" Value="1">No</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
</table>
<asp:PlaceHolder ID=placeholder2 runat=server >
</asp:PlaceHolder>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="spous_atend_Conference" EventName="SelectedIndexChanged" />
</Triggers>
</asp:UpdatePanel>
</div>
i m bit new to css handling :( some how
Re: aligmnet of text /div table
1 more thing i forgot to mention is that correct alignment of text having css
is
Code:
<div class="right_txt_space_accm" runat=server id=div_come>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" align="left"><strong>Would your spouse want to come with you</strong></td>
<td width="50%" align="left"><strong></strong>
<asp:RadioButtonList RepeatDirection=Horizontal ID="rdbtn_spouseattend"
runat="server" AppendDataBoundItems="True" AutoPostBack="True">
<asp:ListItem Value="0">Yes</asp:ListItem>
<asp:ListItem Selected="True" Value="1">No</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
</table>
</div>
and css have
Code:
.right_txt_space_accm{ border-bottom:#ccc solid 0px; height:23px; line-height:20px; padding-left:15px; padding-right:15px;}
i hope any one got my point/problem
Re: aligmnet of text /div table
if i just put same css it make look and feel distrubed on UI ,i just need to move row or text little bit right .that's it