Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   HTML (http://www.velocityreviews.com/forums/f31-html.html)
-   -   Convert table based webpage to css based (http://www.velocityreviews.com/forums/t160849-convert-table-based-webpage-to-css-based.html)

John Dalberg 02-03-2005 03:17 PM

Convert table based webpage to css based
 


Is there a tool that can convert a table based web page into a CSS based
one, while keeping the layout?


--
John Dalberg

Beauregard T. Shagnasty 02-03-2005 04:59 PM

Re: Convert table based webpage to css based
 
John Dalberg wrote:

> Is there a tool that can convert a table based web page into a CSS
> based one, while keeping the layout?


No. I don't know of any tools that can make a good, valid CSS layout,
much less convert something else.

Suggest you start afresh, with a good text editor. I like Crimson
Editor. http://crimsoneditor.com It's free, too.

--
-bts
-This space intentionally left blank.

Travis Newbury 02-03-2005 05:48 PM

Re: Convert table based webpage to css based
 
John Dalberg wrote:
> Is there a tool that can convert a table based web page into a CSS

based
> one, while keeping the layout?


Yes, it is called "you". Yes I am being facicious.

--
-=tn=-


Richard 02-03-2005 08:07 PM

Re: Convert table based webpage to css based
 
On Thu, 3 Feb 2005 07:17:06 -0800 John Dalberg wrote:



> Is there a tool that can convert a table based web page into a CSS
> based
> one, while keeping the layout?


No problem with doing it yourself.
Each table cell is replaced with a "Division".
<table><tr><td>text</tf></td></table>
Is now replaced with <div>text</div>
Using styling, you tell the division how it's to be displayed and where.

<div id="sample" class="box" style="width:100px; height:100px;
background:white; border:1px solid blue; position:absoulute; top:50px;
left:50px; float:left;">

This creates a block 100 pixels high and wide, 50 pixels from the top left
corner of the window. It has a background color of white, with a solid blue
border of 1px width.
The float:left tells the division to be placed left of the next division,
text, or graphic.
And there are a few hundred other tricks to be played with as well.

You'll find plenty of good reading material about CSS divisions on the web.





Oli Filth 02-03-2005 09:19 PM

Re: Convert table based webpage to css based
 
To the original poster, PLEASE don't listen to anything Richard says,
99.9% of the stuff he writes in this group is plain wrong or very bad
advice. Including what he's just written.


--
Oli

Richard 02-04-2005 01:21 AM

Re: Convert table based webpage to css based
 
On Thu, 03 Feb 2005 21:19:35 GMT Oli Filth wrote:

> To the original poster, PLEASE don't listen to anything Richard says,
> 99.9% of the stuff he writes in this group is plain wrong or very bad
> advice. Including what he's just written.


www.somestuff.batcave.net/box.html

I'll correct myself a little.
The reason for the float:left element was to show that it is part of the css
coding.
As the OP will learn, some things do not work as planned.



Oli Filth 02-04-2005 01:49 AM

Re: Convert table based webpage to css based
 
Richard wrote:
> On Thu, 03 Feb 2005 21:19:35 GMT Oli Filth wrote:
>
>
>>To the original poster, PLEASE don't listen to anything Richard says,
>>99.9% of the stuff he writes in this group is plain wrong or very bad
>>advice. Including what he's just written.

>
>
> www.somestuff.batcave.net/box.html
>
> I'll correct myself a little.
> The reason for the float:left element was to show that it is part of the css
> coding.
> As the OP will learn, some things do not work as planned.
>
>


I wasn't talking about just that. Recommending the use of absolute
positioning for each DIV (that used to be TDs) is an appalling mis-use
of HTML and CSS. Using tables is better than that.

--
Oli

Luigi Donatello Asero 02-04-2005 01:50 AM

Re: Convert table based webpage to css based
 

"Oli Filth" <oli_filth@eatspam.coldmail.com> skrev i meddelandet
news:nwAMd.600$RF4.131@newsfe4-gui.ntli.net...
> Richard wrote:
> > On Thu, 03 Feb 2005 21:19:35 GMT Oli Filth wrote:
> >
> >
> >>To the original poster, PLEASE don't listen to anything Richard says,
> >>99.9% of the stuff he writes in this group is plain wrong or very bad
> >>advice. Including what he's just written.

> >
> >
> > www.somestuff.batcave.net/box.html
> >
> > I'll correct myself a little.
> > The reason for the float:left element was to show that it is part of the

css
> > coding.
> > As the OP will learn, some things do not work as planned.
> >
> >

>
> I wasn't talking about just that. Recommending the use of absolute
> positioning for each DIV (that used to be TDs) is an appalling mis-use
> of HTML and CSS. Using tables is better than that.




For the layout??!!



--
Luigi ( un italiano che vive in Svezia)
https://www.scaiecat-spa-gigi.com/de...di-catania.php
http://www.scaiecat-spa-gigi.com/de/...di-catania.php




Oli Filth 02-04-2005 02:20 AM

Re: Convert table based webpage to css based
 
Luigi Donatello Asero wrote:
> "Oli Filth" <oli_filth@eatspam.coldmail.com> skrev i meddelandet
> news:nwAMd.600$RF4.131@newsfe4-gui.ntli.net...
>>I wasn't talking about just that. Recommending the use of absolute
>>positioning for each DIV (that used to be TDs) is an appalling mis-use
>>of HTML and CSS. Using tables is better than that.

>
>
>
>
> For the layout??!!
>
>
>


IMHO, yes using absolute positioning to lay everything out would be a
pain in the arse. You'd need to give each element a unique ID, then
within the CSS you'd need a separate section for each of these IDs, and
you'd have to screw about guessing pixels/percentages until it worked.
Then as soon as you changed the content of an element it'd all go wrong
again. Not particularly flexible or easy to maintain (unless I'm missing
something here. Anyone care to fill me in? ;) )

Plus it completely destroys the paradigm of fluid layouts that
automatically reflow as the browser window changes size.

At least with tables, this is all done automatically (to an extent).

--
Oli

Luigi Donatello Asero 02-04-2005 02:31 AM

Re: Convert table based webpage to css based
 

"Oli Filth" <oli_filth@eatspam.coldmail.com> skrev i meddelandet
news:NZAMd.630$RF4.132@newsfe4-gui.ntli.net...
> Luigi Donatello Asero wrote:
> > "Oli Filth" <oli_filth@eatspam.coldmail.com> skrev i meddelandet
> > news:nwAMd.600$RF4.131@newsfe4-gui.ntli.net...
> >>I wasn't talking about just that. Recommending the use of absolute
> >>positioning for each DIV (that used to be TDs) is an appalling mis-use
> >>of HTML and CSS. Using tables is better than that.

> >
> >
> >
> >
> > For the layout??!!
> >
> >
> >

>
> IMHO, yes using absolute positioning to lay everything out would be a
> pain in the arse. You'd need to give each element a unique ID, then
> within the CSS you'd need a separate section for each of these IDs, and
> you'd have to screw about guessing pixels/percentages until it worked.
> Then as soon as you changed the content of an element it'd all go wrong
> again. Not particularly flexible or easy to maintain (unless I'm missing
> something here. Anyone care to fill me in? ;) )
>
> Plus it completely destroys the paradigm of fluid layouts that
> automatically reflow as the browser window changes size.
>
> At least with tables, this is all done automatically (to an extent).
>
> --
> Oli



May-be you are right about absolute positioning. But why should you want to
use it rather than
relative positioning?
I changed from frames to tables and from tables to CSS as much as it
concerns the layout ( in most cases)


--
Luigi ( un italiano che vive in Svezia)
https://www.scaiecat-spa-gigi.com/de...di-catania.php
http://www.scaiecat-spa-gigi.com/de/...di-catania.php






All times are GMT. The time now is 01:20 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


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