我正在尝试API文档http://api.maps.nokia.com/places/BasicSearchBoxExample.html
上的基本搜索框功能HERE api搜索框太短了,我想设计它。 这是我的HTML
<div id="container">
<div id="basicSearchBox"></div>
</div>
我无法访问以下html部分(它是由标题<script src="http://api.maps.nokia.com/places/beta3/jsPlacesAPI.js"></script>
中的引用生成的)
如何设置输入框的样式&n; nokia-searchbox-input&#39;增加高度?
<div id="container">
<div id="basicSearchBox" class="nokia-places-general-searchbox">
<div class="nokia-searchbox">
<input class="nokia-searchbox-input" type="text" rel="searchbox-input">
<input class="nokia-searchbox-button" type="button" rel="searchbox-button" value="Search">
<div rel="searchbox-list" class="nokia-searchbox-list" style="display: none;">
<div class="nokia-searchbox-list-border"></div>
<dl class="suggest-current"></dl>
<dl class="suggest-saved"></dl>
<dl class="suggest-nokia"></dl>
<dl class="suggest-search"></dl>
</div>
</div>
</div>
</div>
答案 0 :(得分:1)
如果我误解了,请告诉我,但您应该可以将其添加到您的CSS中:
<ul>
<li class="current"><a href="#">Home</a></li>
<li><a href="#">Page 2</a></li>
<li><a href="#">Page 3</a></li>
</ul>