我在移动Safari上显示默认字段值"1.10"时遇到问题.因为最后一位是零,所以它显示为"1.1".我在桌面系统上没有这个问题,只是在移动游猎中显示.
如果我将默认值设置为"1.11",则显示所有数字,但"1.10"显示为"1.1".如何强制Mobile Safari将"1.10"显示为默认表单值?
这是我的代码.
<label id="mortIns_lbl" for=mortIns>Mortgage Ins. (PMI):</label><div class="dollar">$</div>
<input id=mortIns class=narrow name=mortIns type=text readonly>
<input class="percent necessary" id=miPerc name=miPerc type=number onblur=loan() min="0"
max="3"
step=".01"
value="1.10"><div class="pct">%</div><a title="Most mortgage banks will require mortgage insurance if the down payment is less than 20% of the total purchase price of the property. Once 20-25% of the principal has been payed down, the PMI should be removed. However, until that happens, the mortgage insurance payment will remain. 1.1% is the average, …Run Code Online (Sandbox Code Playgroud) 这是我的第一个问题.我在StackOverflow和Google上搜索了答案,但一直找不到答案.
我使用Vimeo的通用iFrame代码在我的网站上嵌入了一个视频.该视频可以在下面看到,并且可以在任何桌面浏览器和iOS 5设备上正常播放.
问题来自iOS的最新更新... 现在在iOS 6上,视频将无法播放.相反,它将陷入"加载"持有模式.在iPhone模拟器上使用iOS 6为XCODE产生相同的结果.有关确切视频的链接如下.在较旧的iOS 5设备上加载,视频开始播放就好了.
注意:该视频也不能在iOS 6 Chrome上播放,但适用于iOS 5 Chrome.
http://www.seriouslyfunny.tv/2011/03/padded-room-promo/
有任何想法吗?我觉得这是一个愚蠢的新手问题,有些8岁的侄子会知道答案.
我在http://www.stevemoorecpa.dreamhosters.com/上有一个水平下拉CSS菜单
我的问题是菜单宽度扩展到网站的包装外,我无法隐藏它.

如何防止元素超出网站包装?这是包装器的代码......
#wrapperSkm {
border-left-style: solid;
border-right-style:solid;
border-width: 2px;
border-color: transparent;
-moz-box-shadow: 0px 0px 25px #c3c3c3;
-webkit-box-shadow: 0px 0px 25px #c3c3c3;
box-shadow: 0px 0px 25px #c3c3c3;
width:1069px;
overflow: hidden;
padding: 0 0px 0 0px;
margin-left: auto;
margin-right: auto;
background:url(images/line1Right.png) repeat-x right 134px;
}
Run Code Online (Sandbox Code Playgroud)
这是水平子菜单导航的代码
#access ul ul {
display: none;
float: right;
margin: 0;
position: absolute;
top: 181px;
left: 0;
width:100%;
background:#fff url(images/line1Nav.png) repeat-x bottom;
z-index: 99999;
text-align:center;
}
Run Code Online (Sandbox Code Playgroud)
我一整天都在这里工作,没有任何东西可以让菜单隐藏它在主站点包装器之外的溢出.
所有帮助表示赞赏.