1
gecko
text wrap xcgal
  • 2005/5/19 7:51

  • gecko

  • Not too shy to talk

  • Posts: 152

  • Since: 2004/10/11


i'm having problems with the text wrapping in xcgalley when you look at the intermediate pic.

It appears to be the information that is put in by user to describe the pic that causes the problem.

The titles also do this if they are too long.

It's fine in ie6 but blows the width right out in firefox, does anyone no what i should be looking for.

2
plavoie
Re: text wrap xcgal
  • 2005/6/1 19:43

  • plavoie

  • Just popping in

  • Posts: 4

  • Since: 2004/11/3


It is a css problem. Go in admin/Templates/xcgal menu.
Then, open the template "xcgal_dsiplay.html". In the file, you should see something like this:

-----
<{if $pic_caption !=''}>


<{$pic_caption}>



<{/if}>


-----

The problem is simple, those tags are in a "td" cell that has a nowrap setting for white-space. You have to set it back to normal for the description. So, add the "white-space:normal;" attribute:

-----
<{if $pic_caption !=''}>


<{$pic_caption}>



<{/if}>


-----

For the title, you have probably something like:

----
<{if $pic_title!=''}>


<{$pic_title}>


<{/if}>
----

Do the same:

----
<{if $pic_title!=''}>


<{$pic_title}>


<{/if}>
----

Hope it will help.

Login

Who's Online

487 user(s) are online (178 user(s) are browsing Support Forums)


Members: 0


Guests: 487


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits