Log in

View Full Version : Dropdown menus in wrong spot


dfc005
03-25-2008, 03:18 AM
Hi,

I recently added my own custom header to my vbulletin forum and now my dropdown menus appear halfway down the page rather than where they should.

I assume it's because I'm using CSS to show the header. The dropdowns look like they are pushed down the page about equal to what the new header takes up.

Any ideas on how to fix this? Or what I'm doing wrong?

Cheers!

Opserty
03-25-2008, 10:46 AM
It could be any number of reasons.

If you try it without the custom header/style do they work normally?
If yes, then what CSS are you using to position you header?

Can you provide a link to?

dfc005
03-25-2008, 10:56 AM
Yeah, without the header, the links work fine.

To position the header my CSS has heaps of different parts to position the various aspects of the header. I'm not really a CSS guru so not sure which bit might be breaking it.

Got a few { display: block; height: xx }, they might be doing it I guess?

Plus got lots of { float: left, height: xx }...

Opserty
03-25-2008, 11:00 AM
Anything like position:absolute or position:relative?

dfc005
03-25-2008, 11:15 AM
Bingo!

A remnant of a past attempt at positioning the header. Removed the position:relative and we're looking good.

Thanks mate!

Opserty
03-25-2008, 11:25 AM
Your welcome. :)