English 中文(简体)
我需要一个带有残疾成分的超文本<电子电文多>。
原标题:I need to have an HTML <select multiple> with a disabled element
  • 时间:2010-09-20 20:29:54
  •  标签:
  • html
  • select

我需要找到一个具有残疾成分的多功能箱子。 我想盒子照样:

所有人

-

备选案文1

备选案文2

“或”无法选择。 迄今为止,我的法典非常简单:

<select multiple size="4" >
  <option value="0">All</option>
  <option value="1">----or----</option>
  <option value="2">备选案文1</option>
  <option value="3">备选案文2</option>
</select>

但截至目前,我一直无法得到残疾或无法当选。 我看一遍,我不敢肯定会有一个可予以解脱的超文本属性,但我确实不相信,我也不相信这是提出这一选择的最佳途径。 你们能够提供的任何帮助都受到高度赞赏。

问题回答

http://www.w3schools.com/tags/tag_optgroup.asp” rel=“nofollow noreferer”>optgroup content?

<select multiple size="4" >
  <option value="0">All</option>
  <optgroup label="----or----"></optgroup>
  <option value="2">option 1</option>
  <option value="3">option 2</option>
</select>




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签