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

8889 posts

Uber Geek
+1 received by user: 1187


  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
58559 posts

Uber Geek
+1 received by user: 9971

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

8889 posts

Uber Geek
+1 received by user: 1187


  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
58559 posts

Uber Geek
+1 received by user: 9971

Administrator
Trusted
Geekzone
Subscriber

mdf

1513 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 »

Sky TV boss blames pirates, evidence says otherwise
Posted 24-Aug-2017 17:29


New Zealand consumers ahead of the curve in digital
Posted 24-Aug-2017 15:47


Samsung introduces Galaxy Note8
Posted 24-Aug-2017 08:50


How Oppo shakes New Zealand’s phone market
Posted 22-Aug-2017 18:32


Recognition for top small business advisors
Posted 22-Aug-2017 17:23


OPPO R11 dual 20MP camera phone debuts in New Zealand
Posted 22-Aug-2017 15:45


Intel introduces new 8th Generation processors
Posted 21-Aug-2017 19:02


Trend Micro launches Home Network Security
Posted 21-Aug-2017 18:38


Avondale College students at top of Microsoft Office Specialist World Championship
Posted 21-Aug-2017 14:11


Garmin introduces inReach SE+ and inReach Explorer+
Posted 21-Aug-2017 14:05


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



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.