From: Shlomi F. <sh...@te...> - 2001-08-08 09:43:21
|
What could be useful is a tool to take an HTML page that contains CSS styles, and prepare an HTML page without CSS. However, the resultant page should look the same as the original one. Perhaps the best way to do it, is to write a generator that converts a CSS stylesheet to the appropriate XSLT transformation, and then to pass the HTML through it. Regards, Shlomi Fish ---------------------------------------------------------------------- Shlomi Fish sh...@t2... Home Page: http://t2.technion.ac.il/~shlomif/ Home E-mail: sh...@te... A more experienced programmer does not make less bugs. He just realizes what went wrong more quickly. |
From: Bjoern H. <der...@gm...> - 2001-08-09 00:26:54
|
* Shlomi Fish wrote: >What could be useful is a tool to take an HTML page that contains CSS >styles, and prepare an HTML page without CSS. However, the resultant page >should look the same as the original one. That's nearly impossible and not useful, since most presentationla features of HTML are deprecated and removed from HTML 4 Strict, XHTML 1.0 Strict, XHTML Basic, XHTML 1.1, etc.pp. The other way round, converting presentational features of HTML to CSS would be useful. -- Björn Höhrmann { mailto:bj...@ho... } http://www.bjoernsworld.de am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de 25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/ |
From: Shlomi F. <sh...@te...> - 2001-08-09 09:27:43
|
On Thu, 9 Aug 2001, Bjoern Hoehrmann wrote: > * Shlomi Fish wrote: > >What could be useful is a tool to take an HTML page that contains CSS > >styles, and prepare an HTML page without CSS. However, the resultant pag= e > >should look the same as the original one. > > That's nearly impossible and not useful, since most presentationla > features of HTML are deprecated and removed from HTML 4 Strict, XHTML > 1.0 Strict, XHTML Basic, XHTML 1.1, etc.pp. > Do you mean that those standards rely that such things be specified in the Cascading Style Sheets of the HTML page? My problem is that Netscape 4.7 has some CSS bugs, so I hoped I could write them with CSS and then EnCSS them. Well, guess it would not work. Regards, =09Shlomi Fish > The other way round, converting presentational features of HTML to CSS > would be useful. > -- > Bj=F6rn H=F6hrmann { mailto:bj...@ho... } http://www.bjoernsworld= =2Ede > am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de > 25899 Dageb=FCll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote= / > > _______________________________________________ > per...@li... > http://lists.sourceforge.net/lists/listinfo/perl-css-devel > ---------------------------------------------------------------------- Shlomi Fish sh...@t2... Home Page: http://t2.technion.ac.il/~shlomif/ Home E-mail: sh...@te... A more experienced programmer does not make less bugs. He just realizes what went wrong more quickly. |
From: Bjoern H. <der...@gm...> - 2001-08-09 09:40:29
|
* Shlomi Fish wrote: >Do you mean that those standards rely that such things be specified in the >Cascading Style Sheets of the HTML page? Yes. >My problem is that Netscape 4.7 has some CSS bugs, so I hoped I could >write them with CSS and then EnCSS them. Well, guess it would not work. Not really, no. Better upgrade to NN 6.1 :-) -- Björn Höhrmann { mailto:bj...@ho... } http://www.bjoernsworld.de am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de 25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/ |
From: Shlomi F. <sh...@te...> - 2001-08-09 13:39:07
|
On Thu, 9 Aug 2001, Bjoern Hoehrmann wrote: > * Shlomi Fish wrote: > >Do you mean that those standards rely that such things be specified in t= he > >Cascading Style Sheets of the HTML page? > > Yes. > > >My problem is that Netscape 4.7 has some CSS bugs, so I hoped I could > >write them with CSS and then EnCSS them. Well, guess it would not work. > > Not really, no. Better upgrade to NN 6.1 :-) Hey, I have Mozilla 0.9.2 at home. However, go tell the Technion people to install Navigator 6.1 on all of the Technion's computers. At one point Netscape did not work at all on the EE NT Farm and I was told that I should use IE 5 instead... But then they fixed it... Regards, =09Shlomi Fish > -- > Bj=F6rn H=F6hrmann { mailto:bj...@ho... } http://www.bjoernsworld= =2Ede > am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de > 25899 Dageb=FCll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote= / > ---------------------------------------------------------------------- Shlomi Fish sh...@t2... Home Page: http://t2.technion.ac.il/~shlomif/ Home E-mail: sh...@te... A more experienced programmer does not make less bugs. He just realizes what went wrong more quickly. |
From: Robin B. <ro...@kn...> - 2001-08-17 14:02:10
|
On Thursday 09 August 2001 11:27, Shlomi Fish wrote: > My problem is that Netscape 4.7 has some CSS bugs, so I hoped I could > write them with CSS and then EnCSS them. Well, guess it would not work. Such an effort was started a year or two ago, and produced a few results.= =20 While not totally useless it is true that it is not the way forward as in= =20 many ways it is better to wait for nn4 to die the atrociously horrible de= ath=20 that it deserves ten times over. Also, it is a lot harder than it seems. = The=20 trivial parts are trivial (eg adding font tags) but the interesting parts= =20 (positioning for instance) are very very hard to get right. I agree with Bj=F6rn that something that worked the other way round would= be=20 very cool (I thought Tidy could do this partially). On the CSS cleanup front there are also cool things to do with SVG. A lot= of=20 the SVG editors out there will produce stupid code where you have hundred= s of=20 path elements in a row all of them with the exact same style attribute. W= hile=20 gzip takes care of the size problem, it'd still be easier to hand edit if= and=20 to read (not to mention that it would produce a much lighter client-side = DOM)=20 if those would be factored out into a CSS class. --=20 _______________________________________________________________________=0D Robin Berjon <ro...@kn...> -- CTO=0D k n o w s c a p e : // venture knowledge agency www.knowscape.com=0D -----------------------------------------------------------------------=0D "What I like about deadlines is the lovely whooshing sound they make =0D as they rush past." =0D --Douglas Adams=0D =0D |