如何更改横幅的位置? [英] How Do I Change the Position of the banner?

查看:117
本文介绍了如何更改横幅的位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!



感谢您随时随地愿意提供帮助。谢谢!



我在我正在开发的网站的网页上插入了一个jQuery横幅。



一旦我插入它,横幅完全覆盖了徽标和菜单。



请有人告诉我如何使用css向下移动横幅。



谢谢。



这是我正在谈论的网页截图的链接:



http://ubuntuone.com/6QkO8n4hEuHreDSmd8Vf7L [ ^ ]

推荐答案

vbmike是对的。我们需要查看代码。但是通过查看屏幕截图,我只能猜测您在与菜单和徽标相同的
vbmike is right. We need to see the code. But by looking at the screenshot I can only guess that you are running the banner in the same
中运行横幅。在设计网站时,必须先组织
as the menu and logo. When you are designing a site, you have to organize your
容器,然后再尝试填充任何内容。这只是最基本设置的一个例子



containers before you attempt to fill anything. This is just an example of the most basic setup

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>

</head>
<body>
    <!--main page container -->
    <div>
        <!--header container -->
        <div>
            <!--logo/menu wrapper -->
            <div>
                <div><!--logo container with left css property -->
                    <img src="logo.png" alt="" />
                </div>
                <div><!--menu container with right css property -->
                    menu goes here
                </div>
            </div>
            <!--banner container -->
            <div>
                banner goes here
            </div>
        </div>

        <!--body container -->
        <div></div>

        <!--footer container -->
        <div></div>

    </div>

</body>





但基本上,你可以做任何你想做的事。尽管如此,我们知道你的代码可能是正确的,横幅只是在错误的容器中。希望这有所帮助。



But basically, you can do anything you want. For all we know your code is probably right and the banner is just in the wrong container. Hope this helped.


这篇关于如何更改横幅的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆