Jump to content

Recommended Posts

Posted

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

Posted

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;
}

  • Like 1
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...