Can a table written in HTML be floated as an element, as in image <img src="..">

I am trying to have several small blocks of text, seperated within borders
that the text withing the box or group can float depending on screen size.
I don't know how to do this:

example:
------------- ----------- ----------- ---------------
| text | | text | | text | | text |
| | | | | | | |
------------ ----------- ----------- ---------------

Thanks for the help. (Paulxh)

Not sure if thats what ur looking for and if u mean having text between text boders u can check out the following

<table cellSpacing="3" cellPadding="5" width="365" align="center" border="5"   height="278">
	<tr><th width=54>Ur Text here</th><th align="left" width=211>Ur Text here</th>
	       <th>	Ur text here</th>
	</tr>
</Table>

Can a table written in HTML be floated as an element, as in image <img src="..">

I am trying to have several small blocks of text, seperated within borders
that the text withing the box or group can float depending on screen size.
I don't know how to do this:

example:
------------- ----------- ----------- ---------------
| text | | text | | text | | text |
| | | | | | | |
------------ ----------- ----------- ---------------

Thanks for the help. (Paulxh)

I don't see why you would want to float a table since a table already has this layout (columns) by design.

I'd suggest if you want tables side by side, place a div around them and then float the divs...

I'd suggest if you want tables side by side, place a div around them and then float the divs...

Thanks for your suggestion, (paulxh)

Edited 3 Years Ago by happygeek: fixed formatting

This article has been dead for over six months. Start a new discussion instead.