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
(shocker) IE displaying menu... diagonally
Old 01-23-2010, 08:53 PM (shocker) IE displaying menu... diagonally
Skilled Talker

Posts: 87
Trades: 0
I'd be elated if IE showed my menu horizontally.
I'd be okay if IE showed my menu vertically, 'cause at least it's a common problem.

However... it's showing my menu diagonally. Which is EXTREMELY weird.

This is a snapshot by Adobe Browser Labs with IE 7 on Windows XP:



HTML code:

Code:
<ul id="nav">
				<li class="nav-link"><a href="http://www.nerld.co.cc/index.php">Home</a></li>
				<li class="nav-link"><a href="http://www.nerld.co.cc/school/index.php">School</a></li>
				<li class="nav-link"><a href="http://www.nerld.co.cc/nerlife/index.php">NerLife</a></li>
				<li class="nav-link"><a href="http://www.nerld.co.cc/forum/">Forum</a></li>
				<li class="nav-link"><a href="http://www.nerld.co.cc/about/index.php">About</a></li>
                <li class="nav-link"><a href="http://www.nerld.co.cc/search.php">Search</a></li>
				<li class="nav-link"><a href="http://www.nerld.co.cc/sitemap/index.php">Sitemap</a></li>
			</ul>
CSS Code:

Code:
#nav
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: small;
cursor: default;
width: 100%;
float: left;
border:1px solid #42432d;
border-width: 3px 1px;
display: inline;
}

#nav a:link,
#nav a:visited {
color:#000000;
padding:10px 20px 10px 20px;
float:left;
width:auto;
border-right:1px solid #42432d;
text-decoration:none;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
}

#nav a:hover {
color:#FFFFFF;
background-color:#0000CC;
}
Just reminds me again of how limited my CSS knowledge is. Thanks for all help!

PS can anyone tell me how to put my Google Search thingy all on one line? Again, all other browsers are fine except for IE. Thanks!
__________________

Please login or register to view this content. Registration is FREE
- The most comprehensive online resource for students and educators.

Last edited by yuechen; 01-23-2010 at 08:54 PM.. Reason: more questions
yuechen is offline
Reply With Quote
View Public Profile Visit yuechen's homepage!
 
 
Register now for full access!
Old 01-24-2010, 11:53 AM Re: (shocker) IE displaying menu... diagonally
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
it's showing my menu diagonally. Which is EXTREMELY weird.
Nothing weird about it -- add display:inline to your <li> items or float them, either one will fix the problem.
__________________
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 (shocker) IE displaying menu... diagonally
 

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