View Full Version : Padding error
MathewC
01-26-2011, 12:25 AM
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
<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, 01:27 AM
i still get these errors, any idea why?
Lynne
09-13-2011, 01:35 AM
Please post a link so we can see this and view the CSS via firebug.
MathewC
09-13-2011, 01:36 AM
Can I PM you? Not wanting everyone to see the design.
Lynne
09-13-2011, 02: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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.