width : Netscape.

M

Mr. X.

Hello,

In my code, I use <asp:RadioButton> and use a fixed width.
(to make spaces between two elements of <asp:RadioButton> -
Is there any other way doing that ?)

It work for some browsers, including Safari, and IE.
But for netscape - not meter what size is - there is no space between two
elements.

Here is code, that work for IE, and not for Netscape.
What should I do in order it work on Netscape (gap between two
radio-buttons).

<asp:Table runat="server" CellPadding="0" HorizontalAlign="Center">
<asp:TableRow height = "25">
<asp:TableCell>
<asp:RadioButton Text="choice 1" width = "100px" groupName =
"test_choices" Checked="True" runat = "server" />
<asp:RadioButton id = "support_choice" Text="choice 2" groupName =
"test_choices" runat = "server"/>
</asp:TableCell>
</asp:Table>

The first radio-button, has the fixed width of 100px,
but it isn't make sence on Netscape - Why ?

Besides, I would like to learn about conventions of several browsers
compatibilities.
(espcecially use of px, em, etc ...)

Thanks :)
 
M

Mr. X.

I see that relevant source is the same.
For the width:100px, the relevant source is :
<span style="display:inline-block;width:100px;">

I see that only netscape has that problem ?
I won't bother much about netscape, since it is not supported any more (Too
pitty.
since what year it is not supported ?).

I have tried also firefox, and it seems OK. (there is gap between the
radiobuttons).
I didn't understand where should I put &nbsp;
something like Text="choice 1"&nbsp;&nbsp; ... is not the exact thing to do.

Thanks :eek:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top