bberry91
22 Oct 2010, 02:31 PM
i am trying to get my text to move down 10 px, but it does not work-neither margin nor padding. any ideas? as a bonus, if someone could figure out how to move the "close" button up 10 px, that would be great. thanks!
<div class="help" id="help" style="visibility:hidden; width:400px; background-image:url(Images/fade_message_bckg.png); margin-left:auto; margin-right:auto; height:200px;)">
<div class="close" style="margin-left:-46px; display:inline; margin-top:-10px; position:relative"><img src="Images/close_btn.gif" width="46" height="12" onclick="MM_showHideLayers('help','','hide')" /></div>
<div class="text2" style="display:inline; margin-left:10px; margin-top:10px;">Help!!!</div>
</div>
<div class="help" id="help" style="visibility:hidden; width:400px; background-image:url(Images/fade_message_bckg.png); margin-left:auto; margin-right:auto; height:200px;)">
<div class="close" style="margin-left:-46px; display:inline; margin-top:-10px; position:relative"><img src="Images/close_btn.gif" width="46" height="12" onclick="MM_showHideLayers('help','','hide')" /></div>
<div class="text2" style="display:inline; margin-left:10px; margin-top:10px;">Help!!!</div>
</div>