|
-
Jan 30th, 2003, 12:32 PM
#1
XML -> XSL -> CSS question ** RESOLVED **
I am building a site that uses XML to hold the data, XSL to transform it into (X)HTML and CSS for the final diaply rendering. It works pretty well, so far. But.... what I want to do is indent the _first line of each paragraph_. When the site was plain HTML, I could just use a bunch of to add spaces. No problem, except that in XML the '&' is an invalid character. So I thought, "hmmm... is there a style tag that I can use to do that instead?" I'm using CSS anyways, so it would be easy to insert. Problem is, I can't seem to find such a style tag.... I tried text-indent - it didn't work, I even tried indent, no good.
Does any one know of a style tag that can do this, or, if not a solution?
Last edited by techgnome; Jan 30th, 2003 at 01:15 PM.
-
Jan 30th, 2003, 12:43 PM
#2
Good Ol' Platypus
Using something like "text-indent:5em;" should work. I don't know why it doesn't for you, but it does for me. What browser?
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Jan 30th, 2003, 01:14 PM
#3
Originally posted by Sastraxi
Using something like "text-indent:5em;" should work. I don't know why it doesn't for you, but it does for me. What browser?
DOH! I was using "text-indexnt:5mm;" ... changed it to em... works... sort of.... but the issue I am having now is a borwser problem (Mozilla adjusts things a bit differently than does IE).....
Thanks for your help!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|