Home

Forums

Web development

 

 

 

 
     
 
dna88 Web development and Technology Forum
 
Profile   Register   Memberlist   Usergroups   FAQ   Search  Log in
Forum long string wordwrap fixed

 
Post new topic   Reply to topic    dna88 Forum Index -> Announcements
Author Message
quantum
Site Admin
Site Admin


Joined: 07 Mar 2004
Posts: 1048
Location: Dhaka, Bangladesh

Post Post subject: Forum long string wordwrap fixed Reply with quote

Some of the things of the forum have been changed. Please reply to this message, if you see any weird behavior in topic display.

Technical details:

1. Wordwrap fixed. Let me explain, even the original phpbb script has a bug. Not a bug really. Actually there is no way around this. When someone posts a long string of characters without any space and line break, it stretches the table widths and a horizontal scroll bar appears. This would'nt look half bad I guess, if our template in this forum was fluid, instead of fixed width. As it so happened, with a fixed width template, the site design completely breaks down when one posts long uninterrupted strings or big size images. To avoid the long strings I used a wordwrap to break any long uninterrupted string after 50 characters when the topic posts are parsed. This normally works great. But another problem arises. The world wide web is full of long urls. And when people post links with long urls, the long string is broken after 50 characters and a space or new line appears!

To make a long story short, this confuses the people and the browsers alike.

So to fix that I,
2. Introduced a dynamic behavior that wraps posts with long strings into a scrollable <div> Now the tables should'nt stretch, no matter how wide the post itself is.

Please report any problem or post your suggestion.

Thanks.
_________________

Dust fills my eyes / Clouds roll by / and I roll with them / Centuries cry / Orders fly / and I fall again
Afford best design, implement best solution. Outsource your web design.
Mon Sep 06, 04 3:25 am
Back to top
quantum View user's profile Send private message Visit poster's website AIM Address
dude
Power User
Power User


Joined: 10 Mar 2004
Posts: 376
Location: Savar, Dhaka

Post Post subject: Forum alignment problem Reply with quote

I think, there is something wrong when I log on as a moderator. The forum looks misaligned on top and right side. It looked good when I was browsing as a guest.
Mon Sep 06, 04 11:01 pm
Back to top
dude View user's profile Send private message Visit poster's website
quantum
Site Admin
Site Admin


Joined: 07 Mar 2004
Posts: 1048
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

Problem fixed.
_________________

Dust fills my eyes / Clouds roll by / and I roll with them / Centuries cry / Orders fly / and I fall again
Afford best design, implement best solution. Outsource your web design.
Tue Sep 07, 04 1:16 am
Back to top
quantum View user's profile Send private message Visit poster's website AIM Address
emm
Power User
Power User


Joined: 13 Jul 2004
Posts: 310

Post Post subject: Image stretch fix Reply with quote

Nice fix quantum. It was really lousy looking on some of the pages. Like that post in multimedia forum where hasnat posted a picture and the forum looked very bad. It's much better now. Pages are not stretching anymore.
_________________
“You might say reality is the result of complex negotiations between the observer and the observed. But that is simply a point of view…”
Digital Bangladesh
Tue Sep 07, 04 4:59 am
Back to top
emm View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    dna88 Forum Index -> Announcements All times are GMT - 7 Hours
Page 1 of 1

 

Partners and Resources

Bangladesh hosting company

Bangladesh web design

Driven by phpBB © phpBB Group