If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Word wrap problem when posting pictures  XML
Forum Index » Advanced Guestbook Modifications
Author Message
khollcroft
Beginner

Joined: 21/08/2006 18:10:56
Messages: 12
Offline

When someone posts a picture along with a message (long sentence) the message gets cut off on the right (like it is out of the frame and hidden). This is when viewed with IE. Firefox will display the message OK.

Is there a mod to fix this problem?

Thanks
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Got a link to demonstrate this?

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
khollcroft
Beginner

Joined: 21/08/2006 18:10:56
Messages: 12
Offline

URL Emailed.

look at post 27. The text that is lost varies depending on the window width.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Ah you mean the text in the comments. Off the top of my head I'd say open templates/com.php and put

<br clear="both">

at the start of the file to move the comments below the image.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
khollcroft
Beginner

Joined: 21/08/2006 18:10:56
Messages: 12
Offline

Perfect. Thanks!
kinhung
Newbie

Joined: 20/05/2008 15:23:18
Messages: 2
Offline

it does not work

http://www.obostore.com/credit/

thanks
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

It's not going to wrap around the image if the text does not go past the image.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
kinhung
Newbie

Joined: 20/05/2008 15:23:18
Messages: 2
Offline

can i move all the text under the picture?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Yes just put <br> at the end of the user_pic.php file.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
novice
Beginner

Joined: 05/11/2009 15:05:54
Messages: 5
Offline

Adding <br> at the end of user_pic.php did not move the original text below the image. (Both FireFox and IE) Any thoughts on this issue?

Thanks.

P.S. I edited my original post (by removing a paragraph about the word-wrap problem) because what I posted was due to my ignorance!

P.P.S.
Answering my own question!

Adding <br clear="both"> at the end of user_pic.php moved the original text below the image.
 
Forum Index » Advanced Guestbook Modifications
Go to:   
Based on the open source JForum