Wielkie dzięki! O to mi właśnie chodziło! Brakowało "display: inline". Bałem się, że to coś gorszego i że wewnątrz tych divów, które miały być centrowane coś nie gra.
Klikam "Pomógł" i raz jeszcze wielkie dzięki!
Hmm... Działa to w IE, ale Firefox wyświetla mi puste pola. Zerknij na to pod Firefoxem:
<div style="width: 500px; text-align: center"> <div style="display: inline; width: 120px; height: 90px; background: url(http://i0006.photobucket.com/albums/0006/pbhomepage/Pink%20Panther/th_plainfilmstripcopy-1.jpg) no-repeat; background-position: center center; margin: 3px"></div> <div style="display: inline; width: 120px; height: 90px; background: url(http://i0006.photobucket.com/albums/0006/pbhomepage/Pink%20Panther/th_plainfilmstripcopy-1.jpg) no-repeat; background-position: center center; margin: 3px"></div> <div style="display: inline; width: 120px; height: 90px; background: url(http://i0006.photobucket.com/albums/0006/pbhomepage/Pink%20Panther/th_plainfilmstripcopy-1.jpg) no-repeat; background-position: center center; margin: 3px"></div> <div style="display: inline; width: 120px; height: 90px; background: url(http://i0006.photobucket.com/albums/0006/pbhomepage/Pink%20Panther/th_plainfilmstripcopy-1.jpg) no-repeat; background-position: center center; margin: 3px"></div> <div style="display: inline; width: 120px; height: 90px; background: url(http://i0006.photobucket.com/albums/0006/pbhomepage/Pink%20Panther/th_plainfilmstripcopy-1.jpg) no-repeat; background-position: center center; margin: 3px"></div>
Bez "display: inline" było dobrze i pod IE i pod Firefoxem, tylko że się nie centrowało.