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

9159 posts

Uber Geek
+1 received by user: 1290


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

Uber Geek
+1 received by user: 10411

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

9159 posts

Uber Geek
+1 received by user: 1290


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

Uber Geek
+1 received by user: 10411

Administrator
Trusted
Geekzone
Subscriber

mdf

1556 posts

Uber Geek
+1 received by user: 398

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 »

UFB connections pass 460,000
Posted 11-Dec-2017 11:26


The Warehouse Group to adopt IBM Cloud to support digital transformation
Posted 11-Dec-2017 11:22


Dimension Data peeks into digital business 2018
Posted 11-Dec-2017 10:55


2018 Cyber Security Predictions
Posted 7-Dec-2017 14:55


Global Govtech Accelerator to drive public sector innovation in Wellington
Posted 7-Dec-2017 11:21


Stuff Pix media strategy a new direction
Posted 7-Dec-2017 09:37


Digital transformation is dead
Posted 7-Dec-2017 09:31


Fake news and cyber security
Posted 7-Dec-2017 09:27


Dimension Data New Zealand strengthens cybersecurity practice
Posted 5-Dec-2017 20:27


Epson NZ launches new Expression Premium Photo range
Posted 5-Dec-2017 20:26


Eventbrite and Twickets launch integration partnership in Australia and New Zealand
Posted 5-Dec-2017 20:23


New Fujifilm macro lens lands in New Zealand
Posted 5-Dec-2017 20:16


Cyber security not being taken seriously enough
Posted 5-Dec-2017 20:13


Sony commences Android 8.0 Oreo rollout in New Zealand
Posted 5-Dec-2017 20:08


Revera partners with Nyriad to deliver blockchain pilot to NZ Government
Posted 5-Dec-2017 20:01



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.