使用css从徽标添加背景颜色到菜单 [英] add background color from logo to menu using css

查看:176
本文介绍了使用css从徽标添加背景颜色到菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请访问以下链接:



解决方案

you可以测试这些CSS规则

  #horizo​​ntalmenu .mymenu> li {
height:32px;
line-height:32px;
width:100px;
}
#main_header .header-container .header {
background-color:#ffff00;
}
#horizo​​ntalmenu {
margin-top:-5px;
}


please go through below link :

http://2.kidsdial.com/customer/account/login

and login with this email id : kidsdial2@gmail.com & password : kidsdial2

than please check this : http://2.kidsdial.com/marketplace/marketplaceaccount/myproductslist/

on top , you can see : Listings, Orders, Returns . above there is a

logo image: totaltoys.

I want to display background color from top of the logo [totaltoys] to bottom of the menu as like this :

解决方案

you can test these CSS rules

#horizontalmenu .mymenu > li {
    height: 32px;
    line-height: 32px;
    width: 100px;
}
#main_header .header-container .header {
    background-color: #ffff00;
}
#horizontalmenu{
    margin-top: -5px;
}

这篇关于使用css从徽标添加背景颜色到菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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