Previous Thread
Next Thread
Print Thread
Hop To
#259845 03/18/2017 6:31 PM
Joined: Mar 2007
Posts: 289
Likes: 1
E
Enthusiast
Enthusiast
E Offline
Joined: Mar 2007
Posts: 289
Likes: 1
If I put a link in the Shout Box it will stretch out the Box and eventually break (wrap) to the next line in the middle of a word.

Like:

https://www.ubbcentral.com/forums/ubbthreads.php/forum_summ
ary

Why is that?

Joined: Jun 2006
Posts: 16,311
Likes: 117
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,311
Likes: 117
What browser are you using? IE and Edge I don't believe respect the <wbr> tag; modern browsers like Firefox and Chrome do and should split long strings using the <wbr> tag.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Mar 2007
Posts: 289
Likes: 1
E
Enthusiast
Enthusiast
E Offline
Joined: Mar 2007
Posts: 289
Likes: 1
IE seems to be the one that stretches out the Box. What I don't understand is why it breaks/wraps at all.

Chrome doesn't stretch out the box, but it seems (to me) to break the url in strange places.

Can you splain?

In chrome:

Admin: http://www.electrica
l-contractor.net/for
ums/ubbthreads.php/f
orum_summary.html

Why makes it break like that?

Joined: Jun 2006
Posts: 16,311
Likes: 117
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,311
Likes: 117
It breaks to allow it to wrap, so that it doesn't stretch out the chat. What makes it do it? The <wbr> tag is inserted after so many characters which makes tells the browser that it's "ok" to break there.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Mar 2007
Posts: 289
Likes: 1
E
Enthusiast
Enthusiast
E Offline
Joined: Mar 2007
Posts: 289
Likes: 1
Originally Posted by Gizmo
It breaks to allow it to wrap, so that it doesn't stretch out the chat. What makes it do it? The <wbr> tag is inserted after so many characters which makes tells the browser that it's "ok" to break there.
I get that it breaks to allow it to wrap, but it didn't seem to have any rhyme or reason to it that I could see.

with the IE example it goes about 60 characters before it decides it's ok to break. I figured it would either break within the constraints of the container or not at all. confused

The Chrome example, I thought looked like was breaking inconsistently, but now that I look more closely I see there are similar #s of characters in each line. facepalm

Bill

Joined: Jun 2006
Posts: 16,311
Likes: 117
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,311
Likes: 117
The <wbr> tags are inserted every 20 characters in the shoutbox, your browser decides where would be best to break a long word, based on how wide the sidebar is.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Jun 2006
Posts: 16,311
Likes: 117
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,311
Likes: 117
Further reading, and about as in depth as it really needs to be HTML <wbr> Tag


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
ECNet #259865 03/18/2017 10:39 PM
Joined: Mar 2007
Posts: 289
Likes: 1
E
Enthusiast
Enthusiast
E Offline
Joined: Mar 2007
Posts: 289
Likes: 1
well, you know what?

I just realized I'm using Explorer 11 and just checked the box to allow installing new versions automatically.

Any problems with that and I'm coming back... smile


isaac #259866 03/18/2017 11:00 PM
Joined: Mar 2007
Posts: 289
Likes: 1
E
Enthusiast
Enthusiast
E Offline
Joined: Mar 2007
Posts: 289
Likes: 1
Originally Posted by id242
ECNet, have a quick read through these links:

Thanks for the info. I know IE is only about 25% of the Browser market right now. It's just an old habit I have to break.

It's probably Embarrassing, but I'm still using Frontpage for my websites. It's not that I don't have other options, It's just that I'm more comfortable with it.
I was used to viewing pages between IE and Netscape and designing for 14" Monitors @ 480 and 640 - so, I'm a little slow to get up to speed.

Anyway, enough rambling... apparently IE 11 doesn't break when it should. I've just consented to an IE update. To be continued... smile


Joined: Jun 2006
Posts: 16,311
Likes: 117
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,311
Likes: 117
It depends on who you ask, Wikipedia has a pretty good writeup Usage share of web browsers that shows the data for a couple of different sources.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Mar 2007
Posts: 289
Likes: 1
E
Enthusiast
Enthusiast
E Offline
Joined: Mar 2007
Posts: 289
Likes: 1
Originally Posted by Gizmo
It depends on who you ask, Wikipedia has a pretty good writeup Usage share of web browsers that shows the data for a couple of different sources.
Wow, that really shows IE in the Dumps.

I was going on my own website stats which I thought showed IE at 25% the last time I looked.
I just checked and it's now between 11-12%


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
What happened to UBB Wiki
by Ruben - 07/20/2024 12:07 PM
External Islands
by ECNet - 07/18/2024 12:51 PM
Repeatable issue for file attachments
by Baldeagle - 07/14/2024 11:24 PM
I know this is not the right forum for this
by Baldeagle - 07/11/2024 9:54 PM
topic timestamp does IP lookup of poster?
by Ruben - 07/09/2024 11:36 AM
Who's Online Now
1 members (Gizmo), 105 guests, and 259 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)