<label style="display: inline-flex;"> <input type="radio" style="margin-top:1.5;">TEST</label>
- 必須在 input 外面包一層 label 加上 style 內容 display:inline-flex; 才可以在 input 內使用 margin-top 調整圈圈的上下位置。
- How to vertically align a html radio button to its label?
<label style="display: inline-flex;"> <input type="radio" style="margin-top:1.5;">TEST</label>
var script = document.createElement("script"); script.src = "/help.shtml"; document.head.appendChild(script);
QueryString 就是網址問號後面的字串,在 javascript 儲存在 window.location.search。
function menu() { amenu = top.frames['view'].document.getElementById("amenu"); if (amenu == undefined) { var el = top.frames['view'].document.createElement("div"); var view_width=top.frames['view'].document.clientWidth; obj = document.getElementById("amenu"); rect=obj.getBoundingClientRect() left=rect.left-255-100+rect.width; el.style.cssText = 'position:absolute;left:'+left+ ';top:0;width:100;height:100;opacity:0.3;z-index:100;background:#000;'; el.id = "amenu"; top.frames['view'].document.body.appendChild(el); } else { if (amenu.style.visibility == "hidden") amenu.style.visibility = "visible"; else amenu.style.visibility = "hidden"; } }
<a href="javascript:" onmouseover="document.wizard.getSVGDocument().getElementsByTagName('path')[0].style.stroke='white'" onmouseout="document.wizard.getSVGDocument().getElementsByTagName('path')[0].style.stroke=''"> <object name="wizard" type="image/svg+xml" data="svg/wizard.svg" style="pointer-events: none;"></object> </a>
<a href="javascript:"> <img width="28" height="28" src="svg/wizard.svg" onmouseenter="this.src='svg/wizard1.svg'" onmouseleave="this.src='svg/wizard.svg'"> </a>
input[type=date]::-webkit-calendar-picker-indicator { width: 20px; height: 20px; }
$stmt->bind_param("iisi", $_POST["hour"], $_POST["status"], $_POST["date"], $_POST["lid"]); if ($_POST["hour"] == "null") $_POST["hour"]=NULL; if ($_POST["date"] == "null") $_POST["date"]=NULL;