Soldato
- Joined
- 12 Feb 2006
- Posts
- 17,427
- Location
- Surrey
trying to add a margin to the left of a div but the blooming either IE or FF is being silly and the differnce so some odd reason is huge.
here is the code i have for the div
Now in FF it loaded all fine in position, as far as i was aware 65px margin from the left. but in IE its doulbe the distance. any reason why it does this? not the first time i have had this problem and im lost as to why it does 130px instead of 65px
here is the code i have for the div
Code:
div#welcome2 {
width: 290px;
margin: 10px 0px 0px 65px;
float: left;
}
Now in FF it loaded all fine in position, as far as i was aware 65px margin from the left. but in IE its doulbe the distance. any reason why it does this? not the first time i have had this problem and im lost as to why it does 130px instead of 65px