Quote:
Originally Posted by Turtle91
Well, I happen to be on 2nd-shift today - and my wife woke me up at 7am so I had half a day to spend!  And I like figuring things like this out... it keeps my brain active.
|
Thanks for saying that -- it does relieve me of some guilt. Not all, but some, at least.
Quote:
As far as being overkill...it's probably a lot easier to do it this way than adding a bunch of nbsp. You can create a clip in Sigil so a click of the mouse will insert the <span> around selected text (or insert empty spans if no text is selected). You could even create a fairly simple regex to automagically add the spans, drastically reducing the number of lines you would have to handle individually. the nbsps would only need to be added AFTER the text that needs to be spaced in the middle.
|
Well, you say ".it's probably a lot easier to do it this way than adding a bunch of nbsp," but you're still adding in a bunch of nbsp your way, too!
And then you brought in the issue of using pixels vs ems for the max-width specs, and then suggested doing "media queries," which I know nothing about... it all sounds like it's getting so "programmy" just to do up one line of text, and having it look maybe about as good as it would if I simply added in a bunch of nbsps the way I'd originally proposed anyway. As I said earlier, I would
think that anyone reading Shakespeare would do so in a way so that the lines won't break awkwardly anyway -- whether by adjusting the font size, or going into landscape mode.
I'm still thinking that that would be such an easier, simpler way to go, and not only just as effective, but perhaps even moreso. I suspect that adding in a bunch of nbsps coming in from the left side would bring the text up to the point that it's supposed to be far more accurately than trying to do so from the right side, and coming up with all sorts of convoluted ways to "guess" at where the right-hand margin will end up, and
still not having the text end up landing where you'd like it to be (ideally).
Rest assured that I
do most heartily appreciate your efforts on this, though! Don't get me wrong on that!