Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
CSS flyout menu IE problem with margins
Old 03-08-2007, 02:35 PM CSS flyout menu IE problem with margins
Daman's Avatar
Extreme Talker

Posts: 157
Location: Toronto, CANADA
Trades: 0
I am having trouble with the margin gap in EI 6 when I cursor over the flyout menu. If I remove the margin it works fine but I like the look with a margin better. It works fine on Firefox. So the problem is the menu disappears when I get near the bottom of any of the menus.

See here: http://www.ss-interactive.com/test.html

Code:
table {border-collapse:collapse; border:0; margin:0; padding:0;}

.menu ul li a.hide, .menu ul li a:visited.hide {display:none;}
.menu ul li a:hover ul li a.hide {display:none;}

.menu ul li a:hover {
	color:#FFFFFF;
	background-color: #292929;
	background-image: url(../images/mainNav_bullet_white.gif);
	background-repeat: no-repeat;
	background-position: 2px;
}
.menu ul li a:hover ul {display:block; position:absolute; top:0px; left:150px; width:105px;}
.menu ul li a:hover ul li a.sub {background:#dfc184; color:#000;}
.menu ul li a:hover ul li a {
	background-color: #990000;
	filter: alpha(opacity=75);
	border: 1px solid #B70000;
	background-image: none;
	margin-bottom: 2px;
}
.menu ul li a:hover ul li a ul {visibility:hidden;}
.menu ul li a:hover ul li a:hover {
	background-color: #B70000;
	background-image: url(../images/mainNav_bullet_white.gif);
	background-repeat: no-repeat;
	background-position: 2px;
	filter: alpha(opacity=100);
}
.menu ul li a:hover ul li a:hover ul {visibility:visible; position:absolute; left:151px; top:0; color:#000;}
.menu ul li a:hover ul li a:hover ul li a {display:block; width:200px; background:#dfc184; color:#000;}
.menu ul li a:hover ul li a:hover ul li a:hover {background:#bd8d5e; color:#fff;}
Daman is offline
Reply With Quote
View Public Profile Visit Daman's homepage!
 
 
Register now for full access!
Old 03-08-2007, 03:38 PM Re: CSS flyout menu IE problem with margins
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Why on earth do you need a table ?? Get rid of it, I don't see the need for it at all and the you don't have to debug around it.

Have you tried using padding instead of margin on the <a>s ?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-08-2007, 04:14 PM Re: CSS flyout menu IE problem with margins
Daman's Avatar
Extreme Talker

Posts: 157
Location: Toronto, CANADA
Trades: 0
Thanks LadynRed,

I got rid of the table and replaced margin with padding. Doesnt do the trick. I just need a 2px gap between the flyout buttons as it appears in Firefox.

Is there any other CSS tags I could use to seperate the buttons without closing the flyout menu when you roll over the gaps?
Daman is offline
Reply With Quote
View Public Profile Visit Daman's homepage!
 
Old 03-08-2007, 06:55 PM Re: CSS flyout menu IE problem with margins
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Lots of options, start here:
http://css.maxdesign.com.au/listutorial/index.htm

Then have a look around here: http://www.cssplay.co.uk/menus/index.html
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-13-2007, 11:39 AM Re: CSS flyout menu IE problem with margins
Daman's Avatar
Extreme Talker

Posts: 157
Location: Toronto, CANADA
Trades: 0
I am using this one:
http://www.cssplay.co.uk/menus/flyoutt.html

But I can't get the margin gap to work in IE as it does in Firefox.

When I rollover the flyout menu in Firefox it doesnt close when I go over the gaps. My problem is that this happens in IE.
Daman is offline
Reply With Quote
View Public Profile Visit Daman's homepage!
 
Old 03-19-2007, 01:18 PM Re: CSS flyout menu IE problem with margins
Daman's Avatar
Extreme Talker

Posts: 157
Location: Toronto, CANADA
Trades: 0
Does anyone know how to have a margin gap between the flyout buttons co-exist in IE and firefox?
Daman is offline
Reply With Quote
View Public Profile Visit Daman's homepage!
 
Old 03-19-2007, 03:43 PM Re: CSS flyout menu IE problem with margins
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
http://css.maxdesign.com.au/listutorial/index.htm
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS flyout menu IE problem with margins
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.61373 seconds with 12 queries