Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 2nd, 2005, 10:31 PM
Registered User
 
Join Date: Jan 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default tables

I've got a few paragraphs of text, some paragraphs have images. I need to split them into 2 columns on the page, something like the format of newspapers and magazines. Is there a simpler way to do it using html instead of manually by trial and error?

 
Old January 3rd, 2005, 12:24 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 642
Thanks: 0
Thanked 43 Times in 42 Posts
Default

you can use TABLES to display the data in format you need.

Om Prakash
 
Old January 3rd, 2005, 01:08 AM
Registered User
 
Join Date: Jan 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yea.. but is there a more automated way, like i put in a chunk of text, and it automaticlly splits the text into 2 columns?

 
Old January 7th, 2005, 03:54 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

> yea.. but is there a more automated way, like i put in a chunk of text, and it automaticlly splits the text into 2 columns?

There is a way of doing what you are asking, but it is still very new. In fact it is only implemented in one browser that I know of at the moment, Mozilla 1.8 alpha 5. So it doesn't even yet appear in a stable browser, much less a mainstream browser.

If you are interested anyway, you can find it described here:
http://www.w3.org/TR/2001/WD-css3-multicol-20010118/

I haven't even experimented with this myself, so I don't know how the Mozilla implementation fairs. If you want to experiement with this feature and see what it's about, I believe that those properties must be included with a "-moz-" prefix.

Beyond that there isn't really anything that is capable of it that I am aware of, when it is possible CSS will be the place to find it.

Regards,
Rich

--
[http://www.smilingsouls.net]
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design
 
Old March 25th, 2005, 05:58 AM
Registered User
 
Join Date: Mar 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Modify to your needs then save as a templet for quick use, that is what I do

<TABLE WIDTH="70%" CELLSPACING="0" CELLPADDING="5" BORDER="0">
                <TR>
                <TD ALIGN="LEFT">

<IMG SRC="" WIDTH="100" HEIGHT="146" BORDER="0">
                </TD>

                <TD ALIGN="LEFT" VALIGN="TOP" WIDTH="100%">

                <B>
Title
                                </B>


                <P>

I'm a little teapot short and stout, here is my handle here is ... wait ... you should put some words in here. people like to read words

                </TD>
                </TR>

                </TABLE>

What gives you a Woody?





Similar Threads
Thread Thread Starter Forum Replies Last Post
creating tables within tables in access??? carswelljr Access 3 August 23rd, 2006 01:21 PM
Fixed tables and/or fixed bkgrnd in tables slg111875 Dreamweaver (all versions) 1 June 22nd, 2006 02:31 PM
Regarding Tables spraveens HTML Code Clinic 2 October 20th, 2003 04:46 AM
regarding tables spraveens Dreamweaver (all versions) 1 September 24th, 2003 07:21 AM
Tables andy24 Classic ASP Databases 3 July 23rd, 2003 11:09 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.