SitePoint Sponsor

User Tag List

Results 1 to 1 of 1
  1. #1
    Forums Designer
    Join Date
    Jun 2004
    Posts
    422
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Mozilla and <ol start="1"> copy problems

    Hello,

    I'm using <ol start="1"> to show code. Here is example: http://www.phpbbstyles.com/viewtopic.php?p=6620#6620

    The problem is that when I try to copy that code to clipboard (with mouse, not javascript) Mozilla also copies line numbers (or # if line numbers start from 1). Other browsers copy code correctly without line numbers.

    Does anyone know how to make line numbers not selectable for Mozilla so it would copy code correctly?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •