Jump to content

Textarea spellcheck attribute XHTML Strict

Whether you're a seasoned veteran or a struggling beginner, Web Radiance is the web development and web design forum for you. You'll find answers to all your HTML, CSS, SEO, and Programming needs. Pull up a chair and stay awhile.

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Textarea spellcheck attribute XHTML Strict Rate Topic: -----

#1 User is offline   undoIT 

  • W.R. Private
  • Group: Members
  • Posts: 39
  • Joined: 07-July 07
  • Gender:Male

Posted 18 December 2009 - 06:15 PM

I would like to turn off the built-in spellcheck functionality in certain browsers such as Firefox and Opera on a textarea that contains HTML embed code for visitors to copy and paste. This can be done with following attribute:

spellcheck="false"

However, this causes a validation error for XHTML Strict. Also, it doesn't work properly in Opera, because the spell checking returns after a user selects the embed code in the text area. Is there another method for turning off spell check functionality?
Themebot - Free HTML Templates

Coupons and deals for the "wiser miser"
0

#2 User is offline   temhawk 

  • W.R. Private First-Class
  • Group: Members
  • Posts: 322
  • Joined: 30-August 07
  • Gender:Male
  • Interests:travel, cg art, macs, music, skateboarding, programming, discovery channel, TextMate 2

Posted 20 December 2009 - 10:11 AM

Hi, what about not using a textarea for this? Are you making this for tutorials or sharing code for debugging (like pastie.org)?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users