OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

legalxml-econtracts message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [legalxml-econtracts] CSS - "hanging indent" attempts


ok - fixed that.... mozilla has a slight bug though - indents the first line,
otherwise it looks fine. I also figured out how to eliminate the FirstX
elements. See the source.

>-----Original Message-----
>From: Jason Harrop [mailto:jharrop@speedlegal.com]
>Sent: Wednesday, April 23, 2003 4:43 PM
>To: legalxml-econtracts@lists.oasis-open.org
>Subject: Re: [legalxml-econtracts] CSS - "hanging indent" attempts
>
>
>Thanks for sharing this John.
>
>You have used position: absolute.  The problem with this is what happens
>when you go to layout the next block.
>
>Quoting from 9.3.1 of the spec, "Absolutely positioned boxes are taken
>out of the normal flow. This means they have no impact on the layout of
>later siblings."
>
>For example, please see the attached. I've added a second clause.  I've
>also broken out the (A) and (B), using ListItem, attempting to mark them
>up as i think you would.
>
>Can you make this display correctly in Mozilla and Internet Explorer?
>
>cheers,
>
>Jason
>
>John McClure wrote:
>
>>here you go Jason --- and successfully tested with Mozilla 5.0 -- the
>solution i
>>shared before works only for IE, but the solution attached works for both
>>browsers. Same drill -- the css goes with the xml version. For the
>html version,
>>the css is embedded.
>>
>>
>>
>
>
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href='hangingindent2.css'?>
<LEGALXML>
    <P>.</P>
    <P>.</P>
    <P>Happiness.</P>
    <Clause class='FirstBlock'>
        <BlockCaption><en>(a)</en></BlockCaption>
        <BlockBody><en>
        The Tenant's request for remittance shall be
        accompanied by: (A) a certificate of Tenant (in
        form reasonably satisfactory to Landlord) stating
        that an amount at least equal to the Reimbursement
        Amount has been paid to contractors,
        subcontractors, materialmen, engineers, architects
        or other persons (whose names and addresses and a
        description of the work involved shall be stated)
        who have furnished labor, materials, supplies,
        permits or services for the work in question
        (collectively, "Contractors") and that to Tenant's
        best knowledge (after due inquiry) there is no
        outstanding indebtedness due for labor, materials,
        supplies, permits or services in any manner
        connected with the work in question which if
        unpaid might be the basis for any type of lien on
        the Leased Premises or any part thereof, and (B) a
        certificate of the architect or engineer who
        prepared the related Plans and Specifications (in
        form reasonably</en>
        </BlockBody>
    </Clause>
    <Clause>
        <BlockCaption><en>(b)</en></BlockCaption>
        <BlockBody><en>
        Tenant&apos;s request for remittance shall be
        accompanied by:</en>
                                                <List>
                                                    <ListItem>
                                                        <Dingbat>
                                                            <en>(A)</en></Dingbat>
                                                        <Paragraph>
                                                                <en>a certificate of Tenant (in
        form reasonably satisfactory to Landlord) stating
        that an amount at least equal to the Reimbursement
        Amount has been paid to contractors,
        subcontractors, materialmen, engineers, architects
        or other persons (whose names and addresses and a
        description of the work involved shall be stated)
        who have furnished labor, materials, supplies,
        permits or services for the work in question
        (collectively, "Contractors") and that to Tenant's
        best knowledge (after due inquiry) there is no
        outstanding indebtedness due for labor, materials,
        supplies, permits or services in any manner
        connected with the work in question which if
        unpaid might be the basis for any type of lien on
        the Leased Premises or any part thereof, and</en>
                                                        </Paragraph></ListItem>
                                                    <ListItem>
                                                        <Dingbat>
                                                            <en>(B)</en></Dingbat>
                                                        <Paragraph>
                                                                <en>a
        certificate of the architect or engineer who
        prepared the related Plans and Specifications (in
        form reasonably
        </en></Paragraph></ListItem></List></BlockBody>
    </Clause>
</LEGALXML>

LEGALXML     {display:block}
Clause       {display:block;margin-top:1em;width:80%}
*.FirstBlock, *[class~=FirstBlock]  {margin-top:0em;}
BlockBody    {position:relative;width:95%;left:3%;vertical-align:top;}
BlockCaption {position:relative;width:3%;vertical-align:top}

ListItem       {display:block; margin-left: 50pt; margin-top:1em}
Dingbat        {position:relative;width:3%;vertical-align:top}
Paragraph      {position:relative;width:85%;left:3%;vertical-align:top;}


P       {display:block;}

IE6.pdf

Mozilla.pdf



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]