CSS list menus

This is a discussion on "CSS list menus" within the Web Page Design section. This forum, and the thread "CSS list menus are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 26th, 2006, 16:14
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,620
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
CSS list menus

RE url: http://temp.cksltd.co.uk/

does any one have any idea why I get this stupid get underneath the links in IE and Firefox?

PS.: I've tried:
line-height: doesn't work
height: hies sub-menu in firefox, doesn't work in ie
margins are set to zero...

Code: Select all
        /* Main Menu */
        .xm ul{ background:yellow; width:148px; border-style:solid; border-color:#a0d0fe; border-width:0px 2px 2px 0px; list-style-type:none; padding:0; margin:0px 0px 10px 0px; }
        .xm li.l1{ width:148px; display:block; }
        .xm a.l1{ line-height:30px; overflow:hidden;    font-weight:bold; text-decoration:none; }
        .xm a.l1:link, .xm a.l1:visited{ color:#656556; border-style:solid; border-color:#fff; border-width:1px 0px 0px 0px; display:block; background:url(/img/menu-bg.gif) top left no-repeat; background-position:0px 0px; padding:0px 0px 0px 20px; }
        .xm a.l1:hover, .xm a.l1.Active{ color:#474739; border-color:#a0d0fe !important; background-position:0px -30px !important; }
        
        .xm ul.l2{ padding:0;margin:0; border:0; overflow:hidden; }
        .xm li.l2{ width:120px; margin:0px 0px 0px 20px; overflow:hidden; }
        .xm a.l2{ line-height:14px; height:14px; overflow:hidden;    font-weight:normal; display:block; background:url('/img/menu-bg-small.gif') left center no-repeat; padding:3px 3px 3px 20px;margin:0px;    border:0; display:block; }
        .xm a.l2:link, .xm a.l2:visited{  }
        .xm a.l2:hover, .xm a.l2.Active{ color:#090; }
Attached Images
File Type: jpg css.jpg (17.5 KB, 34 views)
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Reply With Quote

  #2 (permalink)  
Old Jul 26th, 2006, 17:17
Reputable Member
Join Date: Jul 2005
Posts: 400
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS list menus

You really need to stop compressing your source code so that people can look at it and help! aaaaaaaaaaaaaaahhhhhhhhhhhhhhhhhhh!
Reply With Quote
  #3 (permalink)  
Old Jul 26th, 2006, 17:31
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,620
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
Re: CSS list menus

LOL, sorry...
it's done now.........


PS.: don't you use firefox? I always use the clean up code function (on any site)
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Reply With Quote
  #4 (permalink)  
Old Jul 26th, 2006, 17:43
Reputable Member
Join Date: Jul 2005
Posts: 400
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS list menus

I like how the AIS toolbar works in IE. FF is ok, but I'm not a big fan. It's clunky and images take forever to load compared to IE. I can watch each image turn from X's to images in FF.

(puts on fire protection for the heat I'm about to receive)
Reply With Quote
  #5 (permalink)  
Old Jul 26th, 2006, 17:54
Reputable Member
Join Date: Jul 2005
Posts: 400
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS list menus

Wow man, you have quite a maze of css code going on there. I would like to help, but it's going to take some time to decipher all that. Not sure when I can get to it.
Reply With Quote
  #6 (permalink)  
Old Jul 26th, 2006, 18:11
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,620
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
Re: CSS list menus

The banners: yeah, still need to optimize those..........
The round corner boxes: it may seem the images talke a while to load, but they only load after the page has finished loading (a script dynamically sets the background)

But anyway, DUDE, this isn't up for critique! Focus!
All the css you need is on my first post...

------
Quote:
Originally Posted by mreine
(puts on fire protection for the heat I'm about to receive)
ROFLMAO!
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Reply With Quote
  #7 (permalink)  
Old Jul 26th, 2006, 20:31
Reputable Member
Join Date: Jul 2005
Posts: 400
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS list menus

I wasn't refering to your page, I was refereing to FF in general being a slower and crappier browser. All I hear is how great FF is, but it always sucks when I use it. That's why I was going to put on the fire protection to take the heat from all the FF lovers!
Reply With Quote
  #8 (permalink)  
Old Jul 27th, 2006, 15:01
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,761
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: CSS list menus

It runs better under Linux and OS X than Windows unfortunately but its due to Windows not FF code imo. Although under OS X it doesn't quite fit the OS X Human Interface Guidelines but I like using it anyway.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #9 (permalink)  
Old Jul 27th, 2006, 15:38
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,620
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
Re: CSS list menus

Oh, stupid me, completelly mis-read your post. Anyway...

You might be interested to know that 2 weeks ago I decided to switch altogether to FF. It's now my default browser and I don't think I'll be going back.

What you need are some nice extensions and you'll fall in love with it, I guarantee it!

PS.: I'll post urls here in a minute....
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Reply With Quote
  #10 (permalink)  
Old Jul 27th, 2006, 16:31
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,761
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: CSS list menus

The extensions are simply awesome. very handy. Not sure why I like it more than Safari but eh I just do.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #11 (permalink)  
Old Jul 27th, 2006, 17:09
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,620
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
Re: CSS list menus

Almost forgot, LOL

1. JSView: Debugging and source code stuff...
2. Total Validator: as the mane suggests...
3. Firebug: Debugging and source code stuff...
4. GMail Manager: pretty neat...
5. WebDeveloper toolbar: YOU MUST HAVE THIS
6. IE Tab: Let's you see pages in FF using the IE engine. It's IE and Firefox in one.
7. SEOpen: neat SEO tools

and a few other beauties.... check the plugins page:
https://addons.mozilla.org/
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Reply With Quote
Reply

Tags
css, list, menus

Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a list for navigation, can you center a list? tonyb Web Page Design 4 May 9th, 2008 16:26
2 Drop down list - auto select depending on choice from first list ciaranleeper JavaScript Forum 0 Mar 26th, 2008 10:38
Spacing between list items incorrect when span tag is used in a list item... MikeTheVike Web Page Design 5 Apr 18th, 2007 01:52
menus in css cressy Web Page Design 12 Apr 15th, 2007 12:42
menus benbacardi JavaScript Forum 5 Jun 29th, 2004 09:31


All times are GMT. The time now is 22:15.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43