These days I encountered a small problem about Li. The so-called difficult, not the meeting. At the beginning, I took a lot of time and did not solve the problem. Later I checked the information and immediately went OK. I had to admire the power of the network.
First look at the source code:
<Asp: radiobutton id = "rbtuploadinsert" runat = "server" text = "insert"/>
<Ul>
<Li>
<Asp: radiobuttonlist id = "rbluploadinsert" runat = "server">
<Asp: listitem value = "1"> database </ASP: listitem>
<Asp: listitem value = "2"> file </ASP: listitem>
</ASP: radiobuttonlist>
</LI>
</Ul>
<Asp: radiobutton id = "rbtuploadupdate" runat = "server" text = "Update"/>
<Ul>
<Li>
<Asp: radiobuttonlist id = "rbluploadupdate" runat = "server">
<Asp: listitem value = "1"> database </ASP: listitem>
<Asp: listitem value = "2"> file </ASP: listitem>
</ASP: radiobuttonlist>
</LI>
</Ul>
The effect is shown in. It is not perfect and the spacing is large.
Let's look at the modified Code:
<Asp: radiobutton id = "rbtuploadinsert" runat = "server" text = "insert"/>
<Ul style = "list-style: none; margin: 0px; padding: 0px; margin-left: 2em;">
<Li>
<Asp: radiobuttonlist id = "rbluploadinsert" runat = "server">
<Asp: listitem value = "1"> database </ASP: listitem>
<Asp: listitem value = "2"> file </ASP: listitem>
</ASP: radiobuttonlist>
</LI>
</Ul>
<Asp: radiobutton id = "rbtuploadupdate" runat = "server" text = "Update"/>
<Ul style = "list-style: none; margin: 0px; padding: 0px; margin-left: 2em;">
<Li>
<Asp: radiobuttonlist id = "rbluploadupdate" runat = "server">
<Asp: listitem value = "1"> database </ASP: listitem>
<Asp: listitem value = "2"> file </ASP: listitem>
</ASP: radiobuttonlist>
</LI>
</Ul>
The black part is the focus.
Current results:
I feel perfect.
I would like to thank the following pages for their help.
Http://topic.csdn.net/t/20021106/12/1152901.html
Http://hi.baidu.com/juyojin/blog/item/68853e23274c0c4f9258078f.html
Http://www.jb51.net/article/12768_2.htm
Finally, I complained again. I haven't written anything for more than a month. Today I came up with a look, it seems that the editor has been changed, and it is not as convenient as before, and I hope to make some improvements.