English 中文(简体)
CSS将内容推向下?
原标题:CSS pushing content down?
  • 时间:2011-11-12 13:09:36
  •  标签:
  • css

See any page on krane Design.com

如果你横向减少浏览器的大小,主要内容会低于导航。 我不敢确定在特别安全局中如何确定这一点。 理想的情况是,我要扩大规模,使之适合......但即便只是一个横向的滚动条会更好。

问题回答

您的顶端集装箱(四)应当有以下的水泥板:

#outer {
    width: 1160px;
    position: relative;
    overflow: hidden;
}

你的胎面和胎面都用固定的宽度浮动,但是他们的集装箱底部有100%的宽度,这意味着湿度变化。 因此,当浏览器窗户的面值变化低于胎面和胎面的宽度时,胎面将跌至胎面。

你们应该有一个集装箱。 和:

<div id="container">
    <div id="nav"></div>
    <div id="content"></div>
</div>

之后,集装箱舱溢出:藏匿(检索集装箱干线),并给集装箱干.。 我认为你的导航和内容是浮动的?





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

jquery ui dialog opens only once

I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.

Drop down background url in Safari Issue

selectBox.selectCSS { background: url(/Images/replacementSelectBackground.png) top left no-repeat height:auto; } I have an issue in Safari only where the image is not rendering on top ...

CSS specific for Safari

How do you target specifically safari in css with styles?

Aligning textarea in a form

Ive used the following css code to align my form elements: form { position:relative; } form input { position:absolute; left:11em; } However, the textarea element is not aligned correctly with the ...

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 ...

CSS problem with page footer

I have defined my page footer in the css file as: #footer { position: absolute; height: 50px; text-align: center; background: #66CCCC; bottom: 0px; left: 0px; width: 100%; height: ...

热门标签