Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 

gzt

8882 posts

Uber Geek
+1 received by user: 1185


  Reply # 1423097 8-Nov-2015 11:47
Send private message

The issue with long words typically hyperlinks is a bit worse with the new scheme.

I can 'request desktop' to get away from some of them.

I noticed in many the cause is a long hyperlink at the end of an existing line. Is it possible to force a break prior? Ie; where text and href are the same. That would prevent a fair proportion.

But what is a long term solution for this?

BDFL - Memuneh
58506 posts

Uber Geek
+1 received by user: 9948

Administrator
Trusted
Geekzone
Subscriber

  Reply # 1423112 8-Nov-2015 12:20
Send private message

I tried lots of solutions, including CSS stuff but really each browser does it different and wrap words without considering spacing, etc.

At the end we just rely on people reporting long URLs. These only happen once or twice a week, really.






 
 
 
 


gzt

8882 posts

Uber Geek
+1 received by user: 1185


  Reply # 1423117 8-Nov-2015 12:39
Send private message

This one is interesting - two long links. The one in the quote block looks like a good wrap:

http://www.geekzone.co.nz/forums.asp?forumid=48&topicid=183938&page_no=13

I assume the other one is the cause of failure.

2483 posts

Uber Geek
+1 received by user: 4

Trusted

  Reply # 1423122 8-Nov-2015 12:56
Send private message

gzt: I noticed in many the cause is a long hyperlink at the end of an existing line. Is it possible to force a break prior? Ie; where text and href are the same. That would prevent a fair proportion.

But what is a long term solution for this?


The problem really lies with the use of tables for layout. They're quite hard to get right, and table cells are generally flexible no matter how you try to style them, which causes all sorts of trouble such as browsers being unable to calculate the width of the container so that words can break properly.

(Think about it - if you have a flexible box, why is it that you need to break words? Why not just resize them to fit the content - which is exactly what happens.)

So the long term solution really is to properly use block elements and/or flexbox. However I do have something in mind for tables that I'll be posting soon.

gzt: This one is interesting - two long links. The one in the quote block looks like a good wrap:

http://www.geekzone.co.nz/forums.asp?forumid=48&topicid=183938&page_no=13


That happens to break properly because it has a hyphen which generally breaks well in most browsers.

If I don't use nicely worded links...



EDIT: Fixed wording




Find me on Twitter!

I posted 1, 2 x 10^3 times!

2483 posts

Uber Geek
+1 received by user: 4

Trusted

  Reply # 1423123 8-Nov-2015 13:03
Send private message

Following on from my previous post: How about setting the table element that holds the main part of the thread and each forum post as "table-layout: fixed"?

I can't explicitly name the elements (because there are no class/ids frown) but applying them fixes them very easily in my short time messing about in my browser.

EDIT: Before you think that it's not possible to have variable widths with "table-layout: fixed" - it is possible!




Find me on Twitter!

I posted 1, 2 x 10^3 times!

BDFL - Memuneh
58506 posts

Uber Geek
+1 received by user: 9948

Administrator
Trusted
Geekzone
Subscriber

  Reply # 1423132 8-Nov-2015 13:49
Send private message

mdf

1512 posts

Uber Geek
+1 received by user: 384

Trusted
Subscriber

  Reply # 1427074 12-Nov-2015 17:46
Send private message

Finally pushed the button on the Win10 upgrade for my main machine. Looks even better than it did on Win8.1.

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 
View this topic in a long page with up to 500 replies per page Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Public Wi-Fi plus cloud file sharing
Posted 18-Aug-2017 11:20


D-Link NZ launches professional Wireless AC Wave 2 Access Point for businesses
Posted 17-Aug-2017 19:25


Garmin introduces the Rino 700 five-watt two-way handheld radio
Posted 17-Aug-2017 19:04


Garmin announces the Foretrex 601 and Foretrex 701 Ballistic Edition for outdoor and tactical use
Posted 17-Aug-2017 19:02


Brightstar announces new distribution partnership with Samsung Knox platform in Australia
Posted 17-Aug-2017 17:07


Free gig-enabled WiFi network extends across Dunedin
Posted 17-Aug-2017 17:04


Samsung expands with connect Gear S3 Frontier
Posted 17-Aug-2017 15:55


Fact-checking Southern Cross Next cable is fastest to USA
Posted 17-Aug-2017 13:57


Thurrott says Microsoft Surface is dead last for reliability
Posted 16-Aug-2017 15:19


LibreOffice 5.4 works better with Microsoft Office files
Posted 16-Aug-2017 13:32


Certus launches Cognition
Posted 14-Aug-2017 09:31


Spark adds Cambridge, Turangi to 4.5G network
Posted 10-Aug-2017 17:55


REANNZ network to receive ongoing Government funding through to 2024
Posted 10-Aug-2017 16:05


Chorus backhaul starts with 2degrees
Posted 10-Aug-2017 15:49


New Zealanders cool on data analytics catching benefit fraud
Posted 10-Aug-2017 09:56



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.