---
title: "建站之星 部分模版 添加走马灯滚动模块，特效出不来的原因"
author: "xueshizhe"
date: "2014-12-01T15:32:51Z"
tags: []
categories: ["Web前端"]
slug: "untitled"
draft: false
lastmod: "2014-12-01T15:38:56Z"
id: 2162190
url: "https://fuxue.iteye.com/blog/2162190"
---

建站之星 部分模版 添加走马灯滚动模块，特效出不来的原因  
主要是因为 该样式模版的css中缺乏下面的样式代码

 

```
.marquee {background: #FFF;overflow:hidden;height: 100px;text-align: center;margin-bottom:8px; padding:0 10px;}
.marquee img {border: 1px solid #E6E6E6;display: block;margin-bottom:5px;}
.marquee  p{ text-align:left; height:24px; border-bottom:1px dashed #E6E6E6; line-height:24px; padding-left:20px;}

/*--- 左右---*/
.marquee_list{overflow:hidden;text-align:center; margin-bottom:8px; background:#FFF; padding:0 10px; _width:100%;}
.marquee_list img{ border:1px solid #E6E6E6; padding:1px; margin:3px;}
```