NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Design Discussion
Reload this Page CSS Menu

Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms.

Advanced Search
9 members in live chat ~  
NamePros Design Contests NamePros Design Contests
Forum Sponsorship
Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest)



Closed Thread
 
LinkBack Thread Tools
Old 06-21-2005, 07:59 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: Jun 2005
Posts: 15
Albatross is an unknown quantity at this point
 



CSS Menu


I've been trying my first CSS, multi-levelled rollover menu, and it's turning out to be one hell of a headache. The second level (the sub-menu that appears when you roll the mouse over) is proving to be quite hard to get working.

Right now, I've got it working just fine on Safari. On Firefox, the menu drops down fine, but you can only select the first item. If you move the mouse down further, the sub-menu disappears as though you had moved the cursor off of it. I had been having a similar problem in Safari because the menu was dropping down behind the div below it, but raising the z-index fixed it. In Firefox though the menu appears on top of the div below, as it should.

On IE6, the problem is worse. When you roll over a menu which should have sub-menus, nothing happens. I don't really know where to go from here.

The basic structure of the site is pretty simple. In pseudo-CSS:

<div mainbody>
????: NamePros.com http://www.namepros.com/web-design-discussion/100696-css-menu.html
<div menubar>
<end menubar>

<div leftside>
<end leftside>

<div rightside>
<end rightside>

<end mainbody>

The page is at http://www.waveformsoftware.com/design/index.htm and the CSS file is at http://www.waveformsoftware.com/design/design.css. The CSS file is commented to make it a bit easier to read. Any help would be greatly appreciated.
Albatross is offline  
Old 06-22-2005, 05:56 AM   #2 (permalink)
New Member
Join Date: Jun 2005
Location: Bombay, India
Posts: 17
harjitsingh is an unknown quantity at this point
 



Try this CSS, it should work


This Part goes in the Head

<style type="text/css">
body {font-size:1%; color:#fff;}.menu {display:none;}
.holder {color:#000; width:90px; height:18px; display:block; background:#dca; border:1px solid #000; margin-right:1px; text-align:center; float:left; text-decoration:none; font-family:tahoma, vardana, arial, sans-serif; font-size:10px; line-height:18px; overflow:hidden;}
.holder:hover {height:auto; cursorointer;color:#fff; background:#000;}
a.inner, a.inner:visited {display:block; width:89px; height:18px; border-bottom:1px solid #000; text-decoration:none; color:#000; background:#eee;}
a.inner:hover {background:#add;}
p { color:#000; font-size:16px;}
</style>


This is goes in the body part

<div class="menu">
<a class="outer" href="page1.html">MENU 1
<table><tr><td>
<a class="inner" href="page1a.html">Page 1a</a>
<a class="inner" href="page1b.html">Page 1b</a>
????: NamePros.com http://www.namepros.com/showthread.php?t=100696
<a class="inner" href="page1c.html">Page 1c</a>
<a class="inner" href="page1d.html">Page 1d</a>
<a class="inner" href="page1e.html">Page 1e</a>
</td></tr></table>
</a>

<a class="outer" href="page1.html">MENU 2
<table><tr><td>
<a class="inner" href="page2a.html">Page 2a</a>
<a class="inner" href="page2b.html">Page 2b</a>
<a class="inner" href="page2c.html">Page 2c</a>
<a class="inner" href="page2d.html">Page 2d</a>
</td></tr></table>
</a>
</div>

<div class="holder">
MENU 1<br />
<a class="inner" href="page1a.html">Page 1a</a>
<a class="inner" href="page1b.html">Page 1b</a>
<a class="inner" href="page1c.html">Page 1c</a>
<a class="inner" href="page1d.html">Page 1d</a>
<a class="inner" href="page1e.html">Page 1e</a>
</div>
<div class="holder">
MENU 2<br />
<a class="inner" href="page2a.html">Page 2a</a>
<a class="in聮er" href="page2b.html">Page 2b</a>
<a class="inner" href="page2c.html">Page 2c</a>
<a class="inner" href="page2d.html">Page 2d</a>
</div>

Hope this works for you
HarRy
harjitsingh is offline  
Old 06-22-2005, 10:57 AM THREAD STARTER               #3 (permalink)
New Member
Join Date: Jun 2005
Posts: 15
Albatross is an unknown quantity at this point
 



Unfortunately, that made it so that every time a second-level menu dropped down, it pushed down the rest of the page. If it flipped back up, the page moved back up, so the effect is a little distracting.
Albatross is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
cascading menu magicpatrick Programming 0 04-10-2005 01:09 PM
Drop down menu matej.barac Programming 2 11-27-2004 02:07 PM
CSS MENU - Mozilla Hack please!!!! tot Programming 0 05-12-2004 07:03 AM
inserting dhtml menu knightthrone Programming 9 11-24-2003 11:46 AM

 
All times are GMT -7. The time now is 07:11 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger