用蓝图css控制div的问题
例如,当我尝试将背景颜色应用于 #header 时,我遇到了 div 问题,因此它将覆盖所有标题。 它没有显示我对 #header、#maincontainer 等的 css 所做的任何更改,你能帮我吗?我已经尝试了很多东西,但似乎没有任何效果。
这是 Html 示例:
<div id="wrapper">
<div class="container">
<div class="span-24 showgrid">
<div id="header">
<div id="logo"><img src="logo.png" alt="Iris logo"></div>
<div id="slogan">
<h1>Íris</h1>
<h2>Ættleiðingartengd fræðsla</h2>
</div>
<div id="searchbar"><input class="text" onfocus="this.value=''" type="text" name="searchbar" value="Leita.."></div>
</div><!-- end .header -->
如果您愿意查看,这里是 HTML 的其余部分: http://pastebin.com/8AyENrdn
I´m having a problem with divs when I´m trying to apply background-color to #header for example so it will cover all of the header.
it dosen't show any changes that I made to the css of the #header, #maincontainer and more can you please help me I have tried so many things and nothings seems to work.
Here is the Html sample :
<div id="wrapper">
<div class="container">
<div class="span-24 showgrid">
<div id="header">
<div id="logo"><img src="logo.png" alt="Iris logo"></div>
<div id="slogan">
<h1>Íris</h1>
<h2>Ættleiðingartengd fræðsla</h2>
</div>
<div id="searchbar"><input class="text" onfocus="this.value=''" type="text" name="searchbar" value="Leita.."></div>
</div><!-- end .header -->
Here is the rest of the HTML if you prefer to see to all :
http://pastebin.com/8AyENrdn
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
很难从你所描述的内容和没有 CSS 中看出 - 试试这个
It's hard to tell from what you have described and no CSS - Try this