center edited header

mrkochevar

Joined: 2010-05-25
Posts: 20
Posted: Wed, 2010-06-02 00:51

First, Floridave, much help on everything so far :)

I have been playing with gallery2, and decided to try editting the theme.tpl and put my head/.jpg with a link back to my website. How do I center my image? here is the script I used.

<div id="gsHeader">
<img src="{g->url href="images/melikeylogo.jpg"}" width="50%" height="248" alt=""/>
</div>
{g->theme include="progressbar.tpl"}
{else}
<div id="gsHeader">
<a href="http://melikey.com/melikeytest"><img src="{g->url href="images/melikeylogo.jpg"}"
width="50%" height="248" alt=""/></a>
</div>

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2010-06-02 04:04

<center>....</center> should work
if not post a url to the site in question or use the FireFox browser and web dev tool

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team