Le 30 mai 2013 à 02:54, Dan McCullough <[email protected]> a écrit :
> I have a test site where the top nav should be lining up however it has > shifted off an to the right and I have looked at the code several times and > now my eyes are crossed and I am pulling whats left of my hair out. > > Can someone take a look and tell me what I cannot see .. its normally > something simple .. oh and yes the menu had been working until I made the > content dynamic vs static. http://bit.ly/10Hm4xx I'm not sure what you mean, or what I should see… Describing: a navigation block that is close to the black bar at the top. Mousing over *some* menu-items, a drop down appears, below the light greyish-with-gradient block. Oh, and when mousing over the menu-items, the colour switches to white (from '#navigation a:hover' in all.css). The submenu (div class="drop") drops below the greyish-with-gradient block because of this (in all.css, line 50): > div::after, ul::after, ul li::after { > content:""; > display:block; > clear:both; /* <---------------- */ What is happening: the generated content drops below the image on the left of the page (what appears to be the company logo or something like that). I guess you intend to use that as a sort of clear-fix, however using those generic selectors (div, ul) is a bit of sledgehammer… Philippe -- Philippe Wittenbergh http://l-c-n.com ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
