silverglade Posted November 14, 2009 Share Posted November 14, 2009 hi, i have a javascript dropdown menu about halfway down the page at this link http://oddnerdrum.info the tab is black. and it has white around its bottom border corners, which i want to get rid of, any help GREATLY appreciated. thanks. derek here is the css for the tab. .ddpanel .ddpanelcontent{ /*CSS for "content" DIV of Drop Down Panel*/ color: #B39551; background:#333333; /*background of Drop Down Panel*/ /*Do NOT add any "padding" or "margin" properties here! Any padding/margin should be added to your content's container within this DIV instead */ } .ddpanel .ddpaneltab{ /*CSS for "toggle" tab DIV of Drop Down Panel*/ margin-right: 20px; font: normal 12px Arial; } .ddpanel .ddpaneltab a{ /*"toggle" tab related CSS*/ float: left; /* was right*/ color: #333333; background: black url(toggleleft.gif) no-repeat left bottom; /*background of toggle tab*/ text-decoration: none; letter-spacing: 1px; } .ddpanel .ddpaneltab a span{ /*"toggle" tab related CSS*/ float: left; display: block; background: transparent url(toggleright.gif) no-repeat right bottom; padding: 1px 12px 4px 13px; cursor: pointer; } .ddpanel .ddpaneltab a span img.pointerimage{ /*CSS for pointer image within toggle tab*/ margin-top: 2px; margin-left: 5px; } .ddpanel .ddpaneltab a:hover{ /*"toggle" tab related CSS*/ background-color: navy; /*background of toggle tab onMouseover*/ } .ddpanel .ddpaneltab a:active, .ddpanel .ddpaneltab a:focus{ /*"toggle" tab related CSS*/ outline: 0; } .ddpanel .ddpaneltab a:hover span{ /*"toggle" tab related CSS*/ background-color: transparent; } Link to comment https://forums.phpfreaks.com/topic/181531-solved-no-transparency-on-my-css-dropdown-menu-tab-corners/ Share on other sites More sharing options...
silverglade Posted November 15, 2009 Author Share Posted November 15, 2009 nevermind i fixed it by coloring the gifs black. thanks. derek Link to comment https://forums.phpfreaks.com/topic/181531-solved-no-transparency-on-my-css-dropdown-menu-tab-corners/#findComment-957798 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.