Image Alignment Image Alignment
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Image Alignment

Started by franco7777, August 02, 2006, 10:09:27 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

franco7777

Dear All:
I was able to set up an image right down the copyright notice "powered by CPG", by just doing a copy and paste from templates.html.
However, I have not been able to center it.
Need help on that.
My question is:
<align="center"> where does it go.
This is the code, how do I align it to the center of Gallery?
<a href="index.php"><img src="themes/classic/images/site_logo.png" border="0" alt="" /></a><br />
Regards.
Franco190453 ::)

Sami

something like this could do the job :

<center><a href="index.php"><img src="themes/classic/images/site_logo.png" border="0" alt="" /></a></center><br />


or you can put that line to a div tag and then set the align properties of that div to center
‍I don't answer to PM with support question
Please post your issue to related board

franco7777

Bmossavari:
Your <center> code worked perfect, Thanks.
Regards
Franco :D

Joachim Müller

Quote from: franco7777 on August 02, 2006, 10:09:27 PM
<align="center">
There is no HTML tag named <align> - there is only an attribute for some HTML tags, e.g. <div align="left"> (HTML method) or <div style="text-align:left"> (inline CSS method). Third method is the <center> tag as suggested by bmossavari.