【问题标题】:How to set widget position css如何设置小部件位置css
【发布时间】:2014-07-20 05:46:54
【问题描述】:

我想移动您在本网站左下角看到的小部件,并将其放在左侧与照片列表相同的高度:

http://goo.gl/kbDzae

我希望有人知道这个问题的解决方案! 非常感谢!

【问题讨论】:

    标签: css wordpress widget position


    【解决方案1】:

    我认为你应该创建两个 div。第一个div 用于小部件,第二个div 用于照片列表。很简单。

    例如:

    <div class="forwidget">here is your widget code</div>
    <div class="forphotolist">here is your photodetail code</div>
    

    css

    .forwidget {
    float:left;
    width:300px;
    height:auto;
    //More Detail
    }
    .forphotolist {
    float:left;
    width:700px;
    height:auto;
    //More Detail
    }
    

    【讨论】:

    • 谢谢!我找不到应该在我的代码中插入 div 的确切位置!
    • 我现在检查你还在努力,你的工作是正确的。如果您有任何问题,请在此处告诉我们。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-07-30
    • 1970-01-01
    • 2013-10-21
    • 2011-03-14
    • 2018-12-02
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多