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 Menu looks different in IE and Mozilla
Old 02-23-2010, 05:26 AM CSS Menu looks different in IE and Mozilla
Junior Talker

Posts: 1
Name: suthahar
Trades: 0
Below is my CSS and html Code...

1.I'm facing a problem with the menu like it looks perfect in Firefox and the same varies in IE...can anyone help me to get out of this..

2.I have some sub menu for a single base menu and i need an dotted arrow from base menu to all sub menus to show that the submenu comes under certain category(Not dynamic)

Eg:
Base menu
.
.
....>Sub menu
.
.
....>sub menu
.
.
.....>sub menu


CSS
~~
HTML Code:
*{margin:0;padding:0;border:0;} 
Body{ 
padding: 0px; 
margin: 0px; 
} 
 
/* Global */ 
*{ 
font-size: 12px; 
font-family: "Courier New", Courier, monospace; 
} 
 
/* Unique Id For Top Menu */ 
#TopMenu { 
/*width: 220px; line-height: 24px; list-style-type: none; margin: 0px; padding: 0px; background-color: #6CA7D3;*/ 
width: 220px; line-height: 24px; list-style-type: none; margin: 0px; padding: 0px; background-color: #7EADAD; 
} 
#TopMenu a { 
display: block; width: 210px; padding-left: 10px; 
} 
#TopMenu a:link { 
color:#FFF; text-decoration:none; 
} 
#TopMenu a:visited { 
color:#FFF;text-decoration:none; 
} 
#TopMenu a:hover { 
color:#FFF;text-decoration:none; 
} 
 
#TopMenu li { 
width: 100%; 
} 
#TopMenu li a { 
border-bottom: 1px solid #FFF; 
} 
#TopMenu li a:hover{ 
background:#2782BB; 
} 
#TopMenu li a:focus{ 
background:#2782BB; 
} 
#TopMenu li ul { 
 
list-style-type: none; 
text-align:left;  
display:block;  
width: 180px;  
 
} 
#TopMenu li ul li{ 
width: 180px; background: #F6F6F6; 
} 
 
#TopMenu li ul a{ 
width: 156px;text-align:left;padding-left:24px; 
border-bottom-color:#000000; 
} 
#TopMenu li ul a:link { 
color:#666; text-decoration:none; 
} 
#TopMenu li ul a:visited { 
color:#666;text-decoration:none; 
} 
#TopMenu li ul a:hover { 
color:#FFF;text-decoration:none; background:#2782BB; 
} 
#TopMenu li ul a:focus { 
color:#FFF;text-decoration:none; background:#2782BB; 
} 
 
#TopMenu li:hover ul { 
display: block; 
} 
#TopMenu li.sfhover ul { 
display: block; 
} 
//--> 

HTML
~~~~
HTML Code:
<ul id="TopMenu"> 
<li><a href="#">Home</a></li> 
<li><a href="#">About Us</a></li> 
<li><a href="#">Herschel Technologies</a> 
<ul> 
<li><a href="#">Software Training/IT-Enabled Services</a></li> 
<li><a href="#">Integrated Technologies-ELV/BMS</a></li> 
<li><a href="#">Hardware & Networking</a></li> 
<li><a href="#">HR Consulting</a></li> 
<li><a href="#">Visual Electronics</a></li> 
<li><a href="#">Distributorship</a></li> 
</ul> 
</li> 
<li><a href="#">Herschel Travels</a></li> 
<li><a href="#">Contact Us</a></li> 
</ul>

Last edited by chrishirst; 02-23-2010 at 07:36 AM..
suthaharmca is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-23-2010, 07:37 AM Re: CSS Menu looks different in IE and Mozilla
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
URI needed.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to CSS Menu looks different in IE and Mozilla
 

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