SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
-
Sep 14, 2004, 23:10 #1
- Join Date
- Sep 2003
- Location
- Northern California
- Posts
- 605
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
IE6 doesn't respect padding style ???
I built an image gallery with a 1px border and 5px padding around the thumbnails. Looks fine in Safari and IE5 for the Mac. But IE 6 ignores the padding completely.
<img src="'.$thumb_path.$row->thumb.'" style="margin-bottom:5px;padding:5px;border:1px solid #cccccc;" >
Any ideas are appeciated !!
-
Sep 15, 2004, 06:01 #2
- Join Date
- Jan 2004
- Location
- Hull
- Posts
- 66
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
a url might help
-
Sep 15, 2004, 12:49 #3
- Join Date
- Jan 2003
- Location
- Hampshire UK
- Posts
- 40,556
- Mentioned
- 183 Post(s)
- Tagged
- 6 Thread(s)
If I remember correctly IE6 in staandards mode will be fine but quirks mode and ie5/5,5, loose the padding I believe (haven't had time to double check).
The usual solution is to place the image in a div that has the required padding already on it.
Paul
Bookmarks