css - WebKit Issue with negative top margin -
i having trouble getting web-kit cooperate! can see images left column intended in ff yet web-kit browsers (safari , chrome) produces second image. lost how fix issue!
firefox version
webkit version
code area on question
<div class="container" style="margin-top: 30px; position: relative;"> <section class="row" ><!--id="content" --> <div class="content_bckgrnd span9"> <div class="item-page"> <p style="text-align: center;"><img src="http://avanti.websitewelcome.com/~ingles/images/demo/store-locations.png" width="531" height="368" alt="store-locations" /></p> </div> </div> <div class="content_bckgrnd span3 "> <div class="mod-padding"> <div class="mod_content "> <div class="custom" > <p style="text-align: center;"><strong><img src="http://avanti.websitewelcome.com/~ingles/images/demo/bldg-background.jpg" width="150" height="47" alt="bldg-background" /><br data-mce-bogus="1" /> </strong></p> <p><strong>store search</strong><br /> search ingles store near you, type in zip code or enter city , state. click 'find stores' see results</p> <p>narrow search clicking on options right. search stores pharmacies, bakeries, or ones open 24 hours.</p> <p><strong>your results page</strong><br /> 'more information'- click see store locations , directions store.</p> <p>'weekly ads' click view stores weekly ads.</p> <p><strong>sort results</strong><br /> sort results clicking store, address, city, state or zip @ top of results.</p> </div> </div> </div> </div> <div class="clear"></div> </section> </div> <div class="wrapper background" id="module-positions"> <div class="container" style=" min-height:65px;"> <!-- module-positions --> <section class="row"> </section> <div class="row"> <div class="span6"> </div> <div class="span6"> </div> </div> </div> </div>
you define div #hometopbckgrnd with:
height: 1240px; margin-top: -360px;
fixed heights ask troubles. why not like:
<header></header> <div id="hometopbckgrnd"> centent here</div> <footer></footer>
or
<div id="hometopbckgrnd"> <header></header> <div> centent here</div> <footer></footer> </div>
Comments
Post a Comment