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)

Recommended Answers

All 3 Replies

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)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.