[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Switching Between Two Column Mode and One Column M

Subject: RE: Switching Between Two Column Mode and One Column Mode - Peek Ahead?
From: "kent" <kent@xxxxxxxxxxxxxxxxx>
Date: Mon, 23 May 2005 16:26:30 +0100
column mode
>this may be hard if the embedded html in the description
prevents breaking

normally the short items have no html, so in most cases that should be okay,
I was going to just bung each in a table within a table.

Eg:
<html>
<table>
<table width="736" border="0">
      <tr>
        <td width="726">Wide - Long Entry</td>
      </tr>
    </table>
    <br>
    <table width="723" border="0">
      <tr>
        <td>Short Left Entry</td>
        <td>Short Right Entry</td>
      </tr>
    </table>
<table>
</html>


I think the only time I would have a problem would be when I had one very
long string.


> Or do you mean you want to pull out all the long entries and set them as
one column and separately set the small entries in two columns.

I think that is pretty close to what I want. However I do not want to pull
them out, because they are sorted by date. Hence if I get short+long I go
ahead and format short in single column.

-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: Monday, May 23, 2005 3:08 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Switching Between Two Column Mode and One Column Mode -
Peek Ahead?


  When they are short I would like to format them (in html) into two columns
  and when they are long I leave them in one column.


do you mean you want to switch each item individually between one and
two columns, this may be hard if the embedded html in the description
prevents breaking

or do you mean that if no entry is long, you want to set the whole
thing in two columns (so you don't need to break individual entries)
just typeset a two column layout, and if any entry is long you want to
set the whole thing in one column.

Or do you mean you want to pull out all the long entries and set them as
one column and separately set the small entries in two columns.

In the two-column cases do you want to set it as a two column table
with entries in each cell so entries are aligned at their start
or do you want two free-form columns, eg two divs positioned via cvs so
that there is no alignment bewteen the columns.


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.