Talk:CSV to HTML translation: Difference between revisions

(screenshots for the extra credit)
(→‎Brians...: Sorry.)
 
(7 intermediate revisions by 6 users not shown)
Line 19:
:::::: And this one 7,0K (7087 octets.)
:::::: But well do not hesitate to remove any of these screenshots. [[User:Blue Prawn|Blue Prawn]] 02:48, 14 November 2010 (UTC)
:: Displaying someone else's HTML without excessive stripping or vulnerability is just what [http://code.google.com/p/google-caja/ Caja] is for. Web-service and Java interfaces are available. —[[User:Kevin Reid|Kevin Reid]] 23:16, 14 November 2010 (UTC)
 
 
==Cheating in Optional Part==
Would it be ok to use the :first pseudo-class? (Like <lang CSS>tr:first-child td {font-weight: 900;}</lang>)
It would be easier to implement in most languages, but I think it demonstrates some abuses of CSS I don't like (CSS is formating html is markup…).
If so, the description of that optional solution should be changed to something like “… optionally make it possible that the first row is marked as a table header (and format them nicely for further extra credits)”
If not, many languages might have a overcomplicated solution for the extra part
 
==HTML==
Some of the solutions distinguish the header from the body by inserting bgcolor="acolour" in the THEAD element. According to http://www.w3schools.com/tags/tag_thead.asp bgcolour is not an attribute of THEAD. By experiment I find that these solutions work on IE and Firefox under Windows, but not Opera or Firefox under Linux.--[[User:Nigel Galloway|Nigel Galloway]] ([[User talk:Nigel Galloway|talk]]) 11:17, 3 June 2013 (UTC)
 
== Brians... ==
 
should be Brian's in the given source text :-( Walter Pachl
 
:Sorry. Too late to change now though. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 17:58, 1 April 2020 (UTC)
Anonymous user