View Full Version : Letting and Kerning (Changing Linespacing and Space in btw letters in a word, sentenc
06-09-2005, 12:25 AM
How do I do change the space btw letters, words, and sentences on CSS? How do I change the space in btw the lines in CSS?
06-09-2005, 07:46 AM
Sentence spacing is not available as far as I know, per se. You can add to pad the spacing or use a span with padding:
or to make coding easier you could hijack the <b> tag:
and enclose each sentence in <b></b> tags.
06-09-2005, 10:06 AM
Sentence spacing is not available as far as I knowNo, it isn't. It's not available in word processors, either.
}But never do that...
}...and never that.
If you really must space out sentences (and I can't, for the life of me, think why), then just use non-breaking spaces. Stuffing elements, particularly inappropriate ones, into a document is just horrible.
06-09-2005, 05:10 PM
If you really must space out sentences (and I can't, for the life of me, think why), then just use non-breaking spaces. Stuffing elements, particularly inappropriate ones, into a document is just horrible.Like fingernails across a chalkboard? It does work and lends more precision than ' '. I've never used it for sentence spacing though and probably wouldn't but, it is ideal for rendering graphic content using fixed width font text in tables, ex:
Broke alot of rules with that one.
06-09-2005, 06:37 PM
Like fingernails across a chalkboard?Something like that. :)
It does work and lends more precision than ' '.I'm not disputing whether it works, but how suitable it is. The resulting markup would be bloated, non-semantic, awkward to maintain, and just...icky. :D
Broke alot of rules with that one.Good grief! You're telling me.
<BASE HREF=http://home.comcast.net/~ansiguy/images/new/>Unquoted attribute value. This happens in numerous places, namely most href, style, and a couple of intrinsic event attributes.
</HEAD>The head element is closed twice, and the first occasion is too early.
font-family: Courier New, monospace;Font families that contain spaces should be quoted (but they don't always need to be).
alignment:left;There is no alignment property.
id=ADuplicate id attribute values. This is everywhere.
<u id=FA>The u element must have a closing tag. None of them do.
I think those are all of the classes of error. I haven't run the page through a validator, so I might have missed some. I'd hate to think how many errors it comes to in total: hundreds, at least.
06-09-2005, 09:06 PM
Ah but, the page looks nice in many browsers. I hadn't noticed about the two closing head tags and the alignment:left, those are unintentional breaches of protocol. At the time I didn't know about quoting spaced font families but, if I had and saw it worked without it, I probably wouldn't have bothered. Unquoted attributes? When every byte counts, you've got to be kidding me. The rest is just getting over on the browser, I know it isn't correct. I got a good laugh out of your reply, hope you did too. :D
06-09-2005, 09:27 PM
Unquoted attributes? When every byte counts, you've got to be kidding me.Not all of them are that important, but whenever slashes (especially) appear, you should quote (and they are for the most part).
I got a good laugh out of your reply, hope you did too. :DOf course! I was sure you were expecting a response, and I didn't want to disappoint. :p
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.