Tell me more ×
SmugMug Stack Exchange is a question and answer site for SmugMug developers and end users. It's 100% free, no registration required.

Hey I was hopping to maybe get some help on a custom dropdown navbar I found through http://www.htmldrive.net/. I got it working fine but for the life of me can't seem to figure out how to get it to align at the top with my header(the blue bar). I want it go right over that blue bar. I had this working great with the dropdown navbar Digital Grin's has a form now but now that I have changed it its not working. I've tired "top align" "margin align" "padding top" "position: absolute" none of those codes worked or maybe its a combo of some of them togther. Any suggestions, if I have to I can bring this into Digital Grin but I thought I'd check here first.

My site is: http://k-ophotography.smugmug.com/

share|improve this question

1 Answer

up vote 4 down vote accepted

Added this to your CSS and it seems good:

nav {margin-top: -42px;}

take a look and let us know.

share|improve this answer
Weird that didn't work either I tried different combo's of your suggestion and ended up with just margin-top: -42px; in the nav part of the css and it worked. Thanks Andy works great! just have to play around with my header now to make it not look so tight inside there – Keith Mar 16 '12 at 0:53
I think you misunderstood :) I added it to your CSS in the same spot before I posted. – Andy Williams Mar 16 '12 at 1:05
oh haha, my brain is a little fried from coding for the last 3 hours! Thanks Andy I appreciate your help big time! – Keith Mar 16 '12 at 1:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.