Click to See Complete Forum and Search --> : text editor that converts html to CSS


jrbp
11-25-2003, 02:33 PM
Is there one?

kingius
11-25-2003, 02:37 PM
I will add it to the feature list for my HTML Editor, Weberalla!

jrbp
11-25-2003, 02:44 PM
is there?

PeOfEo
11-25-2003, 05:16 PM
No, Learn css. CSS can do a lot more then html style wise but I mean what are you trying to convert, they act differently and do different things. Just learn how to do the stuff from somewhere like www.w3schools.org . There is no substitute for learning ccss so dont go trying to turn tables into maginally positioned divs etc.

jrbp
11-25-2003, 06:49 PM
I already know CSS but i was wondering if there was something that could turn an out dated web page that uses tables and convert it to css. It would save the trouble of doing it out by hand.

PeOfEo
11-25-2003, 09:19 PM
You would have to do it by hand because tables and css act differently. Also if there was a tool, would it make code that would work on many platforms? Would it look exactly the same? Most likely it would not because you do not position tables from the margin or from other elements like you do w/ css.

Jupac
11-25-2003, 10:07 PM
umm i think html kit dose

starrwriter
11-26-2003, 12:36 AM
Originally posted by lakers01
umm i think html kit does

HTML-Kit only validates CSS, it doesn't convert HTML into CSS. The first developer who creates a program that can do this reliably will get rich.

PeOfEo
11-26-2003, 04:40 PM
The key word is reliably :P Lets see the program position the elements identically to the tabular format while creating its own hacks for ie5 and 5.5 and then being fluid so it will work at other resolutions :D Hey if a program could do that it would have saved me a bunch of time back in the day. Now I just need to redo all of the pages of my clans site with includes so I can ditch the iframe :rolleyes:

Jupac
11-26-2003, 08:44 PM
Originally posted by starrwriter
HTML-Kit only validates CSS, it doesn't convert HTML into CSS. The first developer who creates a program that can do this reliably will get rich.

wtf i tried to day it dose k go under action-->tools-->convert to style sheet

Sux0rZh@jc0rz
11-26-2003, 08:50 PM
that just takes all the CSS out of the page and puts it on a new page and saves that as the style sheet. smart one=P My layout is gonna be better than yours too! so ha! (dont post the addy's here lakers. dont want these peeps making fun of us for our stupid layouts just yet.)

Jupac
11-26-2003, 08:54 PM
lol u jack that layout

ps well that in html-kit makes all things like your <font
to css and other stuff

PeOfEo
11-27-2003, 12:22 AM
running a replace of
<font size="11px" face="some font">fonted text</font>
to
<span style="font:11px some font;">fonted text</span>
is not exactly changing a whole layout to css.

Sux0rZh@jc0rz
11-27-2003, 12:28 AM
Originally posted by lakers01
lol u jack that layout
!!! I did not. I used one of bluerobots as a BASE but only cause it has the hacks that i need... and i left a note in the sourcode like bluerobot asks.

kingius
11-27-2003, 01:41 AM
Ive just put a function together that converts font tags to styles and puts them into the head of the document for the next version of Weberalla, but I was wondering what else would be good for html to css conversion? Layout is possible but is going to be difficult to implement.

PeOfEo
11-27-2003, 10:39 AM
you can change colors and background images into css, as well as heights and widths. Those some of the are the things the validator will choke on.

starrwriter
11-27-2003, 11:18 PM
Originally posted by kingius
Ive just put a function together that converts font tags to styles and puts them into the head of the document for the next version of Weberalla, but I was wondering what else would be good for html to css conversion? Layout is possible but is going to be difficult to implement.

Link colors would be something else to add, but the Holy Grail would be tables to CSS layout. If you can put that in Weberalla, you'll get a million customers.

PeOfEo
11-28-2003, 01:59 AM
didnt you read the ealier posts. You can't, there would be no way to make a functional layout from tables to css like this that would perform on all plaforms and resolutions yet loo the same as it did when it was table based. If ie handled css like it was supposed to it might be but ie doesnt so this thing would have to come up with new hacks and deside which ones to use and when and preview it for you etc. There is no smart technology that can do this nor a way to program it. Layouts will have to be convirted by hand or you can provide templates.

kingius
11-28-2003, 03:42 AM
I can see the problem. I know a couple of designers who are experimenting with CSS layouts and finding it difficult to get things looking the same in both IE and Mozilla. HTML->CSS Layout may indeed be impossible as things stand right now. However, the other areas of conversion arent, and would still be useful.