coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: charlie_lab on December 24, 2006, 11:36:36 AM

Title: can a coppermine template exist of <div> instead of tables
Post by: charlie_lab on December 24, 2006, 11:36:36 AM
Hello,

I want that the layout of the gallery is the same as the site.
I  know that i have to make a template.
But all the examples i have seen are table layouts and my layout is a <div> based layout.
Can this be a problem ??

Regards,

Roelof
Title: Re: can a coppermine template exist of <div> instead of tables
Post by: Gizmo on December 24, 2006, 01:26:08 PM
The code that creates the gallery pages (layout) do so using tables however you can just wrap the {GALLERY} tag inside a <div> and you can accomplish most of what you want to do. You should download a couple of themes and take a look at the template.html file where you see that some use <div>. A couple I can recommend are i-feel-dirty, Greenweek, Greenflower or most of the ones that I submitted which are done with this technique.