Results 1 to 2 of 2

Thread: How to add Serial No. to first column of specific Table only

  1. #1
    Registered sulbha's Avatar
    Join Date
    Dec 2014
    Location
    Bangalore
    Posts
    542

    How to add Serial No. to first column of specific Table only

    I have many tables on dashboard also I have fullCalender(fullCalender uses table on UI) on dashboard. All I need is to have serial number in first column of specific table only, it can be identified by either id or class,

    <style>
    table { counter-reset: Serial; }
    table { border-collapse: separate; }
    tr td:first-child:before { counter-increment: Serial; content: counter(Serial).; }
    </style>
    but it give serial numbers to all the table that exists on UI including fullCalender.

  2. #2
    Registered
    Join Date
    Nov 2016
    Posts
    649
    I have many tables on dashboard also I have fullCalender on dashboard. All I need is to have serial number in first column of specific table only, it can be identified by either id or class,


    <style>
    table { counter-reset: Serial; }
    table { border-collapse: separate; }
    tr td:first-child:before { counter-increment: Serial; content: counter(Serial).; }
    </style>
    but it give serial numbers to all the table that exists on UI including fullCalender.

Similar Threads

  1. Free PHPLD 2.0+ Template (3 column)
    By atemp in forum The Marketplace
    Replies: 0
    Last Post: 04-06-2010, 09:29 AM
  2. country specific domain name SEO question
    By loverman in forum Search Engine Optimization
    Replies: 1
    Last Post: 03-29-2008, 05:31 PM
  3. 2 column layout examples
    By deronsizemore in forum Advertising & Affiliate Programs
    Replies: 0
    Last Post: 10-30-2005, 11:11 AM
  4. Query result column separation...
    By Stevens in forum Website Programming & Databases
    Replies: 41
    Last Post: 10-29-2003, 09:11 AM
  5. product specific sites
    By Cloughie in forum General Promotion
    Replies: 6
    Last Post: 10-20-2003, 01:54 AM

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
  •