vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Dropdown menus in wrong spot (https://vborg.vbsupport.ru/showthread.php?t=174091)

dfc005 03-25-2008 03:18 AM

Dropdown menus in wrong spot
 
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. :)


All times are GMT. The time now is 09:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01030 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete