Results 1 to 7 of 7

Thread: A little CSS Help Needed

  1. #1
    HSK
    HSK is offline
    Over Worked & Under Paid HSK's Avatar
    Join Date
    Nov 2007
    Location
    West London
    Posts
    2,369
    Thanks
    451
    Thanked
    139 times in 111 posts
    • HSK's system
      • Motherboard:
      • Asus Z87-Pro Socket 1150 DVI HDMI DisplayPort 8-channel Audio ATX Motherboard
      • CPU:
      • Intel Core i7 4770K 3.50GHz Socket 1150 8MB Cache
      • Memory:
      • Corsair Vengeance LP Memory CML16GX3M2A1600C9 16GB 1600MHz CL9 DDR3
      • Storage:
      • Seagate 2TB BARRACUDA 3.5" SATA-III Hard Drive - 7200RPM 64MB Cache X 2 + Samsung 256GB 840 Pro SSD
      • Graphics card(s):
      • Point Of View 8800GTS 512mb PCIE DVI
      • PSU:
      • Corsair Professional AX860 Fully Modular 80 PLUS Platinum 860W PSU
      • Case:
      • Corsair Graphite 600T Mesh Black Case
      • Operating System:
      • Windows 8.1
      • Monitor(s):
      • Dell UltraSharp U2713HM 69cm (27")
      • Internet:
      • Plus.net

    Question A little CSS Help Needed

    Hey guys, I'm hopeful someone could help me out with this little frustration I'm having...

    A friend gave me a concept he made, I'm putting it together for him...I have basic understanding of CSS - but the site isn't really complex.

    Styling the menu is doing my head in though - I used Dreamweaver's spry plug-in to stick in a menu, I've got it styled just about right, but there one conflict I can't iron out (or too dumb enough to see).

    http://www.kalay.co.uk/test/wacfoo/index.html

    If you hover over the main menu item of "photography" you get a drop down of sub menu items, which are in orange (for demo purposes). I want to be able to specify a background color/image when hovering over those, but at the moment it is pulling the blue gradient from the main main items.

    When I change things, I end up changing other things I want to stay as they are.

    Just want to get a hover specific to over the submenu items.


    Any help would be greaaat!!
    Last edited by HSK; 06-03-2010 at 04:09 PM.

  2. #2
    Not a good person scaryjim's Avatar
    Join Date
    Jan 2009
    Location
    Gateshead
    Posts
    15,196
    Thanks
    1,231
    Thanked
    2,291 times in 1,874 posts
    • scaryjim's system
      • Motherboard:
      • Dell Inspiron
      • CPU:
      • Core i5 8250U
      • Memory:
      • 2x 4GB DDR4 2666
      • Storage:
      • 128GB M.2 SSD + 1TB HDD
      • Graphics card(s):
      • Radeon R5 230
      • PSU:
      • Battery/Dell brick
      • Case:
      • Dell Inspiron 5570
      • Operating System:
      • Windows 10
      • Monitor(s):
      • 15" 1080p laptop panel

    Re: A little CSS Help Needed

    you need a declaration in your stylesheet for .submenu:hover setting the appropriate background, but be warned that spry uses javascript and so it might write over your settings with whatever it feels is most appropriate. There are ways to do this just in CSS that you'd be better off following if you've got the time to invest in learning it properly...

  3. #3
    HSK
    HSK is offline
    Over Worked & Under Paid HSK's Avatar
    Join Date
    Nov 2007
    Location
    West London
    Posts
    2,369
    Thanks
    451
    Thanked
    139 times in 111 posts
    • HSK's system
      • Motherboard:
      • Asus Z87-Pro Socket 1150 DVI HDMI DisplayPort 8-channel Audio ATX Motherboard
      • CPU:
      • Intel Core i7 4770K 3.50GHz Socket 1150 8MB Cache
      • Memory:
      • Corsair Vengeance LP Memory CML16GX3M2A1600C9 16GB 1600MHz CL9 DDR3
      • Storage:
      • Seagate 2TB BARRACUDA 3.5" SATA-III Hard Drive - 7200RPM 64MB Cache X 2 + Samsung 256GB 840 Pro SSD
      • Graphics card(s):
      • Point Of View 8800GTS 512mb PCIE DVI
      • PSU:
      • Corsair Professional AX860 Fully Modular 80 PLUS Platinum 860W PSU
      • Case:
      • Corsair Graphite 600T Mesh Black Case
      • Operating System:
      • Windows 8.1
      • Monitor(s):
      • Dell UltraSharp U2713HM 69cm (27")
      • Internet:
      • Plus.net

    Re: A little CSS Help Needed

    Hmm yes, I think I did try that, but as you say spry is replacing what I've done...I think I may be stuck with it.

    I def would love to learn, but time isn't on my side I shall research.

    Cheers scaryjim!

  4. #4
    Not a good person scaryjim's Avatar
    Join Date
    Jan 2009
    Location
    Gateshead
    Posts
    15,196
    Thanks
    1,231
    Thanked
    2,291 times in 1,874 posts
    • scaryjim's system
      • Motherboard:
      • Dell Inspiron
      • CPU:
      • Core i5 8250U
      • Memory:
      • 2x 4GB DDR4 2666
      • Storage:
      • 128GB M.2 SSD + 1TB HDD
      • Graphics card(s):
      • Radeon R5 230
      • PSU:
      • Battery/Dell brick
      • Case:
      • Dell Inspiron 5570
      • Operating System:
      • Windows 10
      • Monitor(s):
      • 15" 1080p laptop panel

    Re: A little CSS Help Needed

    Hmmm, if you tried that setting and it didn't work then spry is definitely doing its own thing instead of what you want. You could dig through the javascript, there's probably a way of sorting it out - I'll have a quick look later and see if I can spot anything obvious.

    No worries anyway, it was nice to break off worrying about my own CSS problems to look at someone else's! One of these days I'll learn to say no when one of my parents asks me to do them a website

  5. #5
    HSK
    HSK is offline
    Over Worked & Under Paid HSK's Avatar
    Join Date
    Nov 2007
    Location
    West London
    Posts
    2,369
    Thanks
    451
    Thanked
    139 times in 111 posts
    • HSK's system
      • Motherboard:
      • Asus Z87-Pro Socket 1150 DVI HDMI DisplayPort 8-channel Audio ATX Motherboard
      • CPU:
      • Intel Core i7 4770K 3.50GHz Socket 1150 8MB Cache
      • Memory:
      • Corsair Vengeance LP Memory CML16GX3M2A1600C9 16GB 1600MHz CL9 DDR3
      • Storage:
      • Seagate 2TB BARRACUDA 3.5" SATA-III Hard Drive - 7200RPM 64MB Cache X 2 + Samsung 256GB 840 Pro SSD
      • Graphics card(s):
      • Point Of View 8800GTS 512mb PCIE DVI
      • PSU:
      • Corsair Professional AX860 Fully Modular 80 PLUS Platinum 860W PSU
      • Case:
      • Corsair Graphite 600T Mesh Black Case
      • Operating System:
      • Windows 8.1
      • Monitor(s):
      • Dell UltraSharp U2713HM 69cm (27")
      • Internet:
      • Plus.net

    Re: A little CSS Help Needed

    ha, I know that feeling too well. Gotta say no next time.

  6. #6
    HSK
    HSK is offline
    Over Worked & Under Paid HSK's Avatar
    Join Date
    Nov 2007
    Location
    West London
    Posts
    2,369
    Thanks
    451
    Thanked
    139 times in 111 posts
    • HSK's system
      • Motherboard:
      • Asus Z87-Pro Socket 1150 DVI HDMI DisplayPort 8-channel Audio ATX Motherboard
      • CPU:
      • Intel Core i7 4770K 3.50GHz Socket 1150 8MB Cache
      • Memory:
      • Corsair Vengeance LP Memory CML16GX3M2A1600C9 16GB 1600MHz CL9 DDR3
      • Storage:
      • Seagate 2TB BARRACUDA 3.5" SATA-III Hard Drive - 7200RPM 64MB Cache X 2 + Samsung 256GB 840 Pro SSD
      • Graphics card(s):
      • Point Of View 8800GTS 512mb PCIE DVI
      • PSU:
      • Corsair Professional AX860 Fully Modular 80 PLUS Platinum 860W PSU
      • Case:
      • Corsair Graphite 600T Mesh Black Case
      • Operating System:
      • Windows 8.1
      • Monitor(s):
      • Dell UltraSharp U2713HM 69cm (27")
      • Internet:
      • Plus.net

    Re: A little CSS Help Needed

    Actually, it's sorted now. I just tried what you suggested Jim - and it worked, so I have no idea what I had done before :\ Because I was trying something like that.

    But it's all ok now, thanks!!

  7. #7
    Not a good person scaryjim's Avatar
    Join Date
    Jan 2009
    Location
    Gateshead
    Posts
    15,196
    Thanks
    1,231
    Thanked
    2,291 times in 1,874 posts
    • scaryjim's system
      • Motherboard:
      • Dell Inspiron
      • CPU:
      • Core i5 8250U
      • Memory:
      • 2x 4GB DDR4 2666
      • Storage:
      • 128GB M.2 SSD + 1TB HDD
      • Graphics card(s):
      • Radeon R5 230
      • PSU:
      • Battery/Dell brick
      • Case:
      • Dell Inspiron 5570
      • Operating System:
      • Windows 10
      • Monitor(s):
      • 15" 1080p laptop panel

    Re: A little CSS Help Needed

    Good stuff Maybe spry isn't the devil-spawn I'd always considered it after all!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. New Laptop needed, recommendations needed.
    By Zyte in forum PC Hardware and Components
    Replies: 3
    Last Post: 26-12-2008, 03:28 PM
  2. A lil CSS help needed
    By HSK in forum Software
    Replies: 6
    Last Post: 23-11-2008, 07:38 PM
  3. Website Help Needed
    By HSK in forum Software
    Replies: 4
    Last Post: 17-08-2008, 11:09 PM
  4. CSS Help
    By Basher in forum Software
    Replies: 19
    Last Post: 10-09-2003, 08:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •