Results 1 to 3 of 3

Thread: XML -> XSL -> CSS question ** RESOLVED **

  1. #1

    Thread Starter
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    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.
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    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)

  3. #3

    Thread Starter
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    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!
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width