![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
so, #botonera have a left margin of 18px, but IE make it 36px! If I put a margin of 30px, IE make it 60px! I am crazy? |
|
#botonera { float: left; margin: 0 0 0 18px; } |
#2
| |||
| |||
|
|
#botonera { float: left; margin: 0 0 0 18px; } If you have a style with float: left and margin-left: XX then IE will make margin-left twice the size it should be (and the same with float: right and margin-right) See http://www.positioniseverything.net/explorer/doubled-margin.html for more details and some suggested fixes. |

#3
| |||
| |||
|
|
Steve Pugh ha escrito lo siguiente el 12/06/2006 04:10: #botonera { float: left; margin: 0 0 0 18px; } If you have a style with float: left and margin-left: XX then IE will make margin-left twice the size it should be (and the same with float: right and margin-right) See http://www.positioniseverything.net/explorer/doubled-margin.html for more details and some suggested fixes. wow, thanks a lot Steve It was the first time it happened to me, what an odd behavior... ![]() |

![]() |
| Thread Tools | |
| Display Modes | |
| |