# Different margin in IE for PC and Mac

**URL:** https://forum.kirupa.com/t/different-margin-in-ie-for-pc-and-mac/193596
**Category:** Uncategorized
**Created:** [July 14, 2006, 1:29pm UTC](https://forum.kirupa.com/t/different-margin-in-ie-for-pc-and-mac/193596 "2006-07-14T13:29:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kathari](https://avatars.discourse-cdn.com/v4/letter/k/a183cd/32.png) [@kathari](https://forum.kirupa.com/u/kathari)
#### Post date: [July 14, 2006, 1:29pm UTC](https://forum.kirupa.com/t/different-margin-in-ie-for-pc-and-mac/193596/1 "2006-07-14T13:29:05Z")

</div>

Hi  
I have a problem with a difference of margins in IE for PC (latest version)  
I have a set of pictures that I have put in a div with a class to define padding and border.  
The div also needs to have a margin to float along the same left-side as the paragraphs that are on the page.

THe code looks like this (they are inside another div but it shouldn’t make a difference) :

```auto
<p>This is dummy text that is placed at the same page.</p>
<div class="photoborder"><img src="picture.jpg" /></div>

```

The CSS looks like this:

```auto
.photoborder {
	float: left;
	border: solid 1px #DDD;
	padding: 4px;
	margin: 0 5px 10px 40px;
}

```

Can anyone help me?
