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
Horizontal Menu IE Bug
Old 05-27-2009, 08:52 PM Horizontal Menu IE Bug
Skilled Talker

Posts: 56
Trades: 0
I am using a ul list and there is a bug where in internet explorer it shows verticly when i'm making it horizontal. The page is available at http://futuregamespc.com/menuhorz.html
Here is the html
Code:
<div id="mcontainer" height="20px"> 
				
					<ul id="mlist" style="display:inline; list-style-type: none;" title="mlist" height="20px"> 
						<li><img src="images/menuleft.GIF" width="10" height="15"></li> 
						
						<li><a target="_top" href="index.html">Home</a></li>--
			
						<li><a target="_top" href="all_games.html">All</a> </li>--
						
						<li><a target="_top" href="racinggames.html">Racing</a></li>--
						
						<li><a target="_top" href="holidaygames.html">Holiday</a></li>--
						
						<li><a target="_top" href="multiplayergames.html">Multiplayer</a></li>--
						
						<li><a target="_top" href="sport_games.html">Sport</a></li>--
						
						<li><a target="_top" href="puzzle_games.html">Puzzle</a></li>--
						
						<li><a target="_top" href="action_adventure_games.html">Action &amp; 
						Adventure </a></li>--
						
						<li><a target="_top" href="Strategy_&_RPG_Games.html"> 
						Strategy &amp; RPG&nbsp;
						</a></li>--
						<li><a target="_top" href="shooting_games.html">Shooting</a></li>--
						<li><a target="_top" href="Miscellaneous_games.html">Miscellaneous </a></li> 
						<li> 
				
				<img src="images/menuright.GIF" width="10" height="15"></li> 
					</ul> 
					
 
					
				</div>
Here is the CSS
Code:
#mcontainer { 
	width:150px;
	display:inline;
	list-style-type: none;
	background:#212121;
	display:inline;
	list-style-type: none;
}
#mcontainer ul {
	margin: 0 0 0 0;
	padding-left: 0;
	list-style-type: none;
	display:inline;
	font-family: Arial, Helvetica, sans-serif;
	color:#fff;
	display:inline;
	list-style-type: none;
}
#mcontainer a {
	display: inline;
	list-style-type: none;
	width: 150px;
	text-align:center;
	font-weight:bold;
	display:inline;
	list-style-type: none;
}
#mcontainer a:link, #mlist a:visited {
	color:#fff;
	text-decoration: none;
	display:inline;
	list-style-type: none;
}

#mlist li
{
display: inline;
list-style-type: none;
}

#mcontainer a:hover {
	background-color: #fff;
	color: #000;
	display:inline;
	list-style-type: none;
}
pcmaster160 is offline
Reply With Quote
View Public Profile Visit pcmaster160's homepage!
 
 
Register now for full access!
Old 05-27-2009, 09:44 PM Re: Horizontal Menu IE Bug
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
#1 - put a proper DOCTYPE on your page !
#2 VALIDATE your code

After you've done those 2 things, then see where that leaves you. The display:inline belongs in the <li> element.
__________________
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 05-27-2009, 10:18 PM Re: Horizontal Menu IE Bug
Skilled Talker

Posts: 56
Trades: 0
oh thanks. I fixed it but haven't uploaded it yet.
__________________

Please login or register to view this content. Registration is FREE
Free Online Games
pcmaster160 is offline
Reply With Quote
View Public Profile Visit pcmaster160's homepage!
 
Reply     « Reply to Horizontal Menu IE Bug
 

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