>>Hi everybody,
>>
>>I have a UserControl with this code in ASCX file
>>
>>
>><div class="cl">
>> <label class="bx">
>> School
>> </label>
>> <span class="bx">
>> <asp:DropDownList ID="ddlSchool" runat="server" DataSourceID="SchoolsDataSource"
>> DataTextField="School" DataValueField="School" Width="200px">
>> </asp:DropDownList>
>> </span>
>> < %--<span class="bx">--% >
>>
>> <asp:Literal ID="litSchoolPhone" runat="server" Text=" "></asp:Literal>< %--</span>--% >
>> <br />
>> <br />
>></div>
>>
>>It displayed Ok in IE7, but in FireFox the phone is overlapped by the dropdown. I want to prevent it and make sure that the phone always start after right to the drop down.
>>
>>Is there a way to ensure that?
>
>Would wrapping both items in a container such as a Panel help. Or even put them in a table?
>Regards,
>Viv
I think I tried a bit with panels and was not achieving the result, but I re-try. I'm also thinking, that I need to add some JavaScript code that will update phone on each selection. The problem is - I need to somehow store the phone to be able to access it. Do you know if it's possible for DropDown to have some hidden columns like with have in VFP?
If it's not broken, fix it until it is.
My Blog