This design refuses to work:
<style> .myblock{ width:150px; height:150px; background-color:rgba(255,0,0,0.7); margin-right:-150px; } </style> <div class="myblock"></div> Yes, you can use margin-left , but it works fine with all values, both with and without a sign. What is my problem?
display:inline-blockcode will work. Maybe just not as you expect. Can you show the expected behavior for a negative margin-right? - Grundy