Hey guys, I'm new to the forum, but a CPG user for years now :-)
I'm wondering how I can get CPG to be only 512 (not wider) pixels or smaller?
I changed a lot, but somehow the page is always to wide for its frame.
See: http://weer.bommeltje.nl (http://weer.bommeltje.nl)
Click "Fotogalerij" in the menu.
The width of the main table is set to 100% (but even when I change that to lets say 60%, the page is still to wide).
Does anyone know how to reduce the width, and where to change that?
Or maybe someone have a theme for me that's less wide than 512 pixels?
works as expected for me using Firefox
Indeed, it looks fine in Firefox ???
In IE the page is show 'wrong' (see image).
hm, that's one of the reasons why Iframes are so bad. Try modifying the <iframe> tag attributes. IE seems to do something non-standards-compliant. Another place to look into is coppermine's style sheet and template. Hard to say what actually is wrong.
Can you sent the source code of your template & page with the Iframe there must be a tag to remove to make it work with IE
Cheers
Hi, thanks for the reply.
The template is as follow:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="{LANG_DIR}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
<title>{TITLE}</title>
{META}
<link rel="stylesheet" href="themes/water_drop/style.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
<!-- $Id: template.html,v 1.9 2005/12/04 03:22:35 donnoman Exp $ -->
</head>
<body>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" align="center">
<h1>{GAL_NAME}</h1>
<h3>{GAL_DESCRIPTION}</h3><br />
{SYS_MENU}<br />
</td>
</tr>
</table>
<img src="images/spacer.gif" width="1" height="15" alt="" />
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
{ADMIN_MENU}
{GALLERY}
</td>
</tr>
</table>
</body>
</html>
I'm not using an Iframe to display CPF 1.44, it is shown in a frameset.
Hi,
There is something wrong in the template if you remove <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
the frameset is working in the right way with IE but this does not solve the problem it's just showing you where to search.
then edit the frameset - paste the code here
Yahooo, thanks Netfalls and GauGau !!
I removed the first line from the template and now Coppermine is perfectly shown in the frame ;D
I don't know what the removed line does, but it was in there in the original template. I did not add that ???
But, who cares, it works again :P ;D
For a frameset you need to use the frameset DTD, not the transitional.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">