html - Strange spacing above an image placed in anchor tag -


i have big banner placed on top of page below top menu , link placed on it. check below link.

http://dev.shy7lo.com/shoes.html?___store=en&___from_store=arabic

if check spacing above image in firebug or in chrome developer tools, a tag adding 17 20px top space. strange. can body suggest why spacing there , how remove it?

its because of

 .main-container {    padding: 30px 30px 0;  } 

you should replace

.main-container {   padding: 0 30px;  }  

and make height:0px in #header-search

@media screen , (min-width: 771px) #header-search {     display: block;     position: relative;     top: -48px;     float: right;     width: 25%;     /*height: 50px;*/     height: 0;     padding: 0; } 

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -