Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > table2div-css

Reply
Thread Tools

table2div-css

 
 
Xaradas
Guest
Posts: n/a
 
      03-19-2006
Hi,

could some one help me to get
the same result of this html code
using div and css instead of table?

<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<table width="760" border="0" cellspacing="1" cellpadding="1">
<tr>
<td colspan="2">TOP</td>
</tr>
<tr>
<td>LEFT</td>
<td>MAIN</td>
</tr>
<tr>
<td colspan="2">BOTTOM</td>
</tr>
</table>
</body>
</html>


Thank you and sorry for my little english
 
Reply With Quote
 
 
 
 
Barbara de Zoete
Guest
Posts: n/a
 
      03-19-2006
On Sun, 19 Mar 2006 09:56:17 +0100, Xaradas <> wrote:

> could some one help me to get
> the same result of this html code
> using div and css instead of table?


<URL:http://www.google.com/search?q=%22tableless+design%22>
<URL:http://www.google.com/search?q=CSS+%22two+column+design%22+footer>

--
______PretLetters:
| weblog | http://www.pretletters.net/weblog/weblog.html |
| webontwerp | http://www.pretletters.net/html/webontwerp.html |
|zweefvliegen | http://www.pretletters.net/html/vliegen.html |
 
Reply With Quote
 
 
 
 
Xaradas
Guest
Posts: n/a
 
      03-19-2006
On Sun, 19 Mar 2006 11:27:40 +0100, "Barbara de Zoete"
<> wrote:

>On Sun, 19 Mar 2006 09:56:17 +0100, Xaradas <> wrote:
>
>> could some one help me to get
>> the same result of this html code
>> using div and css instead of table?

>
><URL:http://www.google.com/search?q=%22tableless+design%22>
><URL:http://www.google.com/search?q=CSS+%22two+column+design%22+footer>


Yes, but it's not exactly the same using table ...
the right navbar doesn't grow exactly as the maincontainer
and viceversa.

Maybe it's impossible to obtain what I want with div and css?

Best regards.
 
Reply With Quote
 
Barbara de Zoete
Guest
Posts: n/a
 
      03-19-2006
On Sun, 19 Mar 2006 12:15:21 +0100, Xaradas <> wrote:

> On Sun, 19 Mar 2006 11:27:40 +0100, "Barbara de Zoete"
> <> wrote:
>
>> On Sun, 19 Mar 2006 09:56:17 +0100, Xaradas <> wrote:
>>
>>> could some one help me to get
>>> the same result of this html code
>>> using div and css instead of table?

>>
>> <URL:http://www.google.com/search?q=%22tableless+design%22>
>> <URL:http://www.google.com/search?q=CSS+%22two+column+design%22+footer>

>
> Yes, but it's not exactly the same using table ...
> the right navbar doesn't grow exactly as the maincontainer
> and viceversa.
>
> Maybe it's impossible to obtain what I want with div and css?


You think you're the first with this issue? Google this group and
others[1] to find tons of information.


[1]comp.infosystems.www.authoring.*, alt.html.* and alt.www.webmaster

--
______PretLetters:
| weblog | http://www.pretletters.net/weblog/weblog.html |
| webontwerp | http://www.pretletters.net/html/webontwerp.html |
|zweefvliegen | http://www.pretletters.net/html/vliegen.html |
 
Reply With Quote
 
Roy Schestowitz
Guest
Posts: n/a
 
      03-19-2006
__/ [ Barbara de Zoete ] on Sunday 19 March 2006 11:55 \__

> On Sun, 19 Mar 2006 12:15:21 +0100, Xaradas <> wrote:
>
>> On Sun, 19 Mar 2006 11:27:40 +0100, "Barbara de Zoete"
>> <> wrote:
>>
>>> On Sun, 19 Mar 2006 09:56:17 +0100, Xaradas <> wrote:
>>>
>>>> could some one help me to get
>>>> the same result of this html code
>>>> using div and css instead of table?
>>>
>>> <URL:http://www.google.com/search?q=%22tableless+design%22>
>>> <URL:http://www.google.com/search?q=CSS+%22two+column+design%22+footer>

>>
>> Yes, but it's not exactly the same using table ...
>> the right navbar doesn't grow exactly as the maincontainer
>> and viceversa.
>>
>> Maybe it's impossible to obtain what I want with div and css?

>
> You think you're the first with this issue? Google this group and
> others[1] to find tons of information.
>
> [1]comp.infosystems.www.authoring.*, alt.html.* and alt.www.webmaster


Xaradas, if you seek to engage in less reading or learning, opt for more
practical examples to 'inherit' from (I prefer that strategy myself). Have a
look at:

http://www.csszengarden.com/ (as flawed as it may be)

I had a glimpse at your example page/code earlier this morning. This can
easily be achieve using CSS. You only need to embed constituent parts in the
page and specify the positioning of these parts (elements) using a
peripheral /style/, which defines layout. The key concept and motivation is
that of isolating content from layour.

Best wishes,

Roy

--
Roy S. Schestowitz | United States: #1 in spam export
http://Schestowitz.com | SuSE Linux ¦ PGP-Key: 0x74572E8E
12:55pm up 11 days 5:32, 11 users, load average: 2.67, 2.34, 1.94
http://iuron.com - next generation of search paradigms
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57