Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Closed]: Justified text, in picture  (Read 3096 times)

0 Members and 1 Guest are viewing this topic.

KchoPrro

  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 205
    • Adolfo Ventas - Naturaleza Andaluza
[Closed]: Justified text, in picture
« on: April 22, 2010, 08:52:41 am »

Hello Friends;

It is possible that the text of an image is justified? what is the file that controls this?

An example

Thank you very much

KchoPrro
« Last Edit: April 22, 2010, 11:15:01 pm by Joachim Müller »
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4843
    • Windsurf.me
Re: Justified text, in picture
« Reply #1 on: April 22, 2010, 03:32:32 pm »

Viewing your site in Firefox and using the excellent firebug plugin I was able to see that your text is surrounded by the <center></centre> tags

Code: [Select]
<center>
                                                Desde tiempos de Carpanta, el riotitnto es del color del tinto, de verano, con hielo, muuuuuuuuuuuuuuusho hielo pa que esté fresquito!!. Además, si le añadimos casera de limón, también está muuuu rico, y qué decir del famoso calimosho!!<br>
<br>
pasando de pruebas, solo quiero ver por qué cojone no se justifica el texto y por qué me sale centrao cuando no quiero.<br>
<br>
Adolfo
                                        </center>

Check for these in your custom theme.php file.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

KchoPrro

  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 205
    • Adolfo Ventas - Naturaleza Andaluza
Re: Justified text, in picture
« Reply #2 on: April 22, 2010, 04:15:18 pm »

Thanks!

I searched in theme.php and style.css and I have not found anything, can be in another file?

I checked another website and the text is also in the center.

http://photostock.photodigiscoping.com/displayimage.php?album=60&pos=0

KchoPrro
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Justified text, in picture
« Reply #3 on: April 22, 2010, 06:42:21 pm »

It's beyond the scope of this board to teach you HTML and CSS. Use the web developer toolbar to find out which section of the CSS file controls which part of the page. Phill told you what to do: go through your edits, find the <center> tag that you must have deliberately added and change that accordingly.
Logged

KchoPrro

  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 205
    • Adolfo Ventas - Naturaleza Andaluza
Re: Justified text, in picture
« Reply #4 on: April 22, 2010, 08:25:45 pm »

Ok! So I have to edit theme.php

Search again, thanks

KchoPrro
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 19 queries.