[ Midtown Madness 2 Central ] [ Midtown Madness 2 Central ]

Midtown Madness 2 Central > Technical Support > Fixing "Block" Link CSS for IE7 and above
View previous topic | View next topic
Author
Message Post new topicReply to topic
Bradley_Wint
MM2C Guru

Joined: 18 Sep 2006
Posts: 1640


Status: Offline


Xbox Live Gamertag:
braddor
Post subject: Fixing "Block" Link CSS for IE7 and above Reply with quote

So Im writing CSS and HTML for my site, but realized displaying the "block" display element didn't work in IE8 Beta 2 but works fine in all other browsers.

As you can see in the pic below (FF), the block effect and text color change are in action when the mouse passes over.


However in IE, the block effect doesn't work...only the text color change...


Any ideas how I could get that to show?

Here is my CSS that I currently have in place as well. The pics I show you are controlled by UL and LI tags. (I know the CSS is a bit redundant, but I'll fix it soon)

Code:
#headlines ul {
   margin-top: 0px;
   margin-right: 0px;
   margin-bottom: 0px;
   margin-left: 10px;
   list-style-type: none;
   padding-top: 0px;
   padding-right: 0px;
   padding-bottom: 0px;
   padding-left: 0px;
}
#headlines li {
   border-bottom-width: 1px;
   border-bottom-style: solid;
   border-bottom-color: #999999;
   width: 280px;
}
#headlines ul a {
   font-family: Geneva, Arial, Helvetica, sans-serif;
   font-size: 12px;
   color: #333333;
   text-decoration: none;
   width: 280px;
   display: block;
   padding-top: 5px;
   padding-bottom: 5px;
}
#headlines ul a:hover {
   color: #FFFFFF;
   width: 280px;
   display: block;
   background-color: #999999;
   padding-top: 5px;
   padding-bottom: 5px;
Post 11 Dec 2008 05:45 am
View user's profile Send private message
Display posts from previous: Post new topicReply to topic

Page 1 of 1 All times are GMT


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Home - MM2C.com - Contact - Staff & Seniors - FAQ - Community Rules - Syndication


Powered by phpBB © 2001, 2005 phpBB Group