473,715 Members | 6,096 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 <divcontrolle d layout using css?
Jun 2 '08 #1
6 2046
On Mon, 19 May 2008 09:07:52 +0200, Phper <hi**********@g mail.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 <divcontrolle d layout using css?
1) Ask in comp.infosystem s.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**********@gm ail.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.comwro te:
On Mon, 19 May 2008 09:07:52 +0200, Phper <hi.steven...@g mail.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 <divcontrolle d layout using css?

1) Ask in comp.infosystem s.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**********@gm ail.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 misunderstandin g 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*******@attgl obal.net
=============== ===
Jun 2 '08 #5
Jerry Stuckle schreef:
Erwin Moller wrote:
>Great, my troll warning setup worked.
This is hi**********@gm ail.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 misunderstandin g 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...@g mail.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 <divcontrolle d layout using css?
It can be done like this:
<div style="float:le ft;width:30%"a </div <div
style="float:le ft;width:30%"b </div <div style="float:le ft;width:
30%"c </div>

<div style="clear:bo th"></div>

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

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

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

Similar topics

8
23995
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 <div> Hide/Show work but not the divRow version? What I'm trying to do here is simultaneously hide 1 or more rows (possibly with nested divs as well). This would allow for an elegant an well performing base for an html base treetable (but I guess...
8
14467
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 page, there is a huge gap (like 3/8 inch or 25 px) between them. This is driving me bananas. What the hey am I missing? dh ------------------------------------------------ Dan Hansen ------------------------------------------------
61
24488
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 'stretch'</td> <td valign="top" width="300">some data that won't 'stetch'</td> </tr> </table>
7
16999
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 happens. In the following example, I want to position two table rows relative to the table itself. Can anyone tell me what I am doing wrong? Please provide sample code.
8
5155
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 pulling a name and placing it under the thumbnail (the text is
13
27504
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 matter what tags you use I would have thought, or am I missing something? tia, Davo
5
5262
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 see what I am after as these browsers work fine. However, in FF the results are slightly different - take a look and you'll see that the <p>, within <div class="mainContent"> has shot way over to the right. I've been working on this for 2days now...
2
2580
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 &nbsp;&nbsp; </td>
0
8718
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9343
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9104
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7973
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6646
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4477
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4738
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3175
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2119
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.