PDA

View Full Version : disappearing gallery



rzogheb
02-27-2007, 08:02 AM
1) Script Title: CMotion Image Gallery

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm

3) Describe problem: I installed this fantastic script and it works great until I saw it on IE7. It seems like the right half of the image gallery has disappeared. The scrolling function fine but you cannot see anything from the center to the right margin. Is there a fix for that, or does anyone know why they have disappeared in IE7?

jscheuer1
02-27-2007, 08:30 AM
For elements that contain the gallery, don't use:

<center>

or:

align="center"

or:

text-align:center;

If you want the gallery centered, use at least a loose transitional DOCTYPE and contain the gallery with:


<div style="width:300px;margin:0 auto;">
gallery markup here
</div>

Set 300px to the desired width.