为了账号安全,请及时绑定邮箱和手机立即绑定

我的右浮动为什么不是那么靠右呢

http://img1.sycdn.imooc.com//57e74c5b0001f6ba13630273.jpg

@charset"utf-8";

*{

margin:0px;

padding:0px;

font-size:14px;

}

body{

background-color:#f5f5f5;

}

.header{

width:100%;

height:27px;

background:url(../images/top_bg.jpg)repeat-x;

}

.header_right{

width:1000px;

height:27px;

margin:0 auto;

}

.header_right li{

list-style-image:url(../images/li_bg.gif);

float:right;

width:78px;

line-height:27px;

font-size:12px;

}

.header_right a:link,.header_right a:visited{

text-decoration:none;

color:#8e8e8e;

}

.header_right a:hover,.header_right a:active{

color:#900;

text-decoration:underline;

}

.warp{

width:1000px;

margin:0 auto;

}

.logo{

height:80px;

background-color:#fff;

}

.logo_left{

float:left;

}

.logo_right{

float:right;

}


正在回答

4 回答

我也是这个问题,请问怎么处理

0 回复 有任何疑惑可以回复我~

html代码里边都没有设置类名吗?类名都没有,上边的css还有什么用呢?

0 回复 有任何疑惑可以回复我~
#1

凡夫俗子3715261 提问者

有类名啊 我设的是 class="logo" 刚刚弄清楚了 应该是没有设置边框 你觉得呢?
2016-09-25 回复 有任何疑惑可以回复我~

把HTML结构也贴出来

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

我的右浮动为什么不是那么靠右呢

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信