View Full Version : Simple control gallery button show vertical

08-28-2009, 09:27 AM
1) Script Title: Simple Gallery

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

3) Describe problem:

i have problem with simple gallery button image, it look like this in my web page http://www.trinitynetwork.co.id/inet/services.php. It show in vertical not horizontal like in the example page. I'm a newbie and i don't understand this.
Can anyone help??


08-30-2009, 07:04 PM
Hmm there might be some formatting within your table, in which the DIV containing the gallery is in, that's causing issues with the later. To test this, try moving the DIV in red below on your page:

<td rowspan="27"><img name="services_r2_c1" src="images/services_r2_c1.jpg" width="82" height="575" border="0" id="services_r2_c1" alt="" /></td>
<td colspan="18" valign="top"><div id="simplegallery1"></div></td>
<td rowspan="4" colspan="2"><img name="services_r2_c20" src="images/services_r2_c20.jpg" width="80" height="328" border="0" id="services_r2_c20" alt="" /></td>
<td><img src="images/spacer.gif" width="1" height="271" border="0" alt="" /></td>


so it's outside the table altogether, such as right after the <body> tag. See if that changes anything.

08-31-2009, 02:46 AM
i already move it to outside the table & it works. so how this solve my problem. the gallery must use inside that table??

08-31-2009, 03:27 AM
ok i already found the problem. i found this in my css :
td img {display: block;}

when i remove this, the script is running.

Thanks DDADMIN for your help.