473,387 Members | 1,440 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

convert a table to a <div> controlled layout

How to convert the common html table code below
<table align="center">
<tr>
<td 1.1 &nbsp;&nbsp; </td>
<td 1.2 &nbsp; &nbsp; </td>
<td 1.3 &nbsp;&nbsp;
</td>
</tr>
<tr>
<td 2.1 &nbsp;&nbsp; </td>
<td 2.2 &nbsp; &nbsp; </td>
<td 2.3 &nbsp; &nbsp; </td>
</tr>
<tr>
<td 3.1 &nbsp;&nbsp; </td>
<td 3.2 &nbsp; &nbsp; </td>
<td 3.3 &nbsp; &nbsp; </td>
</tr>

</table>

to a <divcontrolled layout using css?
Jun 2 '08 #1
6 2034
On Mon, 19 May 2008 09:07:52 +0200, Phper <hi**********@gmail.comwrote:
How to convert the common html table code below
<table align="center">
<tr>
<td 1.1 &nbsp;&nbsp; </td>
<td 1.2 &nbsp; &nbsp; </td>
<td 1.3 &nbsp;&nbsp;
</td>
</tr>
<tr>
<td 2.1 &nbsp;&nbsp; </td>
<td 2.2 &nbsp; &nbsp; </td>
<td 2.3 &nbsp; &nbsp; </td>
</tr>
<tr>
<td 3.1 &nbsp;&nbsp; </td>
<td 3.2 &nbsp; &nbsp; </td>
<td 3.3 &nbsp; &nbsp; </td>
</tr>

</table>

to a <divcontrolled layout using css?
1) Ask in comp.infosystems.www.authoring.html
2) It seems like perfectly valid data for a table. Keep in mind the credo
is "Don't use tables for layout." and NOT "Don't use tables."

Nothing to do with PHP, unless you want to do it with PHP itself, in which
case, look into DOM, and possibly provide a desired output.
--
Rik Wasmus
....spamrun finished
Jun 2 '08 #2
Great, my troll warning setup worked.
This is hi**********@gmail.com, the imposter.

Don't waste time with trying to help him.

Regards,
Erwin Moller
Jun 2 '08 #3
On 19 May, 08:50, "Rik Wasmus" <luiheidsgoe...@hotmail.comwrote:
On Mon, 19 May 2008 09:07:52 +0200, Phper <hi.steven...@gmail.comwrote:
How to convert the common html table code below
<table align="center">
<tr>
<td 1.1 </td>
<td 1.2 </td>
<td 1.3
</td>
</tr>
<tr>
<td 2.1 </td>
<td 2.2 </td>
<td 2.3 </td>
</tr>
<tr>
<td 3.1 </td>
<td 3.2 </td>
<td 3.3 </td>
</tr>
</table>
to a <divcontrolled layout using css?

1) Ask in comp.infosystems.www.authoring.html
2) It seems like perfectly valid data for a table. Keep in mind the credo
is "Don't use tables for layout." and NOT "Don't use tables."

Nothing to do with PHP, unless you want to do it with PHP itself, in which
case, look into DOM, and possibly provide a desired output.
--
Rik Wasmus
...spamrun finished
This is the guy who pretended to be Erwin.

Until he offers some sort of explanation and apology for his actions,
I for one am leaving him well alone.
Jun 2 '08 #4
Erwin Moller wrote:
Great, my troll warning setup worked.
This is hi**********@gmail.com, the imposter.

Don't waste time with trying to help him.

Regards,
Erwin Moller
Last time I called him on using your name (over in
comp.databases.mysql), he had the gall to write me, requesting an audio
chat to "clarify the misunderstanding between us".

I told him he'd been caught at his actions. He never responded again.

Glad to hear your troll alert worked!

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Jun 2 '08 #5
Jerry Stuckle schreef:
Erwin Moller wrote:
>Great, my troll warning setup worked.
This is hi**********@gmail.com, the imposter.

Don't waste time with trying to help him.

Regards,
Erwin Moller

Last time I called him on using your name (over in
comp.databases.mysql), he had the gall to write me, requesting an audio
chat to "clarify the misunderstanding between us".
WHAT? An audiochat? After imposting you too?
Some nerve...
>
I told him he'd been caught at his actions. He never responded again.
I get the impression this imposter is badly in need of some attention.
But I must admit I am a little curious what he would have told you as an
excuse for his actions. ;-)
>
Glad to hear your troll alert worked!
Yes, the troll turns up purple in my Thunderbird now.
I don't like that color, so that suits him just fine. :P

Regards,
Erwin Moller
Jun 2 '08 #6
On May 19, 12:07*pm, Phper <hi.steven...@gmail.comwrote:
How to convert the common html table code below
<table align="center">
<tr>
<td* *1.1 &nbsp;&nbsp; * </td>
<td* *1.2 &nbsp; &nbsp; *</td>
<td* *1.3 &nbsp;&nbsp;
* *</td>
</tr>
<tr>
<td* 2.1 *&nbsp;&nbsp; *</td>
<td* 2.2 *&nbsp; &nbsp; *</td>
<td* 2.3 *&nbsp; &nbsp; </td>
</tr>
<tr>
<td* 3.1 *&nbsp;&nbsp; *</td>
<td* 3.2 *&nbsp; &nbsp; *</td>
<td* 3.3 *&nbsp; &nbsp; </td>
</tr>

</table>

to a <divcontrolled layout using css?
It can be done like this:
<div style="float:left;width:30%"a </div <div
style="float:left;width:30%"b </div <div style="float:left;width:
30%"c </div>

<div style="clear:both"></div>

<div style="float:left;width:30%"a </div <div
style="float:left;width:30%"b </div <div style="float:left;width:
30%"c </div>

<div style="clear:both"></div>
Jun 2 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: F. Da Costa | last post by:
Following is a snippet of html in which I hide a whole table and try to hide a single row. Here is my question (plz don't chew my head off if its css related instead): Why does the divTable...
8
by: Daniel Hansen | last post by:
I know this must seem totally basic and stupid, but I cannot find any reference that describes how to control the spacing between <p>...</p> and <div>...</div> blocks. When I implement these on a...
61
by: Toby Austin | last post by:
I'm trying to replace <table>s with <div>s as much as possible. However, I can't figure out how to do the following… <table> <tr> <td valign="top" width="100%">some data that will...
7
by: Herbman | last post by:
Hi, I'm trying to position a <tr> ("row") element with CSS. The table itself is positioned with <div> tags. The problem is when I use <div> tags to position the rows within the table nothing...
8
by: slim | last post by:
hi again all, i am still working on the website as mentioned in earlier threads and have hit another snag... http://awash.demon.co.uk/index.php http://awash.demon.co.uk/vd.css the php is...
13
by: Davo | last post by:
Hi Folks, There seems to be something about not using tables for layout, but use divs instead. I'm not sure if I've got this right. If the output looks like what you want, then it shouldn't...
5
nathj
by: nathj | last post by:
Hi All, I'm working on a new site that has a two column layout underneath a title bar. If you check out: http://www.christianleadership.org.uk/scratch/mainpage.php using IE or Opera you will...
2
by: Phper | last post by:
How to convert the common html table code below <table align="center"> <tr> <td 1.1 &nbsp;&nbsp; </td> <td 1.2 &nbsp; &nbsp; </td> <td 1.3 &nbsp;&nbsp; </td> </tr> <tr> <td 2.1 ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.