PDA

View Full Version : PHP Photo Album script v2.11 auto page button issue in IE8



xxmewstarxx
09-13-2010, 09:23 PM
1) Script Title: PHP Photo Album script v2.11

2) Script URL (on DD): http://dynamicdrive.com/dynamicindex4/php-photoalbum.htm

3) Describe problem: in IE8 the page buttons that are automaticly made do not bump to a new line after it reaches end of table. it pushes the screen and you have to keep scrolling to the right.

Works just fine in FF3.6

Ive been trying to fix it but with no luck...please help

Here is the link to where im using the codehttp://www.michaelandjaninewedding.com/gallery/ceremony.html

jscheuer1
09-13-2010, 10:49 PM
Messy, if you don't mind my saying so. Anyways, here:


<div class="content"><div align="center"><a href="preceremony.html"><img src="images/photo-link-preceremony.png" width="157" height="32" border="0" /></a><img src="images/weddingphoto-ceremony.png" width="600" height="59"/><a href="reception.html"><img src="images/photo-link-reception.png" width="157" height="32" border="0" /></a></div><br />

<table width="1000%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><script type="text/javascript">

new phpimagealbum({
albumvar: wedding, //ID of photo album to display (based on getpics.php?id=xxx)
dimensions: [4,3], . . .

I think you mean 100%, not 1000%. In fact, if Firefox were to render that table at 1000% width, it would look like it does in IE. Other browsers have the same problem as IE though. I'm not sure why Firefox does not.

Just change that to 100% and the page links will wrap.

xxmewstarxx
09-14-2010, 02:25 AM
Thanks that was it...My brother started the site for us as a wedding gift but then he gave up and i havent had a chance to really rework all the css stuff he did. But yeah trust me i know it is messy.