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.

Website Design Forum


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



Freelance Jobs

Reply
Weird margin issue (menu only *IE 7 vs. Firefox)
Old 10-17-2007, 12:04 AM Weird margin issue (menu only *IE 7 vs. Firefox)
Sydpix's Avatar
Drinker I Smoke

Posts: 424
Name: Denny
Location: In a can...
Trades: 0
Ok, I don't get it. I am having problems with a vertical css menu over state in IE.

When I use this css, IE 7 I lose the hover state in my menu. (meaning, you have to make sure your mouse is directly over the text in the menu before it highlights in IE 7) It works fine in Firefox.

If I remove this, it works but then the obvious happens to my page margins and borders.

I want to keep my padding and margins set to 0 but I need the hover state in my menu to work in IE 7


Code:
* {
margin : 0;
padding : 0;
}
The page in question http://www.sydpixel.com

What am I missing here? Man! IE7 is freek'n annoying!

The menu code:

Code:
ul#button {
list-style-type : none;
text-align : left;
padding-left : 2px;
padding-right : 2px;
}
ul#button a:link, ul#button a:visited {
display : block;
background : #111111;
color : #fff;
text-decoration : none;
border-top : 0 solid #333333;
border-right : 1px solid #333333;
border-bottom : 1px solid #333333;
border-left : 15px solid #333333;
padding-left : 15px;
font-weight : bold;
}
ul#button a:link:hover, ul#button a:visited:hover {
background : #333333;
color : #cccccc;
font-weight : bold;
border-left-width : 15px;
border-left-style : solid;
border-left-color : #999999;
}
ul#button a#first {
border-top : 1px solid #000;
}
__________________
.
Village Idiot

Sydpix is offline
Reply With Quote
View Public Profile Visit Sydpix's homepage!
 
 
Register now for full access!
Old 10-17-2007, 09:58 AM Re: Weird margin issue (menu only *IE 7 vs. Firefox)
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Odd. This might have something to do with IE 7's inherited margins bug:
http://www.positioniseverything.net/...ed_margin.html

Although that refers to form elements, it could be affecting your menu.

I found some mention of a bug on :hover in IE7, but it was supposed to have been fixed in the current release.
__________________
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 Weird margin issue (menu only *IE 7 vs. Firefox)
 

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.10115 seconds with 12 queries