javascript - IE Problem: Gap between div & img -
javascript - IE Problem: Gap between div & img -
i have simple problem dispay image above div of text. in net explorer there gap between image & div of text when there should no gap(like in firefox theres no gap).
can help me figure out how remove gap tween 1st image & below div?
<html> <head> <style type="text/css"> <!-- .pagebox { width: 873px; } .pageboxcontent { background-color: blue; padding: auto; margin: auto; /*background: url("images/pageboxmid.png") repeat-y;*/ padding-right: 50px; padding-left: 50px; margin-top: 0px; background-color: blue; } .pageboxtop { background-color: red; } .pageboxbottom { background-color: red; } --> </style> </head> <body> <div id="container"> <div class="pagebox"> <img class="pageboxtop" src="images/pageboxtop.png" alt=""/> <!-- gap appears here on display --> <div class="pageboxcontent"> founded in mid-3rd century bc arsaces i. mithradates expanded empire seizing media , mesopotamia seleuit founded in mid-3rd century bc arsaces i. mithradates expanded empire seizing media , mesopotamia seleuit founded in mid-3rd century bc arsaces i. mithradates expanded empire seizing media , mesopotamia seleuit founded in mid-3rd century bc arsaces i. mithradates expanded empire seizing media , mesopotamia seleuit founded in mid-3rd century bc arsaces i. mithradates expanded empire seizing media , mesopotamia seleuit founded in mid-3rd century bc arsaces i. mithradates expanded empire seizing media , mesopotamia seleuit founded in mid-3rd century bc arsaces i. mithradates expanded empire seizing media , mesopotamia seleuit founded in mid-3rd century bc arsaces i. mithradates expanded empire seizing media , mesopotamia seleuit founded in mid-3rd century bc arsaces i. mithradates expanded empire seizing media , mesopotamia seleuit founded in mid-3rd century bc arsaces i. mithradates expanded empire seizing media , mesopotamia seleuit founded in mid-3rd century bc arsaces i. mithradates expanded empire seizing media , mesopotamia seleuit founded in mid-3rd century bc arsaces i. mithradates expanded empire seizing media , mesopotamia seleuit founded in mid-3rd century bc arsaces i. mithradates expanded empire seizing media , mesopotamia seleuit founded in mid-3rd century bc arsaces i. mithradates expanded empire seizing media , mesopotamia seleuit founded in mid-3rd century bc arsaces i. mithradates expanded empire seizing media , mesopotamia seleu </div> <img class="pageboxbottom" src="images/pageboxbottom.png" alt=""/> </div> </div> </body> </html>
try adding padding-top: 0px .pageboxcontent - prepare spacing problem?
javascript html css
Comments
Post a Comment