digitalmars.D - (Un)justified justification
- Nick Sabalausky (4/4) Sep 02 2011 Don't know why I never brought this up until now, but...
- Vladimir Panteleev (8/13) Sep 02 2011 I think (based on my understanding of Andrei's vision of the website) th...
- Nick Sabalausky (9/21) Sep 02 2011 I thought of that, but it looks exactly the same for me both with and
- Andrei Alexandrescu (5/18) Sep 02 2011 Below a width even text with hyphens looks odd. On my own website
- Robert Clipsham (9/22) Sep 03 2011 Javascript for this? D: CSS CAN DO THAT! D:
- Andrei Alexandrescu (3/7) Sep 02 2011 Yah, I wonder how that remained there.
- Andrej Mitrovic (4/4) Sep 02 2011 Speaking of websites issues, can anyone else confirm that copy/pasting
- Nick Sabalausky (6/10) Sep 02 2011 It works fine for me on WinXP, FF2, Programmer's Notepad 2. Hmm, but it
- Nick Sabalausky (11/22) Sep 02 2011 IE7 is a mix: The code font is overly large like in Arora, but copy/past...
- Jonathan M Davis (3/8) Sep 02 2011 They work fine for me in Konqueror (using KHTML).
- Andrej Mitrovic (4/4) Sep 02 2011 Yeah what's also weird is that when I clone the repo and build the
Don't know why I never brought this up until now, but... I know how much Andrei loves justified text, but maybe, just maybe, it's not such a great idea on the website's sidebar menu?: http://www.semitwist.com/download/img/shots/dpl--justified-is-pretty-and-easy-to-read.png
Sep 02 2011
On Fri, 02 Sep 2011 22:07:29 +0300, Nick Sabalausky <a a.a> wrote:Don't know why I never brought this up until now, but... I know how much Andrei loves justified text, but maybe, just maybe, it's not such a great idea on the website's sidebar menu?: http://www.semitwist.com/download/img/shots/dpl--justified-is-pretty-and-easy-to-read.pngI think (based on my understanding of Andrei's vision of the website) that text should have had soft hyphens inserted inside its words by a JavaScript script (which doesn't work correctly in all browsers), but I guess you have JS off :) -- Best regards, Vladimir mailto:vladimir thecybershadow.net
Sep 02 2011
"Vladimir Panteleev" <vladimir thecybershadow.net> wrote in message news:op.v063sazxtuzx1w cybershadow.mshome.net...On Fri, 02 Sep 2011 22:07:29 +0300, Nick Sabalausky <a a.a> wrote:I thought of that, but it looks exactly the same for me both with and without JS. The *only* difference is that if JS is on, the currently selected item has a white dotted underline. But regardless, there's no reason why simple text should look like shit without JS. If the JS hyphenation works and looks good, then what you do is make the HTML/CSS left-aligned and then turn on justification in the JS. Trivial.Don't know why I never brought this up until now, but... I know how much Andrei loves justified text, but maybe, just maybe, it's not such a great idea on the website's sidebar menu?: http://www.semitwist.com/download/img/shots/dpl--justified-is-pretty-and-easy-to-read.pngI think (based on my understanding of Andrei's vision of the website) that text should have had soft hyphens inserted inside its words by a JavaScript script (which doesn't work correctly in all browsers), but I guess you have JS off :)
Sep 02 2011
On 9/2/11 2:15 PM, Vladimir Panteleev wrote:On Fri, 02 Sep 2011 22:07:29 +0300, Nick Sabalausky <a a.a> wrote:Below a width even text with hyphens looks odd. On my own website (www.erdani.com) I turned off justification and hyphenation in the testimonials. AndreiDon't know why I never brought this up until now, but... I know how much Andrei loves justified text, but maybe, just maybe, it's not such a great idea on the website's sidebar menu?: http://www.semitwist.com/download/img/shots/dpl--justified-is-pretty-and-easy-to-read.pngI think (based on my understanding of Andrei's vision of the website) that text should have had soft hyphens inserted inside its words by a JavaScript script (which doesn't work correctly in all browsers), but I guess you have JS off :)
Sep 02 2011
On 02/09/2011 20:15, Vladimir Panteleev wrote:On Fri, 02 Sep 2011 22:07:29 +0300, Nick Sabalausky <a a.a> wrote:Javascript for this? D: CSS CAN DO THAT! D: word-break: hyphenate !important; word-wrap: break-word; The !important and second line are only required for firefox/opera compatibility, they won't use hyphens though. -- Robert http://octarineparrot.com/Don't know why I never brought this up until now, but... I know how much Andrei loves justified text, but maybe, just maybe, it's not such a great idea on the website's sidebar menu?: http://www.semitwist.com/download/img/shots/dpl--justified-is-pretty-and-easy-to-read.pngI think (based on my understanding of Andrei's vision of the website) that text should have had soft hyphens inserted inside its words by a JavaScript script (which doesn't work correctly in all browsers), but I guess you have JS off :)
Sep 03 2011
On 9/2/11 2:07 PM, Nick Sabalausky wrote:Don't know why I never brought this up until now, but... I know how much Andrei loves justified text, but maybe, just maybe, it's not such a great idea on the website's sidebar menu?: http://www.semitwist.com/download/img/shots/dpl--justified-is-pretty-and-easy-to-read.pngYah, I wonder how that remained there. Andrei
Sep 02 2011
Speaking of websites issues, can anyone else confirm that copy/pasting code snippets from dpl.org doesn't copy the newlines properly when pasting into a text editor? I mean neither LF nor CRLF is pasted. On the dmars.com site the snippets can be copied normally.
Sep 02 2011
"Andrej Mitrovic" <andrej.mitrovich gmail.com> wrote in message news:mailman.2652.1315000476.14074.digitalmars-d puremagic.com...Speaking of websites issues, can anyone else confirm that copy/pasting code snippets from dpl.org doesn't copy the newlines properly when pasting into a text editor? I mean neither LF nor CRLF is pasted. On the dmars.com site the snippets can be copied normally.It works fine for me on WinXP, FF2, Programmer's Notepad 2. Hmm, but it doesn't work if I use Arora instead of FF (I lose the EOLs just like you). The code sample font is also really, really large in Arora for some reason (but looks fine in FF).
Sep 02 2011
"Nick Sabalausky" <a a.a> wrote in message news:j3rjom$2rem$1 digitalmars.com..."Andrej Mitrovic" <andrej.mitrovich gmail.com> wrote in message news:mailman.2652.1315000476.14074.digitalmars-d puremagic.com...IE7 is a mix: The code font is overly large like in Arora, but copy/paste works fine. Opera 10.62 is same as IE7: Code font is huge, copy/paste works. In Chrome (well, really SRWare Iron 4), the font size looks right, but then the stupid POS browser actually *crashes*. Hmm, lemme try again but with JS off...Ehh, well that figures, Chrome doesn't appear to even have a way to shut off JS. Ahh, but if I'm fast enough I can copy the text before it crashes and...just like Arora, the EOLs are missing. Guess it must be a WebKit screwup.Speaking of websites issues, can anyone else confirm that copy/pasting code snippets from dpl.org doesn't copy the newlines properly when pasting into a text editor? I mean neither LF nor CRLF is pasted. On the dmars.com site the snippets can be copied normally.It works fine for me on WinXP, FF2, Programmer's Notepad 2. Hmm, but it doesn't work if I use Arora instead of FF (I lose the EOLs just like you). The code sample font is also really, really large in Arora for some reason (but looks fine in FF).
Sep 02 2011
On Friday, September 02, 2011 23:54:27 Andrej Mitrovic wrote:Speaking of websites issues, can anyone else confirm that copy/pasting code snippets from dpl.org doesn't copy the newlines properly when pasting into a text editor? I mean neither LF nor CRLF is pasted. On the dmars.com site the snippets can be copied normally.They work fine for me in Konqueror (using KHTML). - Jonathan M Davis
Sep 02 2011
Yeah what's also weird is that when I clone the repo and build the website via the makefile, copy-pasting works fine in Firefox, but when I try to do it remotely via dpl.org, it doesn't work. I can confirm it works fine in IE8 though. Maybe it's a plugin issue.. hmm
Sep 02 2011