Old 19-09-2005, 03:26   #1 (permalink)
Clixxx
O'Shea
 
Clixxx's Avatar
 
Join Date: Apr 2005
Posts: 21
CSS Problem

I like the navigation on the following site. I know it is in flash but i am wondering if there is a way to do this in CSS?

www.stylemysite.co.uk
  Reply With Quote
Old 19-09-2005, 03:32   #2 (permalink)
pgo
Senior Member
 
Join Date: Jan 2005
Posts: 12,340
Sure. You couldn't animate things per say, but you could add margins/padding to the hover effect to make links "move" when you hover over them.

I've done this before.
  Reply With Quote
Old 19-09-2005, 03:34   #3 (permalink)
Clixxx
O'Shea
 
Clixxx's Avatar
 
Join Date: Apr 2005
Posts: 21
I mean like, could you have it "hanging" over the edge of say a container, header or something of the sort?
  Reply With Quote
Old 19-09-2005, 03:39   #4 (permalink)
pgo
Senior Member
 
Join Date: Jan 2005
Posts: 12,340
Ohhh. Sure. Maybe do a <div id="header"><ul>...nav...</ul></div> and then apply a big background image to the div with the "navigation" box as part of the image. Then just position the <ul> so it sits over that part of the image.

That'd be the simplest way. Either that or you could do a combination of background images to make the <ul> scalable. You'd probably have to use z-index for that. Might be able to do it with floats.
  Reply With Quote
Old 19-09-2005, 03:42   #5 (permalink)
Clixxx
O'Shea
 
Clixxx's Avatar
 
Join Date: Apr 2005
Posts: 21
Cheers, Thanks for the help.
  Reply With Quote
Old 19-09-2005, 03:47   #6 (permalink)
pgo
Senior Member
 
Join Date: Jan 2005
Posts: 12,340
Naturally, you'll have to set specified widths for both the header container and the nav ul.

And you're welcome.
  Reply With Quote
Old 19-09-2005, 05:43   #7 (permalink)
aspiramedia
Unregistered user
 
aspiramedia's Avatar
 
Join Date: Aug 2005
Posts: 312
I'd go with the first solution. The z-index method may present some problems.
  Reply With Quote
Old 19-09-2005, 05:45   #8 (permalink)
pgo
Senior Member
 
Join Date: Jan 2005
Posts: 12,340
Quote:
Originally Posted by aspiramedia
I'd go with the first solution. The z-index method may present some problems.
You're probably right. I just suggested method 2 - as it would be more flexible (which often, as you suggest, means 'problematic')
  Reply With Quote
Old 19-09-2005, 08:54   #9 (permalink)
lucidcreations
Part of the 3 out of 4
 
lucidcreations's Avatar
 
Join Date: Feb 2003
Location: cheshire
Posts: 2,079
Isn't it amazing the amount of people who still think things can't be over lapped.
__________________
Jase
  Reply With Quote
Old 19-09-2005, 08:57   #10 (permalink)
pgo
Senior Member
 
Join Date: Jan 2005
Posts: 12,340
You can overlap things!?
  Reply With Quote
Old 19-09-2005, 09:01   #11 (permalink)
lucidcreations
Part of the 3 out of 4
 
lucidcreations's Avatar
 
Join Date: Feb 2003
Location: cheshire
Posts: 2,079
no, I was dreaming out loud.
__________________
Jase
  Reply With Quote
Old 19-09-2005, 09:04   #12 (permalink)
pgo
Senior Member
 
Join Date: Jan 2005
Posts: 12,340
Why get my hopes up like that? You evil bastard.
  Reply With Quote
Reply



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

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8