User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 374,614 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,367 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 618 | Replies: 3
Reply
Join Date: Oct 2005
Posts: 2
Reputation: Paulxh is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Paulxh Paulxh is offline Offline
Newbie Poster

Can a table in HTML be floated as an element?

  #1  
May 6th, 2008
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)
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2008
Posts: 169
Reputation: Traicey is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 16
Traicey's Avatar
Traicey Traicey is offline Offline
Junior Poster

Re: Can a table in HTML be floated as an element?

  #2  
May 8th, 2008
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>
Some people get so rich they lose all respect for humanity. That's how rich I want to be.
Reply With Quote  
Join Date: Sep 2005
Posts: 611
Reputation: digital-ether will become famous soon enough digital-ether will become famous soon enough 
Rep Power: 5
Solved Threads: 38
Moderator
digital-ether's Avatar
digital-ether digital-ether is offline Offline
Practically a Master Poster

Re: Can a table in HTML be floated as an element?

  #3  
May 10th, 2008
Originally Posted by Paulxh View Post
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...
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Reply With Quote  
Join Date: Oct 2005
Posts: 2
Reputation: Paulxh is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Paulxh Paulxh is offline Offline
Newbie Poster

Re: Can a table in HTML be floated as an element?

  #4  
May 13th, 2008
I'd suggest if you want tables side by side, place a div around them and then float the divs...[/quote]

Thanks for your suggestion, (paulxh)
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 8:48 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC