25-06-2008, 16:05 | #1 |
Absinthe
Join Date: Sep 2007
Location: Leighton Buzzard
Posts: 1,282
|
Some CSS help s’il vous plaît
Right I've just finished Uni and for my final year project I took on a lecturer's site to redesign.
http://www.firstyearmatters.info/cs/ This is what I ended up doing. http://www.firstyearmatters.info/new/ The lecturer is now further working on my design and adding a forum etc. What he's asked me to do is to reorganise the layout of the menu on http://www.firstyearmatters.info/new/ so that it is at the top and horizontal like the http://www.firstyearmatters.info/cs is. Now I'm having problems doing this. I've changed the CSS that I think should control this and the damned menu won't go from being vertical to horizontal so I ask ye for ye kinded wisdom. I've uploaded a sample page with just the menu and the CSS file for it to my site. If anyone could have a look and see what I'm doing wrong and what I need to do I'd be most grateful. HTML: http://www.marclister.co.uk/salford/fym.html CSS: http://www.marclister.co.uk/salford/default.css |
25-06-2008, 16:39 | #2 |
Screaming Orgasm
Join Date: Jul 2006
Location: Newbury
Posts: 15,194
|
This is the site I use to help out with the majority of my list/menu stuff:
http://css.maxdesign.com.au/listamatic/ |
25-06-2008, 16:50 | #3 |
Absinthe
Join Date: Sep 2007
Location: Leighton Buzzard
Posts: 1,282
|
Mark thanks for replying. I've had a look on there and have actually started a horizontal menu. However I'm not able to get it to look exactly like the vertical menu.
I was kind of hoping that I could just change the CSS I have now to switch the current menu from vertical to horizontal without faffing around making a new one to match. |
25-06-2008, 17:24 | #4 | |
Screaming Orgasm
Join Date: Jul 2006
Location: Newbury
Posts: 15,194
|
Changes needed:
Quote:
http://www.ouroboros.me.uk/tmp/default.css Well, it's a start. Firefox 2 seems to be OK with the changes, haven't tried anything else. PS - If it's OK with you, for my trouble I'd like to 'acquire' that menu code for my own site. |
|
25-06-2008, 17:50 | #5 |
Absinthe
Join Date: Sep 2007
Location: Leighton Buzzard
Posts: 1,282
|
What does 32d31, 48d46 etc mean?
And but of course. Officially the copyright is with the University of Salford so don't shout it from the roof but course you can sir. |
25-06-2008, 17:55 | #6 |
Screaming Orgasm
Join Date: Jul 2006
Location: Newbury
Posts: 15,194
|
It's a 'diff' report (Linux geekery). The main thing for putting it there was just to give you a clue what I changed. The numbers are line numbers in the file, d is delete, a is add, c is change.
|
25-06-2008, 18:00 | #7 |
Absinthe
Join Date: Sep 2007
Location: Leighton Buzzard
Posts: 1,282
|
Right.
I'll just copy the code from the link. Thanks. You genius! It works. Got some tweaks to make to make it proper but the back of the beast is broken! It's horizonal. |
25-06-2008, 19:00 | #8 |
Screaming Orgasm
Join Date: Jul 2006
Location: Newbury
Posts: 15,194
|
Just process of elimination dude. I only had a rough idea what it needed, so inserted the bits I knew were needed, and then stumbled about finding why it didn't work and removing/changing those bits.
|
25-06-2008, 19:15 | #9 | ||
Absinthe
Join Date: Sep 2007
Location: Leighton Buzzard
Posts: 1,282
|
Could you help me again?
The menu items on the drop-down aren't breaking onto new lines. So say for Study the items should be: Quote:
Quote:
Forgot to say I've uploaded a newer CSS file so that it now only contains the CSS I believe is responsible for the menu. Should make it easier to look at it all. |
||
25-06-2008, 19:36 | #10 |
Screaming Orgasm
Join Date: Jul 2006
Location: Newbury
Posts: 15,194
|
Added this, seems to help in Firefox:
Code:
#menu li:hover > ul li { display:block; } |