- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi
Im haveing some alignment problems with my sub-nav menu, lining up directly under the top-nav menu.
It seems to be aligned to the right
Can anyone help identify the code to fix the vertical alignment ?
http://cssdeck.com/labs/iczlsfzf
Thanks
Try this
ul, li {
margin:0;
padding:0;
}
I think there is something malformed in the HTML probably an unclosed tag somewhere.
Some of the CSS looks like mine (from one of my Codepens?) but perhaps you didn’t get it all.
Thanks, that code almost works perfectly, its just a few px still to the right.
I did get the original code from a codepen, and adapted it from there. It was perfect for what i needed, do you have the original codepen to check the HTML tags ?
Thanks again
Could have been this one: http://codepen.io/Paulie-D/pen/22c4ca602bda363099133ded6bca2294
It’s 3 level and doesn’t use images but the some of CSS and comments looks about the same.