SCLUB免費論壇申請-使用者論壇's Archiver

幻空 發表於 2017-1-11 11:45

第一个板块名称跑右边去了

我今天插入了一段首页显示新到会员的代码,结果发现我论坛第一个板块名称从左边跑到了右边,影响美观,请问怎么弄呀?
[attach]76769[/attach]
论坛地址:[url=http://huankong.funbbs.me/index.php]http://huankong.funbbs.me/index.php[/url]

幻空 發表於 2017-1-12 11:51

有没有大神能帮帮我啊

无界 發表於 2017-1-12 11:58

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=277817&ptid=33173]2#[/url] [i]幻空[/i] [/b]


    原来是居中的吧?

bossll 發表於 2017-1-12 12:10

你好。
會員要排除你現在發生問題並不難。
我看一下你整個頂端圖片,與你背景圖高度與寬度差別很大
有點不協調也有可能造成該問題
建議你幾個事項如下
1先將你修改此代碼,暫移除,是否可以正常?
2檢查一下你版面是否居中?
以上提供給與你參考

无界 發表於 2017-1-12 12:39

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=277817&ptid=33173]2#[/url] [i]幻空[/i] [/b]


   找到[code]$pluginhooks[index_hot][/code]将新会员头像代码放在这个下边即可

幻空 發表於 2017-1-12 13:42

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=277821&ptid=33173]5#[/url] [i]无界[/i] [/b]


    谢谢无界大大的帮助

幻空 發表於 2017-1-12 13:53

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=277821&ptid=33173]5#[/url] [i]无界[/i] [/b]


    谢谢无界大大的帮助
试过了还是不行啊

幻空 發表於 2017-1-12 13:57

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=277823&ptid=33173]6#[/url] [i]幻空[/i] [/b]


    1.原来的板块名称是靠左的
    2.移除新会员代码或者放置在其他地方都是正常的
    3.此风格是套用别人的,所以我不知道问题出在哪里

无界 發表於 2017-1-12 14:22

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=277825&ptid=33173]8#[/url] [i]幻空[/i] [/b]


    嗯,仔细看了一下。他的css有一句[code].y {FLOAT: left}[/code]删掉就行了。

还放在原来的位置就可以了

幻空 發表於 2017-1-12 14:36

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=277828&ptid=33173]9#[/url] [i]无界[/i] [/b]


    删除了还是不行

无界 發表於 2017-1-12 14:40

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=277829&ptid=33173]10#[/url] [i]幻空[/i] [/b]


    那好吧,你试试我改的新会员代码[code]<style>
#huiyuan {
        width: 100%!important;
        background: #fff!important;
}

.xz0 {
        float: left!important;
        padding: 4px 0 0 0!important;
        margin: 0 0 0 2px!important;
        width: 60px!important;
        height: 67px!important;
        _height: 75px!important;
        overflow: hidden!important;
        text-align: center;
}

.xz1 {
        float: left!important;
        margin: 5px 5px 0 0!important;
        width: 15px!important;
        border: 1px solid #DDDDDD!important;
        text-align: center!important;
        display: inline!important;
        -moz-border-radius: 2px!important;
}

.xz2 {
        float: left!important;
        margin: 5px 0 0 0!important;
        width: 5px!important;
}

.xz3 IMG {
        BORDER-BOTTOM: #cdcdcd 1px solid!important;
        BORDER-LEFT: #f2f2f2 1px solid!important;
        PADDING-BOTTOM: 2px!important;
        PADDING-LEFT: 2px!important;
        WIDTH: 40px!important;
        PADDING-RIGHT: 2px!important;
        BACKGROUND: #fff!important;
        HEIGHT: 40px!important;
        BORDER-TOP: #f2f2f2 1px solid!important;
        BORDER-RIGHT: #cdcdcd 1px solid!important;
        PADDING-TOP: 2px!important;
}

.xz3 IMG {
        -moz-border-radius: 5px!important;
        -webkit-border-radius: 5px!important;
        border-radius: 5px!important;
}

.xz3y {
        FLOAT: left!important;
}

</style>
<div id="huiyuan" style="height:75px!important;">
    <div class="xz2"></div>
        <div class="xz1">新会员</div>
             <div id="newin" style="display:block!important;">
                        [node]
                             <div class="xz3 xz3y">
                     <ul class="xz0" style="float:left!important;">{avatarsmall}
                         <ul style="text-align:center!important;">{member}</ul>
                     </ul>
                 </div>
                        [/node]
                     </div>
</div>[/code]

幻空 發表於 2017-1-12 14:45

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=277828&ptid=33173]9#[/url] [i]无界[/i] [/b]


    如果不行的话,有什么办法把其他的板块名称移到右侧去呢?

无界 發表於 2017-1-12 14:52

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=277831&ptid=33173]12#[/url] [i]幻空[/i] [/b]


    数据调用  会员那里全部换成我的

幻空 發表於 2017-1-12 15:00

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=277832&ptid=33173]13#[/url] [i]无界[/i] [/b]


    可以了,谢谢无界大大 的帮助,太感谢你了哦

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.