Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Element <strike> undefined.  (Read 3757 times)

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
Element <strike> undefined.
« on: May 24, 2007, 11:40:08 am »

See patch/fix
http://www.solucija.com/forum/viewtopic.php?id=4739

Mhm... is this a bug ? As the strike element will not validate and it's a part of the default snews... fact remains. Not validated :(

See: http://validator.w3.org/check?uri=http%3A%2F%2Fp-ahlqvist.com%2Fsnews_16%2Funo%2Fdesign%2F&charset=%28detect+automatically%29&doctype=Inline

It's a default, non-tampered with, 1.6 install.
« Last Edit: August 27, 2007, 02:57:05 am by Phil Martin (Philmoz) »
Logged
"It's only dead fish that goes with the flow... "
Updated

philmoz

  • High flyer
  • ULTIMATE member
  • ******
  • Karma: 161
  • Posts: 1988
    • fiddle 'n fly
Element undefined.
« Reply #1 on: May 24, 2007, 01:09:42 pm »

It would seem that it is to be done using css now...
http://www.w3.org/TR/2000/WD-xhtml11-20000105/changes.html
Logged
Of all the things I have lost, it is my mind that I miss the most.

codetwist

  • Hero Member
  • *****
  • Karma: 50
  • Posts: 940
Element <strike> undefined.
« Reply #2 on: May 24, 2007, 02:17:49 pm »

There is <del> tag as well.
« Last Edit: August 27, 2007, 02:57:31 am by Phil Martin (Philmoz) »
Logged

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
Element <strike> undefined.
« Reply #3 on: May 24, 2007, 02:25:31 pm »

Thanks guy's.... Changed my snews.php from strike to del as the first do not validate, but the latter do...

in //ARTICLE FORM:
Quote
echo html_input('button', 'strike', '', 'Strike', '', 'button', 'onclick="tag(\'strike\')"', '', '', '', '', '', '', '', '');
to:

Quote
echo html_input('button', 'del', '', 'Del', '', 'button', 'onclick="tag(\'del\')"', '', '', '', '', '', '', '', '');
« Last Edit: August 27, 2007, 02:57:50 am by Phil Martin (Philmoz) »
Logged
"It's only dead fish that goes with the flow... "
Updated

codetwist

  • Hero Member
  • *****
  • Karma: 50
  • Posts: 940
Element <strike> undefined.
« Reply #4 on: May 24, 2007, 09:46:45 pm »

Probably this one should go to fixes, Patric ;)
« Last Edit: August 27, 2007, 02:58:17 am by Phil Martin (Philmoz) »
Logged

piXelatedEmpire

  • MIA
  • ULTIMATE member
  • ******
  • Karma: 37
  • Posts: 1401
  • currently MIA
Element <strike> undefined.
« Reply #5 on: May 25, 2007, 02:14:02 am »

Well spotted p-man ;)
« Last Edit: August 27, 2007, 02:58:36 am by Phil Martin (Philmoz) »
Logged
my apologies to the sNews crew, but I will be MIA for the forseeable future

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
Element <strike> undefined.
« Reply #6 on: May 25, 2007, 07:44:19 am »

And added to fixes it is...
« Last Edit: August 27, 2007, 03:02:49 am by Phil Martin (Philmoz) »
Logged
"It's only dead fish that goes with the flow... "
Updated