Dec 23, 2014 #1 Blueie Technical User Joined May 12, 2012 Messages 72 Location GB Hello I am having some trouble pulling my menu and text closer to the top of the screen by about 20px: Link I have tried playing about with the menu, but to no avail. Thanks!
Hello I am having some trouble pulling my menu and text closer to the top of the screen by about 20px: Link I have tried playing about with the menu, but to no avail. Thanks!
Dec 24, 2014 1 #2 feherke Programmer Joined Aug 5, 2002 Messages 9,541 Location RO Hi What about changing .nav's top [tt]margin[/tt] to 0 ? Code: .nav { font-family: "Unica One"; font-size: 1.5em; background: #f2f2f2; text-align: center; overflow: hidden; [highlight]margin: [red]0[/red] auto 2em;[/highlight] width: 480px; position: relative; } Feherke. feherke.ga Upvote 0 Downvote
Hi What about changing .nav's top [tt]margin[/tt] to 0 ? Code: .nav { font-family: "Unica One"; font-size: 1.5em; background: #f2f2f2; text-align: center; overflow: hidden; [highlight]margin: [red]0[/red] auto 2em;[/highlight] width: 480px; position: relative; } Feherke. feherke.ga
Dec 24, 2014 Thread starter #3 Blueie Technical User Joined May 12, 2012 Messages 72 Location GB That's with: CSS: margin: 0 auto 2em; /*margin: 2em auto;*/ Wonderful stuff! Thank you and Merry Christmas! Upvote 0 Downvote
That's with: CSS: margin: 0 auto 2em; /*margin: 2em auto;*/ Wonderful stuff! Thank you and Merry Christmas!