Joomlatwork
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 21, 2013, 06:06:55 PM

Login with username, password and session length
Search:     Advanced search
17025 Posts in 5647 Topics by 11135 Members
Latest Member: egb
* Home Help Search Login Register
+  Joomlatwork
|-+  Joomla PrettyPDF
| |-+  Support questions Joomla 1.5.x version
| | |-+  [SOLVED]With wide picture in the center there is always a text to the side ends.
« previous next »
Pages: [1] Print
Author Topic: [SOLVED]With wide picture in the center there is always a text to the side ends.  (Read 2120 times)
torollo
Newbie
*
Posts: 12


View Profile
« on: September 23, 2010, 07:02:32 PM »

With wide picture in the center there is always a text to the side ends.

If you place an image wider at the center and there is text above and below the image, the text appears on the outside edge of the image, although the image fills the width.

Thanks for your help John.

A greeting.
« Last Edit: October 09, 2010, 01:23:01 PM by torollo » Logged
John
Administrator
Sr. Member
*****
Posts: 421


JoomlAtWork team member


View Profile Email
« Reply #1 on: October 03, 2010, 07:52:38 PM »

Torollo,

I'm not quite sure what you mean.
Could you provide an example? Like how wide is your image?

Could you check/post the html code around the image to see if before and after the image a line-break (<br/> or <p>) is placed?

That may fix your issue.

Regards,
John

Logged
torollo
Newbie
*
Posts: 12


View Profile
« Reply #2 on: October 06, 2010, 09:49:22 PM »

Hi John:

Example of how it should render the PDF file correctly:

text text text text text text
               IMAGE
text text text text text text


Example for PDF file is rendered into reality:

text text text text text text
               IMAGE            te
xt text text text text text

<br/> or <p></p> does not solve the problem.

The HTML code is:

<p>This is the text before the image.</p>
<p><img src="image.jpg" border="0" width="600" height="100" /></p>
<p>This is the text after the image.</p>

Thanks for your help John.
Logged
torollo
Newbie
*
Posts: 12


View Profile
« Reply #3 on: October 06, 2010, 10:19:11 PM »

John, sorry for the inconvenience, but I just solved the problem.

Simply place in the "General Settings" -> "Images Definitions" -> "Default image alignment" = "Centered".

When this option is set as "Left" the problem appears. Just have to put in "Centered" to solve the problem. Thank you very much for everything John. A greeting.
Logged
John
Administrator
Sr. Member
*****
Posts: 421


JoomlAtWork team member


View Profile Email
« Reply #4 on: November 14, 2010, 10:00:10 AM »

No problem.

John
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!