Tylor Eddy Posted October 2, 2011 Report Posted October 2, 2011 G'day Guys, I have a frustrating little problem that i cant get rid of, there is a little gap at the top of my dev site here: http://qantasvirtual.com/dev/ I am unsure how to get rid of it, this is the css i am using for the header div.qlogin { margin-top: 0px; background: url(../images/header.jpg) no-repeat center center; height:120px; left: 50px; padding:0 20px; } p.qlogin { color:#fff; } label.qlogin { color:#fff; } Any help would be greatly appreciated Cheers Tylor Quote
Tom Posted October 2, 2011 Report Posted October 2, 2011 The background image is smaller than the height of the container. div.qlogin { margin-top: 0px; background: url(../images/header.jpg) no-repeat center top; height:120px; left: 50px; padding:0 20px; } 1 Quote
Tylor Eddy Posted October 2, 2011 Author Report Posted October 2, 2011 The background image is smaller than the height of the container. div.qlogin { margin-top: 0px; background: url(../images/header.jpg) no-repeat center top; height:120px; left: 50px; padding:0 20px; } Thanks Tom, Much better now Tylor Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.