Can someone help with my css [solved]

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Can someone help with my css [solved]

Post by herbshirt »

Hullo,
I had someone css my page for me but since then I have made considerable changes including the height of my header. since I increased the height I can't work out how to get my main horizontal menu back into the right position.
Here: http://www.neurovision.com.au/index.php

If I decrease the height the menu returns to the correct position but doesn't display the complete graphic (180px).

You can see that the main menu should move upward to align with the horizontal graphic. I would also then like to make the hover bg meet the horizontal graphic top and bottom.

Any help greatly appreciated.

Herb.
Last edited by herbshirt on Sun Feb 10, 2008 4:56 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Can someone help with my css

Post by Dr.CSS »

Your horiz. menu is outside of the header 2 divs deep that's why it covers the header image when you down size the header, you'll have to move into the header to get what you want...
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Re: Can someone help with my css

Post by herbshirt »

Thanks Mark, fixed. But now the menu sits at the top of the page?
Last edited by herbshirt on Sun Feb 03, 2008 8:57 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Can someone help with my css

Post by Dr.CSS »

#mainmenu{position:absolute;top:108px}

Recommended reading...

http://reference.sitepoint.com/css
Last edited by Anonymous on Sun Feb 03, 2008 4:16 pm, edited 1 time in total.
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Re: Can someone help with my css

Post by herbshirt »

Getting there...

The position is right, but the links are all squashed together. I had tried the position absolute thing but not the top:108.
Also since I had tried a thousand times last night to do it myself teh oced had changed since you posted. Instead of #main it's...
#primary-nav a

Thanks for the link. I've done a lot of research actually and css still escapes me. I'll persist.

How do I unsquash?
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Re: Can someone help with my css

Post by herbshirt »

bump...anyone?
It's drivin me a bit nuts now.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Can someone help with my css

Post by Nullig »

#primary-nav a {
  position: relative;

Nullig
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Re: Can someone help with my css

Post by herbshirt »

ALMOST... Thanks Nullig... still has a small problem...

notice the rollovers?
GraemeS
Forum Members
Forum Members
Posts: 36
Joined: Sun Jan 06, 2008 6:09 pm

Re: Can someone help with my css

Post by GraemeS »

now this depends on if your rollover meant to be an image ?
Post Reply

Return to “Layout and Design (CSS & HTML)”