Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Indenting text with TEI XML Encoding & CSS

  • 27-03-2012 1:32am
    #1
    Closed Accounts Posts: 1,663 ✭✭✭


    I'm encoding some text in XML with TEI P5 Schema. Having trouble indenting text. Style is handled with CSS. Everything is working but the indentation.
          
    <lg n="1" type="stanza">
       <l>Lines of text</l>
       <l rend="indent">Line to be indented</l>
       <l>Lines of text</l>
    </lg>
    
    
    titleStmt title { display: block; font-weight: bold; font-size: 18px; }
    
    author { display: block; }
    
    body { display: block;
        width: 640px;
        border-style: ;
        border-width: 1px;
        padding: 10px; }
        
    respStmt, availability { display: block; margin-top: 1em; }
    
    sourceDesc { display: block; margin-top: 1em; }
    sourceDesc i { font-style:italic; }
    
    head { display: block; font-family: arial; margin-bottom: 1em; font-weight: bold; }
    
    l { display: block; }
    
    lg { display: block; margin-bottom: 1em; font-size: 18px; }
    
    addrline, publicationStmt publisher, publicationStmt date { display: block; }
    
    sourceDesc title { font-style: italic; }
    
    teiHeader { display: block;
        background: #FC9;
        width: 640px;
        border-style: solid;
        border-width: 1px;
        border-bottom-width: 1px;
        padding: 10px;
        font-size: 75%;
        font-family: verdana; }
    
    

    Any ideas? Thanks in advance.


Advertisement