Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

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

0 Members and 1 Guest are viewing this topic.

KchoPrro

  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 296
    • 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: 4885
    • 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: 296
    • 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: 296
    • 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.017 seconds with 20 queries.