W3C home > Mailing lists > Public > www-html@w3.org > September 2000

Tables and Constraining Width of a Paragraph of Text

From: Hythian <hythian@media-whore.org>
Date: Tue, 19 Sep 2000 17:17:49 -0400 (EDT)
Message-ID: <000701c02280$66a2afb0$6e01a8c0@AARON>
To: <www-html@w3.org>
I have oftimes heard and read how tags upon a page should be structural as
opposed to stylistic, formatting of text and the like should occur within
the stylesheet and not by using font tags. But I have ran into a problem
with constraining the width of an area of text so I can display it along
side an image without using a table.

Tables as I understand them should be used for displaying a table of data. A
chart or similar listing lending itself to columns, rows and headings.

What I want to do is just constrain the width of a paragraph of text to be
only 375 pixels wide. Both it and the image alongside it are absolutely
positioned upon the page. However, I can find no appropraite tag within
XHTML to do so. My attempts to use the stylesheet "width" property upon a
paragraph have yet to see a success. Any suggestions on how to solve this
problem? I had been led to understand that the div element was going to gain
a width attribute such that it would solve problems like this but looking at
the DTD's for XHTML it does not appear to have one.

Thanks for you time.

-] Aaron [-

*-------------------------------------------------------*

In pharmacology all drugs have a generic name. Tylenol is
Acetaminophen; Advil is Ibuprofen, and so on.

The FDA has been looking for a generic name for Viagra and
announced today that they have settled on Mycoxafloppin...
Received on Tuesday, 19 September 2000 23:39:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:44 GMT