Script: http://javascriptkit.com/script/scri...ow/index.shtml
I changed it from eregi to preg_match, (per the instructions at http://www.dynamicdrive.com/forums/s...rom-directory)) but I noticed on Chrome and Edge it puts the left half of the photos on the right side. So, the left half of the screen is black and the right half has the right half of the photo shown. In Opera and Firefox, it is centered as it should be. When I look at the sample on the script I used, it is centered on all browsers. It used to be centered until I upgraded my php version but I'm not sure if that is the cause, and I only went up one version. I corrected from eregi to preg_match, as stated above, and it still is uncentered on those two browsers. I really did not think I changed anything from the sample except for changing to my images. Any ideas?
Bookmarks