Image Alignment Image Alignment
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Image Alignment

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

Previous topic - Next topic

0 Members and 1 Guest 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.