English 中文(简体)
导航卫星系统
原标题:Navigation CSS / HTML
  • 时间:2011-10-27 16:44:41
  •  标签:
  • html
  • css

我有这一航海,而且我没有表明自己的立场。

http://jamessuske.com/thornwood2/

我愿在右边的标识旁边,因为某种原因,它显示了最高层的权利。 (难以描述,但毫无疑问,一看一看一看,乌将知道我所说的话)

HTML CODE

<div class="header">

<div class="logo">
<img src="images/logo.jpg" width="350" height="120" border="0" />
</div><!--logo-->

<div class="nav">
Home | About Us | Gallery | Contact Us
</div><!--nav-->

</div><!--header-->

CSS CODE

.header{
width:1009px;
}

.logo{
float:left;
width:350px;
}

.nav{
float:right;
width:260px;
color:#FFF;
}

而且,当我在这里参加第7期国际交易日志时,最高理事会与内容Area之间,也存在内容Area与底线之间的鸿沟。

http://jamessuske.com/thornwood2/

HTML CODE

<div class="topContent">
<img src="images/top.gif" width="1009" height="37" border="0" />
</div><!--topContent-->

<div class="leftContent">
<img src="images/leftSide.gif" width="48" height="494" border="0" />
</div><!--leftContent-->

<div class="contentArea">

</div><!--contentArea-->

<div class="rightContent">
<img src="images/rightSide.gif" width="49" height="494" border="0" />
</div><!--rightContent-->

<div class="bottomContent">
<img src="images/bottom.gif" width="1009" height="39" border="0" />
</div><!--bottomContent-->

对这两个问题的任何帮助都将受到高度赞赏。

Thanks

问题回答
.nav { float:left; } 

如果你想要了解情况的话。 如果你想要它,但又要走下去——只是想到你的情景。 它拥有一些白色空间,或增加:20px。

IE7 bug As of the bug you need to remove padding and margin from each picture and div so do something like this for each div.

.top-content
{
padding:0px;margin:0px;
}
.top-content img
{
padding:0px;margin:0px;
}




相关问题
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!

热门标签