vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Padding error (https://vborg.vbsupport.ru/showthread.php?t=257826)

MathewC 01-26-2011 12:25 AM

Padding error
 
Hey everyone!

It seems my drop down menus always mess up when they are within another div - see example below.

{ Header div }
{ Wrapper div}
{ Navigation div } with pop up menus { / end all divs }

What ever style effects i put on my divs they also appear on the pop up menu's say, i had text align right, the pop up menu would also be that, also say i had padding of 50px at the top, the menus will also have this when clicked on? How can i stop this anyone know?

TheLastSuperman 01-26-2011 05:12 AM

Post an example of what your doing ;).

MathewC 01-26-2011 02:13 PM

HTML Code:

                                <div id="navigation">
                <ul>
                    <li><a href="/" alt="">View Profile</a></li>
                    <li><a href="/" alt="">Account Settings</a></li>
                                <vb:if condition="$notifications_total">
                                <li class="popupmenu notifications" id="notifications">
                                        <a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a>
                                        <ul class="popupbody popuphover">
                                                {vb:raw notifications_menubits}
                                        </ul>
                                </li>
                                <vb:else />
                                <li class="popupmenu nonotifications" id="nonotifications">
                                        <a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}</a>
                                        <ul class="popupbody popuphover">
                                                <li>{vb:rawphrase no_new_messages}</li>
                                                <li><a href="private.php{vb:raw session.sessionurl_q}">{vb:rawphrase inbox}</a></li>
                                        </ul>
                                </li>
                                </vb:if>
<!-- Closes header tag -->
</div>

The padding of the popup menu has the same padding as the navigation div itself.

MathewC 09-13-2011 02:27 AM

i still get these errors, any idea why?

Lynne 09-13-2011 02:35 AM

Please post a link so we can see this and view the CSS via firebug.

MathewC 09-13-2011 02:36 AM

Can I PM you? Not wanting everyone to see the design.

Lynne 09-13-2011 03:55 PM

You may, however, I don't understand the problem at all which is why I wanted to actually see it. You have posted no images to show us what the problem is.


All times are GMT. The time now is 06:39 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.00982 seconds
  • Memory Usage 1,727KB
  • 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)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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