473,394 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Newspaper columns.

I have a list of items that I'd like to have wrap like columns in a
newspaper. So that as I add items, it would be in two columns and things
would wrap appropriately. So if there were 11 items, it would be 6 in 1
column, 5 in another. If there are 18 items, it would be 9 and 9.

Any suggestions/thoughts?

TIA - Jeff.
Jun 27 '08 #1
2 1117
for safari and firefox you can use a CSS style command.

<div style="-webkit-column-count:2;-moz-column-count:2;column-count:2;">
my text ....
</div>

out of luck with IE . you can do it with some javascript.

-- bruce (sqlwork.com)
"Mufasa" wrote:
I have a list of items that I'd like to have wrap like columns in a
newspaper. So that as I add items, it would be in two columns and things
would wrap appropriately. So if there were 11 items, it would be 6 in 1
column, 5 in another. If there are 18 items, it would be 9 and 9.

Any suggestions/thoughts?

TIA - Jeff.
Jun 27 '08 #2
Forget about using CSS. Its ridiculous. What you want is another page model
besides HTML and that would be WPF/Silverlight. If you look around you'll
find a newspaper columns are quite easy to do using flow properties which
are not supported by HTML/CSS.

"Mufasa" <jb@nowhere.comwrote in message
news:eq****************@TK2MSFTNGP04.phx.gbl...
>I have a list of items that I'd like to have wrap like columns in a
newspaper. So that as I add items, it would be in two columns and things
would wrap appropriately. So if there were 11 items, it would be 6 in 1
column, 5 in another. If there are 18 items, it would be 9 and 9.

Any suggestions/thoughts?

TIA - Jeff.
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Brad Kent | last post by:
Anyone out there have any tricks or scripts to take some text of unknown length and display it in two (or more) columns of equal height? The text may or may not contain "hard-coded" linebreaks or...
5
by: Brandons of mass destruction | last post by:
Ok, I work for a small newspaper thats looking to translate our content to the web. XML sounds like a good way to do this, but i'm a little confused. Is it possible to have <b> and <i> tags in...
14
by: Adam Smith | last post by:
Hello, I've been trying to figure out how the columnar newspaper page layout is achieved in web pages, say at http://home.netscape.com/ or http://home.netscape.com/ . With the solid vertical &...
11
by: :o) | last post by:
Does anyone know a (better) way to automatically adjust "newspape style" columns to window-resize? See old discussion o stylesheets-forum:...
4
by: VB Programmer | last post by:
I have an ASPX page that I'm creating. It'll have alot of text. I want the text to be 2 columns, like a newspaper. If the user resizes the browser the columns should adjust accordingly. What...
5
by: Dave | last post by:
Is there a way to divide a datagrid into "newspaper" style columns so that column 1 would have rows 1-10, column two would have rows 11-20 etc? Thanks, Dave.
11
by: bgreen | last post by:
I am hoping for some assistance with formatting a large text file which consists of a series of individual records. Each record includes specific labels/field names (a sample of 1 record (one of...
5
by: Adam Smith | last post by:
Hello, Several of the newer, more professional web sites are using a newspaper columnar layout, with text and links discretely contained in rectangular boxes (square or rounded), frequently with...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.