OK, here's one for the GURUS.

1. I am building custom tags (server side tags in ColdFusion) that 
generate HTML to send back to the browser.
2. I prototype HTML before creating code the tags output.
3. FF supports CSS better than IE.
4. How can I do this without tables? (Well... obviously, outside of FF.)

<!-- This would be the outer hBox generated tags. (horizontal 
arrangement of sub-elements) -->
<div style="display:table">
    <!-- internal element -->
    <div style="display:table-caption">One</div>
    <!-- internal element -->
    <div style="display:table-row">Two</div>
    <!-- nested vBox (vertical arrangement of sub-elements) -->
    <div style="background-color:#CC00FF;display:table-row;">
        <div style="display:table-cell">001</div>
        <div style="display:table-cell">002</div>
       <!-- another nested element to make sure it works in any order. -->
        <div style="display:table-cell;background-color:#CCFF00;">
            <div style="display:inline-block">abc</div>
            <div>def</div>
        </div>
    </div>
    <div style="display:table-row">footer</div>
</div>

Thanks for someone who can see the answer.

John

P.S.
This is for a upcoming Open Source project called COOP. This should 
revolutionize how people write CF!

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to